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(this, uuid)
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) {}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "rns-nativecall",
3
- "version": "1.0.9",
3
+ "version": "1.1.0",
4
4
  "description": "High-performance React Native module for handling native VoIP call UI on Android and iOS.",
5
5
  "main": "index.js",
6
6
  "types": "index.d.ts",