Skip to content

Commit cc22bb3

Browse files
author
sozinov
committed
MOBILE-103: follow review
1 parent e8a7b0a commit cc22bb3

2 files changed

Lines changed: 2 additions & 3 deletions

File tree

android/src/main/java/com/mindboxsdk/MindboxSdkLifecycleListener.kt

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,8 +65,7 @@ internal class MindboxSdkLifecycleListener private constructor(
6565
private fun registerReactContextListener(onReady: (ReactContext) -> Unit) {
6666
val host = getReactHost(application) ?: run {
6767
Mindbox.writeLog(
68-
"[RN] registerReactContextListener: ReactHost is null, skip listener. " +
69-
"Ensure Application is ReactApplication and new architecture is enabled.",
68+
"[RN] registerReactContextListener: ReactHost is null, skip listener.",
7069
Level.WARN
7170
)
7271
return

android/src/main/java/com/mindboxsdk/MindboxSdkModule.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ class MindboxSdkModule(
4242
}
4343
}
4444

45-
fun deliverPushNotificationClickedFromExternal(bundle: Bundle) {
45+
internal fun deliverPushNotificationClickedFromExternal(bundle: Bundle) {
4646
val module: MindboxSdkModule? = activeModule
4747
if (module != null) {
4848
module.emitPushFromDelivery(bundle)

0 commit comments

Comments
 (0)