rns-nativecall 1.0.2 → 1.0.3

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.
@@ -63,7 +63,7 @@ class CallForegroundService : Service() {
63
63
  .setContentTitle(name)
64
64
  .setContentText("Connecting...")
65
65
  .setSmallIcon(applicationInfo.icon)
66
- .setPriority(NotificationCompat.PRIORITY_MIN)
66
+ .setPriority(NotificationCompat.PRIORITY_DEFAULT)
67
67
  .setCategory(NotificationCompat.CATEGORY_SERVICE)
68
68
  .setOngoing(true)
69
69
  .build()
@@ -130,7 +130,7 @@ class CallForegroundService : Service() {
130
130
  NotificationChannel(
131
131
  CHANNEL_ID,
132
132
  "Call Service",
133
- NotificationManager.IMPORTANCE_HIGH,
133
+ NotificationManager.IMPORTANCE_DEFAULT,
134
134
  ).apply {
135
135
  description = "Incoming call connection state"
136
136
  setSound(null, null)
@@ -15,7 +15,7 @@ import androidx.core.app.NotificationCompat
15
15
  import androidx.core.app.Person
16
16
 
17
17
  object NativeCallManager {
18
- const val channelId = "CALL_CHANNEL_V10_URGENT"
18
+ const val channelId = "CALL_CHANNEL_V11_URGENT"
19
19
  private var currentCallData: Map<String, String>? = null
20
20
 
21
21
  fun getCurrentCallData(): Map<String, String>? = currentCallData
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "rns-nativecall",
3
- "version": "1.0.2",
3
+ "version": "1.0.3",
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",