@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
17 lines (16 loc) • 612 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
const config_plugins_1 = require("@expo/config-plugins");
const android_1 = require("./android");
/**
* A config plugin for configuring `@react-native-firebase/app`
*/
const withRnFirebaseApp = config => {
return (0, config_plugins_1.withPlugins)(config, [
// iOS
// Android
android_1.withExpoPluginFirebaseNotification,
]);
};
const pak = require('@react-native-firebase/messaging/package.json');
exports.default = (0, config_plugins_1.createRunOncePlugin)(withRnFirebaseApp, pak.name, pak.version);