rns-nativecall 1.2.1 → 1.2.2
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.
- package/README.md +3 -6
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -147,16 +147,13 @@ export default function App() {
|
|
|
147
147
|
|
|
148
148
|
# Implementation Notes
|
|
149
149
|
|
|
150
|
-
1. Android
|
|
151
|
-
Because this library uses a Foreground Service on Android, the notification will persist and show a "Call Pill" in the status bar. To remove this after the call ends or connects, you MUST call 'CallHandler.stopForegroundService()'.
|
|
152
|
-
|
|
153
|
-
2. Android Overlay:
|
|
150
|
+
1. Android Overlay:
|
|
154
151
|
For your React Native call screen to show up when the phone is locked, the user must grant the "Overlay Permission". Use 'checkOverlayPermission()' and 'requestOverlayPermission()' during your app's onboarding or call initiation.
|
|
155
152
|
|
|
156
|
-
|
|
153
|
+
2. iOS CallKit:
|
|
157
154
|
On iOS, 'displayCall' uses the native system CallKit UI. This works automatically in the background and on the lockscreen without extra overlay permissions.
|
|
158
155
|
|
|
159
|
-
|
|
156
|
+
3. Single Call Gate:
|
|
160
157
|
The library automatically prevents multiple overlapping native UIs. If a call is already active, subsequent calls will trigger the 'BUSY' event in your Headless Task.
|
|
161
158
|
---
|
|
162
159
|
|