From 5a3502a83b6bdb606ca2bb1c577f63c45737e423 Mon Sep 17 00:00:00 2001 From: mokruhlicova Date: Mon, 12 Jul 2021 09:33:38 +0200 Subject: [PATCH] feat/Bump Android to 2.9.5 and iOS to 2.11.1 --- android/build.gradle | 2 +- .../src/main/java/com/exponea/ExponeaModule.kt | 4 ++-- example/ios/Podfile.lock | 16 ++++++++-------- ios/Podfile | 2 +- ios/Podfile.lock | 16 ++++++++-------- react-native-exponea-sdk.podspec | 2 +- 6 files changed, 21 insertions(+), 21 deletions(-) diff --git a/android/build.gradle b/android/build.gradle index 2a01cf3..f75e7a9 100644 --- a/android/build.gradle +++ b/android/build.gradle @@ -94,7 +94,7 @@ dependencies { implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlinVersion" //noinspection GradleDynamicVersion implementation 'com.facebook.react:react-native:+' // From node_modules - implementation 'com.exponea.sdk:sdk:2.9.4' + implementation 'com.exponea.sdk:sdk:2.9.5' implementation 'com.google.code.gson:gson:2.8.6' testImplementation 'junit:junit:4.12' diff --git a/android/src/main/java/com/exponea/ExponeaModule.kt b/android/src/main/java/com/exponea/ExponeaModule.kt index ce6052f..879a1ad 100644 --- a/android/src/main/java/com/exponea/ExponeaModule.kt +++ b/android/src/main/java/com/exponea/ExponeaModule.kt @@ -56,7 +56,7 @@ class ExponeaModule(val reactContext: ReactApplicationContext) : ReactContextBas private var pushOpenedListenerSet = false private var pushReceivedListenerSet = false // We have to hold received push data until pushReceivedListener set in JS - private var pendingReceivedPushData: Map? = null + private var pendingReceivedPushData: Map? = null private fun requireInitialized(promise: Promise, block: ((Promise) -> Unit)) { if (!Exponea.isInitialized) { @@ -342,7 +342,7 @@ class ExponeaModule(val reactContext: ReactApplicationContext) : ReactContextBas } } - fun pushNotificationReceived(data: Map) { + fun pushNotificationReceived(data: Map) { if (pushReceivedListenerSet) { reactContext.getJSModule(RCTDeviceEventEmitter::class.java).emit("pushReceived", Gson().toJson(data)) } else { diff --git a/example/ios/Podfile.lock b/example/ios/Podfile.lock index 460fa57..cd77476 100644 --- a/example/ios/Podfile.lock +++ b/example/ios/Podfile.lock @@ -1,10 +1,10 @@ PODS: - - AnyCodable-FlightSchool (0.4.0) + - AnyCodable-FlightSchool (0.4.1) - boost-for-react-native (1.63.0) - CocoaAsyncSocket (7.6.5) - DoubleConversion (1.1.6) - - ExponeaSDK (2.11.0) - - ExponeaSDK-Notifications (2.11.0) + - ExponeaSDK (2.11.1) + - ExponeaSDK-Notifications (2.11.1) - FBLazyVector (0.64.0) - FBReactNativeSpec (0.64.0): - RCT-Folly (= 2020.01.13.00) @@ -268,7 +268,7 @@ PODS: - React-jsinspector (0.64.0) - react-native-exponea-sdk (0.5.1): - AnyCodable-FlightSchool (~> 0.4.0) - - ExponeaSDK (~> 2.11.0) + - ExponeaSDK (~> 2.11.1) - React - react-native-safe-area-context (3.0.2): - React @@ -495,12 +495,12 @@ EXTERNAL SOURCES: :path: "../node_modules/react-native/ReactCommon/yoga" SPEC CHECKSUMS: - AnyCodable-FlightSchool: 9bf42632b5256c78710e2f4fb18ce78e89180883 + AnyCodable-FlightSchool: d27283db6e9feaddb0fa73a25835e5cdf41b3213 boost-for-react-native: 39c7adb57c4e60d6c5479dd8623128eb5b3f0f2c CocoaAsyncSocket: 065fd1e645c7abab64f7a6a2007a48038fdc6a99 DoubleConversion: cf9b38bf0b2d048436d9a82ad2abe1404f11e7de - ExponeaSDK: ddb7bc9e47b3ca983c376ca18d8a245238eca390 - ExponeaSDK-Notifications: 4dc1f3171eb8a8a065e16c528a984590c59d5a87 + ExponeaSDK: 0d94e874bd71c63e730443292a4263a47d6d0b83 + ExponeaSDK-Notifications: 6a616340c122ce1fa5dddc76495d375c434948af FBLazyVector: 49cbe4b43e445b06bf29199b6ad2057649e4c8f5 FBReactNativeSpec: 21228e8106b0fe0a9998f5ca08da7083bd7654b9 Flipper: 1bd2db48dcc31e4b167b9a33ec1df01c2ded4893 @@ -524,7 +524,7 @@ SPEC CHECKSUMS: React-jsi: 74341196d9547cbcbcfa4b3bbbf03af56431d5a1 React-jsiexecutor: 06a9c77b56902ae7ffcdd7a4905f664adc5d237b React-jsinspector: 0ae35a37b20d5e031eb020a69cc5afdbd6406301 - react-native-exponea-sdk: 5479d432e0a249e5a97bed6c7cfbf21fa5f538de + react-native-exponea-sdk: 2163f3c6824c1992a5be7e9b2992626345d2092b react-native-safe-area-context: b11a34881faac509cad5578726c98161ad4d275c React-perflogger: 9c547d8f06b9bf00cb447f2b75e8d7f19b7e02af React-RCTActionSheet: 3080b6e12e0e1a5b313c8c0050699b5c794a1b11 diff --git a/ios/Podfile b/ios/Podfile index a9365a6..ad23db5 100644 --- a/ios/Podfile +++ b/ios/Podfile @@ -11,7 +11,7 @@ target 'Exponea' do use_react_native!(:path => config["reactNativePath"]) - pod "ExponeaSDK", "~> 2.11.0" + pod "ExponeaSDK", "~> 2.11.1" pod 'AnyCodable-FlightSchool', '~> 0.4.0' end diff --git a/ios/Podfile.lock b/ios/Podfile.lock index c5799e7..c92956a 100644 --- a/ios/Podfile.lock +++ b/ios/Podfile.lock @@ -1,8 +1,8 @@ PODS: - - AnyCodable-FlightSchool (0.4.0) + - AnyCodable-FlightSchool (0.4.1) - boost-for-react-native (1.63.0) - DoubleConversion (1.1.6) - - ExponeaSDK (2.11.0) + - ExponeaSDK (2.11.1) - FBLazyVector (0.64.1) - FBReactNativeSpec (0.64.1): - RCT-Folly (= 2020.01.13.00) @@ -13,7 +13,7 @@ PODS: - ReactCommon/turbomodule/core (= 0.64.1) - glog (0.3.5) - Nimble (8.0.7) - - Quick (3.0.0) + - Quick (4.0.0) - RCT-Folly (2020.01.13.00): - boost-for-react-native - DoubleConversion @@ -276,7 +276,7 @@ PODS: DEPENDENCIES: - AnyCodable-FlightSchool (~> 0.4.0) - DoubleConversion (from `../node_modules/react-native/third-party-podspecs/DoubleConversion.podspec`) - - ExponeaSDK (~> 2.11.0) + - ExponeaSDK (~> 2.11.1) - FBLazyVector (from `../node_modules/react-native/Libraries/FBLazyVector`) - FBReactNativeSpec (from `../node_modules/react-native/React/FBReactNativeSpec`) - glog (from `../node_modules/react-native/third-party-podspecs/glog.podspec`) @@ -376,15 +376,15 @@ EXTERNAL SOURCES: :path: "../node_modules/react-native/ReactCommon/yoga" SPEC CHECKSUMS: - AnyCodable-FlightSchool: 9bf42632b5256c78710e2f4fb18ce78e89180883 + AnyCodable-FlightSchool: d27283db6e9feaddb0fa73a25835e5cdf41b3213 boost-for-react-native: 39c7adb57c4e60d6c5479dd8623128eb5b3f0f2c DoubleConversion: cf9b38bf0b2d048436d9a82ad2abe1404f11e7de - ExponeaSDK: ddb7bc9e47b3ca983c376ca18d8a245238eca390 + ExponeaSDK: 0d94e874bd71c63e730443292a4263a47d6d0b83 FBLazyVector: 7b423f9e248eae65987838148c36eec1dbfe0b53 FBReactNativeSpec: 69048dd11c8b84fec01f13cdb8e27d451c46a80e glog: 73c2498ac6884b13ede40eda8228cb1eee9d9d62 Nimble: a73af6ecd4c9106f434f3d55fc54570be3739e0b - Quick: 6d9559f40647bc4d510103842ef2fdd882d753e2 + Quick: 6473349e43b9271a8d43839d9ba1c442ed1b7ac4 RCT-Folly: ec7a233ccc97cc556cf7237f0db1ff65b986f27c RCTRequired: ec2ebc96b7bfba3ca5c32740f5a0c6a014a274d2 RCTTypeSafety: 22567f31e67c3e088c7ac23ea46ab6d4779c0ea5 @@ -410,6 +410,6 @@ SPEC CHECKSUMS: ReactCommon: bedc99ed4dae329c4fcf128d0c31b9115e5365ca Yoga: a7de31c64fe738607e7a3803e3f591a4b1df7393 -PODFILE CHECKSUM: 368d6b190a253c6c41c42abfcc799d23b58191a2 +PODFILE CHECKSUM: 04d9e3021f6a5583a576062604f104311de89d6d COCOAPODS: 1.10.1 diff --git a/react-native-exponea-sdk.podspec b/react-native-exponea-sdk.podspec index d2358bd..5358643 100644 --- a/react-native-exponea-sdk.podspec +++ b/react-native-exponea-sdk.podspec @@ -21,7 +21,7 @@ Pod::Spec.new do |s| s.requires_arc = true s.dependency "React" - s.dependency "ExponeaSDK", "~> 2.11.0" + s.dependency "ExponeaSDK", "~> 2.11.1" s.dependency "AnyCodable-FlightSchool", "~> 0.4.0" end