Skip to content

Commit

Permalink
feat/Bump Android to 2.9.5 and iOS to 2.11.1
Browse files Browse the repository at this point in the history
  • Loading branch information
michaela-dev committed Jul 12, 2021
1 parent e4c12a6 commit 5a3502a
Show file tree
Hide file tree
Showing 6 changed files with 21 additions and 21 deletions.
2 changes: 1 addition & 1 deletion android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down
4 changes: 2 additions & 2 deletions android/src/main/java/com/exponea/ExponeaModule.kt
Original file line number Diff line number Diff line change
Expand Up @@ -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<String, String>? = null
private var pendingReceivedPushData: Map<String, Any>? = null

private fun requireInitialized(promise: Promise, block: ((Promise) -> Unit)) {
if (!Exponea.isInitialized) {
Expand Down Expand Up @@ -342,7 +342,7 @@ class ExponeaModule(val reactContext: ReactApplicationContext) : ReactContextBas
}
}

fun pushNotificationReceived(data: Map<String, String>) {
fun pushNotificationReceived(data: Map<String, Any>) {
if (pushReceivedListenerSet) {
reactContext.getJSModule(RCTDeviceEventEmitter::class.java).emit("pushReceived", Gson().toJson(data))
} else {
Expand Down
16 changes: 8 additions & 8 deletions example/ios/Podfile.lock
Original file line number Diff line number Diff line change
@@ -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)
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand All @@ -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
Expand Down
2 changes: 1 addition & 1 deletion ios/Podfile
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
16 changes: 8 additions & 8 deletions ios/Podfile.lock
Original file line number Diff line number Diff line change
@@ -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)
Expand All @@ -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
Expand Down Expand Up @@ -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`)
Expand Down Expand Up @@ -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
Expand All @@ -410,6 +410,6 @@ SPEC CHECKSUMS:
ReactCommon: bedc99ed4dae329c4fcf128d0c31b9115e5365ca
Yoga: a7de31c64fe738607e7a3803e3f591a4b1df7393

PODFILE CHECKSUM: 368d6b190a253c6c41c42abfcc799d23b58191a2
PODFILE CHECKSUM: 04d9e3021f6a5583a576062604f104311de89d6d

COCOAPODS: 1.10.1
2 changes: 1 addition & 1 deletion react-native-exponea-sdk.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 5a3502a

Please sign in to comment.