cordova-plugin-firebasex-inappmessaging
v1.0.3
Published
Firebase In-App Messaging module for cordova-plugin-firebasex
Downloads
513
Maintainers
Readme
cordova-plugin-firebasex-inappmessaging 
Firebase In-App Messaging module for the modular FirebaseX Cordova plugin suite.
This plugin wraps the Firebase In-App Messaging SDK and provides in-app messaging functionality in your Cordova app.
Table of Contents
Installation
Install the plugin by adding it to your project's config.xml:
cordova plugin add cordova-plugin-firebasex-inappmessagingor by running:
cordova plugin add cordova-plugin-firebasex-inappmessagingThis module depends on cordova-plugin-firebasex-core which will be installed automatically as a dependency.
Plugin variables
| Variable | Default | Description |
|---|---|---|
| ANDROID_FIREBASE_INAPPMESSAGING_VERSION | 22.0.2 | Android Firebase In-App Messaging SDK version. |
| IOS_FIREBASE_SDK_BETA_VERSION | 12.9.0-beta | iOS Firebase SDK version (for inappmessaging pod). |
Note: The iOS Firebase SDK for Inapp Messaging currently remains in a permanent beta state, so trying to use the latest stable version of the Firebase SDK will result in build errors due to missing Inapp Messaging pod dependencies. The IOS_FIREBASE_SDK_BETA_VERSION variable allows you to specify a beta version of the Firebase SDK that includes the necessary Inapp Messaging pod dependencies.
Usage
This is an SDK-only plugin — it includes the Firebase In-App Messaging SDK but has no JavaScript API. In-App Messages are configured and triggered through the Firebase Console.
Once installed, Firebase In-App Messaging will automatically display messages configured in the Firebase Console when the app meets the trigger conditions. No code changes are required in your app.
See the iOS and Android guides for how to send a test message.
Reporting issues
Before reporting an issue with this plugin, please do the following:
- Check the existing issues to see if the issue has already been reported.
- Check the issue template and provide all requested information.
- The more information and context you provide, the easier it is for the maintainers to understand the issue and provide a resolution.
