@react-native-firebase/messaging
Version:
React Native Firebase - React Native Firebase provides native integration of Firebase Cloud Messaging (FCM) for both Android & iOS. FCM is a cost free service, allowing for server-device and device-device communication. The React Native Firebase Messaging
103 lines (102 loc) • 3.07 kB
JSON
{
"name": "@react-native-firebase/messaging",
"version": "26.1.0",
"author": "Invertase <oss@invertase.io> (http://invertase.io)",
"description": "React Native Firebase - React Native Firebase provides native integration of Firebase Cloud Messaging (FCM) for both Android & iOS. FCM is a cost free service, allowing for server-device and device-device communication. The React Native Firebase Messaging module provides a simple JavaScript API to interact with FCM.",
"main": "./dist/module/index.js",
"types": "./dist/typescript/lib/index.d.ts",
"codegenConfig": {
"name": "RNFBMessagingTurboModules",
"type": "modules",
"jsSrcsDir": "specs",
"includesGeneratedCode": true,
"android": {
"javaPackageName": "io.invertase.firebase.messaging"
},
"ios": {
"modulesProvider": {
"NativeRNFBTurboMessaging": "RNFBMessagingModule"
}
}
},
"scripts": {
"build": "genversion --esm --semi lib/version.ts",
"build:clean": "rimraf android/build && rimraf ios/build",
"build:plugin": "rimraf plugin/build && tsc --build plugin",
"lint:plugin": "eslint plugin/src/*",
"compile": "bob build",
"prepare": "yarn run build && yarn compile && yarn run build:plugin",
"codegen": "yarn android:codegen && yarn ios:codegen",
"android:codegen": "npx @react-native-community/cli codegen --platform android --outputPath=./android/src/main/java/io/invertase/firebase/messaging/generated",
"ios:codegen": "npx @react-native-community/cli codegen --platform ios --outputPath=./ios/generated"
},
"repository": {
"type": "git",
"url": "https://github.com/invertase/react-native-firebase/tree/main/packages/messaging"
},
"license": "Apache-2.0",
"keywords": [
"react",
"react-native",
"firebase",
"messaging"
],
"peerDependencies": {
"@react-native-firebase/app": "26.1.0",
"expo": ">=47.0.0"
},
"devDependencies": {
"@react-native-firebase/app": "26.1.0",
"expo": "^55.0.18",
"react-native-builder-bob": "^0.41.0",
"typescript": "^6.0.3"
},
"peerDependenciesMeta": {
"expo": {
"optional": true
}
},
"publishConfig": {
"access": "public",
"provenance": true
},
"exports": {
".": {
"source": "./lib/index.ts",
"types": "./dist/typescript/lib/index.d.ts",
"default": "./dist/module/index.js"
},
"./app.plugin": {
"types": "./plugin/build/app.plugin.d.ts",
"default": "./app.plugin.js"
},
"./app.plugin.js": {
"types": "./plugin/build/app.plugin.d.ts",
"default": "./app.plugin.js"
},
"./package.json": "./package.json"
},
"react-native-builder-bob": {
"source": "lib",
"output": "dist",
"targets": [
[
"module",
{
"esm": true
}
],
[
"typescript",
{
"tsc": "../../node_modules/.bin/tsc"
}
]
]
},
"eslintIgnore": [
"node_modules/",
"dist/"
],
"gitHead": "59d053eca14ab8aa80e5ac76887014925c67e52b"
}