@qusaieilouti99/call-manager 0.1.85 → 0.1.86

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.
@@ -41,7 +41,7 @@ class CallForegroundService : Service() {
41
41
  }
42
42
 
43
43
  startForeground(NOTIFICATION_ID, notification)
44
- return START_STICKY
44
+ return START_NOT_STICKY
45
45
  }
46
46
 
47
47
  override fun onBind(intent: Intent?): IBinder? = null
@@ -155,6 +155,9 @@ class CallForegroundService : Service() {
155
155
  if (removed != CallActivity::class.java.name) {
156
156
  Log.d(TAG, "Main app task removed - terminating")
157
157
  CallEngine.onApplicationTerminate()
158
+
159
+ // Force kill the process (nuclear option)
160
+ android.os.Process.killProcess(android.os.Process.myPid())
158
161
  }
159
162
 
160
163
  super.onTaskRemoved(rootIntent)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@qusaieilouti99/call-manager",
3
- "version": "0.1.85",
3
+ "version": "0.1.86",
4
4
  "description": "Call manager",
5
5
  "main": "./lib/module/index.js",
6
6
  "types": "./lib/typescript/src/index.d.ts",