Skip to content

Commit

Permalink
attempt to fix defaults
Browse files Browse the repository at this point in the history
  • Loading branch information
ami-aman committed Sep 24, 2024
1 parent 5067d93 commit 4cd4d5d
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ class RNCIOPushMessaging(

private val SDKComponent.pushModuleConfig: MessagingPushModuleConfig
get() = newInstance {
modules["MessagingPushFCM"]?.moduleConfig as? MessagingPushModuleConfig ?: MessagingPushModuleConfig.default()
modules["MessagingPushFCM"]?.moduleConfig as MessagingPushModuleConfig
}
init {
reactContext.addActivityEventListener(this)
Expand Down Expand Up @@ -182,7 +182,7 @@ class RNCIOPushMessaging(
) {
// Nothing required here
}

/**
* If the app is in background and simple push is received, then FCM notification doesn't
* start new intent apparently because of `singleTask` launchMode being used by React Native
Expand Down

0 comments on commit 4cd4d5d

Please sign in to comment.