Skip to content

Commit 7b20dcc

Browse files
committed
Fix
1 parent 5142f0a commit 7b20dcc

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

android/gradle/wrapper/gradle-wrapper.properties

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,3 +5,4 @@ networkTimeout=10000
55
validateDistributionUrl=true
66
zipStoreBase=GRADLE_USER_HOME
77
zipStorePath=wrapper/dists
8+
X

android/src/main/java/com/courierreactnative/CourierReactNativeActivity.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ open class CourierReactNativeActivity : ReactActivity() {
2424

2525
}
2626

27-
override fun onNewIntent(intent: Intent?) {
27+
override fun onNewIntent(intent: Intent) {
2828
super.onNewIntent(intent)
2929
checkIntentForPushNotificationClick(intent)
3030
}

src/index.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -252,9 +252,9 @@ class Courier {
252252
this.isDebugging = props.showLogs ?? __DEV__;
253253
return await Modules.Shared.signIn(
254254
props.accessToken,
255-
props.clientKey ?? null,
255+
props.clientKey,
256256
props.userId,
257-
props.tenantId ?? null,
257+
props.tenantId,
258258
this.isDebugging
259259
);
260260
}

0 commit comments

Comments
 (0)