infobip-mobile-messaging-react-native-plugin 6.3.2 → 6.3.5
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/android/build.gradle +8 -1
- package/android/{proguard-rules.pro → infobip-mm-proguard-rules.pro} +0 -0
- package/android/src/main/java/org/infobip/reactlibrary/mobilemessaging/ReactNativeMobileMessagingModule.java +6 -2
- package/infobip-mobile-messaging-react-native-plugin-6.3.4.tgz +0 -0
- package/infobip-mobile-messaging-react-native-plugin.podspec +3 -3
- package/ios/Cartfile +1 -1
- package/ios/Cartfile.resolved +1 -1
- package/package.json +1 -1
- package/infobip-mobile-messaging-react-native-plugin-6.3.1.tgz +0 -0
package/android/build.gradle
CHANGED
|
@@ -51,6 +51,13 @@ android {
|
|
|
51
51
|
versionName "1.0"
|
|
52
52
|
}
|
|
53
53
|
|
|
54
|
+
buildTypes {
|
|
55
|
+
release {
|
|
56
|
+
// Applying ProGuard rules for application classes that will be serialized/deserialized over Gson
|
|
57
|
+
consumerProguardFiles 'infobip-mm-proguard-rules.pro'
|
|
58
|
+
}
|
|
59
|
+
}
|
|
60
|
+
|
|
54
61
|
lintOptions {
|
|
55
62
|
abortOnError false
|
|
56
63
|
}
|
|
@@ -113,4 +120,4 @@ dependencies {
|
|
|
113
120
|
if (withCryptorMigration.toBoolean()) {
|
|
114
121
|
implementation "com.infobip:infobip-mobile-messaging-android-cryptor-migration:$mmVersion@aar"
|
|
115
122
|
}
|
|
116
|
-
}
|
|
123
|
+
}
|
|
File without changes
|
|
@@ -408,8 +408,12 @@ public class ReactNativeMobileMessagingModule extends ReactContextBaseJavaModule
|
|
|
408
408
|
|
|
409
409
|
private void unregisterBroadcastReceiver() {
|
|
410
410
|
if (!broadcastReceiverRegistered) return;
|
|
411
|
-
|
|
412
|
-
|
|
411
|
+
try {
|
|
412
|
+
reactContext.unregisterReceiver(commonLibraryBroadcastReceiver);
|
|
413
|
+
LocalBroadcastManager.getInstance(reactContext).unregisterReceiver(messageStorageReceiver);
|
|
414
|
+
} catch(IllegalArgumentException e) {
|
|
415
|
+
Log.d(Utils.TAG, "Can't unregister broadcast receivers");
|
|
416
|
+
}
|
|
413
417
|
broadcastReceiverRegistered = false;
|
|
414
418
|
}
|
|
415
419
|
|
|
Binary file
|
|
@@ -19,8 +19,8 @@ Pod::Spec.new do |s|
|
|
|
19
19
|
s.requires_arc = true
|
|
20
20
|
|
|
21
21
|
s.dependency "React-Core"
|
|
22
|
-
s.dependency "MobileMessaging/Core", "10.3.
|
|
23
|
-
s.dependency "MobileMessaging/Geofencing", "10.3.
|
|
24
|
-
s.dependency "MobileMessaging/InAppChat", "10.3.
|
|
22
|
+
s.dependency "MobileMessaging/Core", "10.3.4"
|
|
23
|
+
s.dependency "MobileMessaging/Geofencing", "10.3.4"
|
|
24
|
+
s.dependency "MobileMessaging/InAppChat", "10.3.4"
|
|
25
25
|
|
|
26
26
|
end
|
package/ios/Cartfile
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
github "infobip/mobile-messaging-sdk-ios" "10.3.
|
|
1
|
+
github "infobip/mobile-messaging-sdk-ios" "10.3.4"
|
package/ios/Cartfile.resolved
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
github "infobip/mobile-messaging-sdk-ios" "10.3.
|
|
1
|
+
github "infobip/mobile-messaging-sdk-ios" "10.3.4"
|
package/package.json
CHANGED
|
Binary file
|