@capgo/capacitor-stream-call 7.0.4 → 7.0.5

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.
@@ -27,10 +27,8 @@ public class StreamCallBackgroundService extends Service {
27
27
  public void onDestroy() {
28
28
  super.onDestroy();
29
29
  Log.d(TAG, "Service destroyed");
30
- // Restart the service if it's killed by the system
31
- Intent restartServiceIntent = new Intent(getApplicationContext(), StreamCallBackgroundService.class);
32
- restartServiceIntent.setPackage(getPackageName());
33
- startService(restartServiceIntent);
30
+ // Don't manually restart the service - START_STICKY handles recreation
31
+ // Android 12+ blocks background service starts
34
32
  }
35
33
 
36
34
  @Nullable
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@capgo/capacitor-stream-call",
3
- "version": "7.0.4",
3
+ "version": "7.0.5",
4
4
  "description": "Uses the https://getstream.io/ SDK to implement calling in Capacitor",
5
5
  "main": "dist/plugin.cjs.js",
6
6
  "module": "dist/esm/index.js",