@trycourier/courier-react-native 2.3.0 → 2.3.2
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
CHANGED
|
@@ -101,7 +101,7 @@ dependencies {
|
|
|
101
101
|
implementation "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version"
|
|
102
102
|
|
|
103
103
|
// Courier Core SDK
|
|
104
|
-
api 'com.github.trycourier:courier-android:2.4.
|
|
104
|
+
api 'com.github.trycourier:courier-android:2.4.1'
|
|
105
105
|
api 'androidx.recyclerview:recyclerview:1.3.2'
|
|
106
106
|
|
|
107
107
|
}
|
|
@@ -13,12 +13,13 @@ import org.json.JSONObject
|
|
|
13
13
|
open class CourierReactNativeActivity : ReactActivity() {
|
|
14
14
|
|
|
15
15
|
override fun onCreate(savedInstanceState: Bundle?) {
|
|
16
|
-
super.onCreate(savedInstanceState)
|
|
17
16
|
|
|
18
17
|
// Starts the Courier SDK
|
|
19
18
|
// Used to ensure shared preferences works properly
|
|
20
19
|
Courier.initialize(this)
|
|
21
20
|
|
|
21
|
+
super.onCreate(savedInstanceState)
|
|
22
|
+
|
|
22
23
|
// See if there is a pending click event
|
|
23
24
|
checkIntentForPushNotificationClick(intent)
|
|
24
25
|
|