rns-nativecall 1.0.9 → 1.1.0
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.
|
@@ -142,12 +142,9 @@ class CallModule(
|
|
|
142
142
|
|
|
143
143
|
@ReactMethod
|
|
144
144
|
fun endNativeCall(uuid: String) {
|
|
145
|
-
NativeCallManager.dismissIncomingCall(
|
|
145
|
+
NativeCallManager.dismissIncomingCall(reactApplicationContext, uuid)
|
|
146
146
|
CallState.clear(uuid)
|
|
147
147
|
pendingCallDataMap = null
|
|
148
|
-
|
|
149
|
-
val notificationManager = reactApplicationContext.getSystemService(Context.NOTIFICATION_SERVICE) as NotificationManager
|
|
150
|
-
notificationManager.cancel(101)
|
|
151
148
|
}
|
|
152
149
|
|
|
153
150
|
@ReactMethod fun addListener(eventName: String) {}
|