From 386681642fe5fac60ca7e7ee06c79785dba0f48d Mon Sep 17 00:00:00 2001 From: Shahroz Khan Date: Mon, 30 Sep 2024 12:29:18 +0500 Subject: [PATCH] reuses native config --- .../reactnative/sdk/messagingpush/RNCIOPushMessaging.kt | 4 ---- 1 file changed, 4 deletions(-) diff --git a/android/src/main/java/io/customer/reactnative/sdk/messagingpush/RNCIOPushMessaging.kt b/android/src/main/java/io/customer/reactnative/sdk/messagingpush/RNCIOPushMessaging.kt index 155718b2..3bdc63db 100644 --- a/android/src/main/java/io/customer/reactnative/sdk/messagingpush/RNCIOPushMessaging.kt +++ b/android/src/main/java/io/customer/reactnative/sdk/messagingpush/RNCIOPushMessaging.kt @@ -34,10 +34,6 @@ class RNCIOPushMessaging( */ private var notificationRequestPromise: Promise? = null - private val SDKComponent.pushModuleConfig: MessagingPushModuleConfig - get() = newInstance { - modules["MessagingPushFCM"]?.moduleConfig as MessagingPushModuleConfig - } init { reactContext.addActivityEventListener(this) }