react-native-netmera 1.9.0-beta03 → 1.9.0-beta04

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -285,6 +285,16 @@ AppRegistry.registerComponent(appName, () => App);
285
285
 
286
286
  3. If you have custom Firebase Messaging integration, please see usage below.
287
287
 
288
+ 1- Add the following line to your `AndroidManifest.xml` file inside the `application` tag to remove Netmera's default FCM service
289
+
290
+ ```
291
+ <service
292
+ android:name="com.netmera.nmfcm.NMFirebaseService"
293
+ tools:node="remove" />
294
+ ```
295
+
296
+ 2- Update `FirebaseMessaging` methods like below
297
+
288
298
  ```
289
299
  messaging()
290
300
  .getToken(firebase.app().options.messagingSenderId)
@@ -308,6 +318,16 @@ messaging().setBackgroundMessageHandler(async (remoteMessage) => {
308
318
 
309
319
  4. If you have custom Huawei Messaging integration, please see usage below.
310
320
 
321
+ 1- Add the following line to your `AndroidManifest.xml` file inside the `application` tag to remove Netmera's default HMS service
322
+
323
+ ```
324
+ <service
325
+ android:name="com.netmera.nmhms.NMHuaweiService"
326
+ tools:node="remove" />
327
+ ```
328
+
329
+ 2- Update `HuaweiPushKit` methods like below
330
+
311
331
  ```
312
332
  HmsPushInstanceId.getToken("")
313
333
  .then((result) => {
@@ -19,7 +19,7 @@ android {
19
19
  }
20
20
 
21
21
  dependencies {
22
- implementation 'com.netmera:nmcore:4.3.0'
22
+ implementation 'com.netmera:nmcore:4.3.2'
23
23
  implementation 'com.netmera:nmfcm:4.0.2'
24
24
  implementation 'com.netmera:nmhms:4.0.1'
25
25
  implementation 'com.facebook.react:react-native:+'
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-native-netmera",
3
- "version": "1.9.0-beta03",
3
+ "version": "1.9.0-beta04",
4
4
  "description": "Netmera React Native SDK",
5
5
  "main": "index.ts",
6
6
  "author": "netmera",