react-native-sinch-calling 0.2.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.
Files changed (40) hide show
  1. package/CHANGELOG.md +29 -0
  2. package/LICENSE +20 -0
  3. package/README.md +239 -0
  4. package/SinchCalling.podspec +28 -0
  5. package/android/build.gradle +52 -0
  6. package/android/src/main/AndroidManifest.xml +19 -0
  7. package/android/src/main/java/com/sinchcalling/SinchCallManager.kt +302 -0
  8. package/android/src/main/java/com/sinchcalling/SinchCallingModule.kt +184 -0
  9. package/android/src/main/java/com/sinchcalling/SinchCallingPackage.kt +31 -0
  10. package/android/src/main/java/com/sinchcalling/telecom/SinchConnection.kt +43 -0
  11. package/android/src/main/java/com/sinchcalling/telecom/SinchConnectionService.kt +37 -0
  12. package/android/src/main/java/com/sinchcalling/telecom/SinchTelecomManager.kt +106 -0
  13. package/ios/Sinch/SinchCallKitManager.swift +154 -0
  14. package/ios/Sinch/SinchCallManager.swift +195 -0
  15. package/ios/Sinch/SinchPushManager.swift +81 -0
  16. package/ios/SinchCalling.h +5 -0
  17. package/ios/SinchCalling.mm +242 -0
  18. package/lib/module/NativeSinchCalling.js +5 -0
  19. package/lib/module/NativeSinchCalling.js.map +1 -0
  20. package/lib/module/SinchCalling.js +185 -0
  21. package/lib/module/SinchCalling.js.map +1 -0
  22. package/lib/module/index.js +4 -0
  23. package/lib/module/index.js.map +1 -0
  24. package/lib/module/package.json +1 -0
  25. package/lib/module/types.js +4 -0
  26. package/lib/module/types.js.map +1 -0
  27. package/lib/typescript/package.json +1 -0
  28. package/lib/typescript/src/NativeSinchCalling.d.ts +69 -0
  29. package/lib/typescript/src/NativeSinchCalling.d.ts.map +1 -0
  30. package/lib/typescript/src/SinchCalling.d.ts +98 -0
  31. package/lib/typescript/src/SinchCalling.d.ts.map +1 -0
  32. package/lib/typescript/src/index.d.ts +4 -0
  33. package/lib/typescript/src/index.d.ts.map +1 -0
  34. package/lib/typescript/src/types.d.ts +9 -0
  35. package/lib/typescript/src/types.d.ts.map +1 -0
  36. package/package.json +179 -0
  37. package/src/NativeSinchCalling.ts +148 -0
  38. package/src/SinchCalling.ts +245 -0
  39. package/src/index.tsx +11 -0
  40. package/src/types.ts +9 -0
package/CHANGELOG.md ADDED
@@ -0,0 +1,29 @@
1
+ # Changelog
2
+
3
+ All notable changes to this project are documented in this file.
4
+
5
+ ## 0.2.0
6
+
7
+ ### Added
8
+
9
+ - `callPhoneNumber(phoneNumber, callerId)` — place a PSTN call to a real phone number.
10
+ - `callConference(conferenceId, callerId)` — join a Sinch conference room by id.
11
+ - `sendDTMF(callId, key)` — send DTMF tones on an active call.
12
+ - `updateIncomingCallDisplayName(callId, displayName)` — override the caller name shown on the system call UI.
13
+ - Generic custom incoming-call flow, for backends that park/bridge calls instead of routing them directly to a registered Sinch client:
14
+ - `configureCustomIncomingCallPush(idField, displayField)` — opt in to recognizing your own backend's push payload shape.
15
+ - `reportIncomingCallUI(callId, displayName)` — report a system call UI for any reason, independent of push.
16
+ - `resolveCallUIToConference(callId, conferenceId, callerId)` — turn a shown call UI into a real call.
17
+ - `dismissCallUI(callId)` — clean up a call UI that couldn't be resolved.
18
+ - Events: `onIncomingCallUIShown`, `onCallUIAnswered`, `onCallUIDeclined`.
19
+ - `onVoipPushTokenUpdated` (iOS) — fires with the hex-encoded PushKit VoIP token on issuance/rotation.
20
+
21
+ ### Changed
22
+
23
+ - iOS VoIP push handling now uses `PKPushRegistry` directly instead of `SINManagedPush`, so it can also support the custom incoming-call flow above on the same registration. Default behavior (no custom push configured) is unchanged — every push still relays straight to Sinch.
24
+ - CallKit (iOS) now reports phone-number handles with the `.phoneNumber` type (previously always `.generic`), so the system UI formats and matches PSTN caller IDs correctly.
25
+ - Android's self-managed `Connection` address now uses the `tel:` URI scheme for phone-number callers, matching the iOS change above.
26
+
27
+ ## 0.1.0
28
+
29
+ Initial release: app-to-app calling (`callUser`), client registration lifecycle, CallKit/`ConnectionService` system call UI, mute/speaker controls, and Android FCM / iOS `SINManagedPush` push delivery.
package/LICENSE ADDED
@@ -0,0 +1,20 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2026 tristian.pham
4
+ Permission is hereby granted, free of charge, to any person obtaining a copy
5
+ of this software and associated documentation files (the "Software"), to deal
6
+ in the Software without restriction, including without limitation the rights
7
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
8
+ copies of the Software, and to permit persons to whom the Software is
9
+ furnished to do so, subject to the following conditions:
10
+
11
+ The above copyright notice and this permission notice shall be included in all
12
+ copies or substantial portions of the Software.
13
+
14
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
15
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
16
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
17
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
18
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
19
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
20
+ SOFTWARE.
package/README.md ADDED
@@ -0,0 +1,239 @@
1
+ # react-native-sinch-calling
2
+
3
+ React Native TurboModule wrapper for the Sinch Voice Calling SDK (Android & iOS): app-to-app calls, PSTN calls, and Sinch conference rooms — voice only, no video.
4
+
5
+ ## Scope & architecture
6
+
7
+ This library wraps the native Sinch SDKs (`SinchRTC` on iOS, `com.sinch:voice-video-android` on Android) behind a single TurboModule. Incoming/outgoing calls always get reported to the OS call UI — CallKit on iOS, a self-managed `ConnectionService` on Android — so calls behave like a real phone call (lock-screen UI, works while backgrounded) without any extra code on your end.
8
+
9
+ The library never tries to guess what your backend's push payloads mean. By default it only recognizes Sinch's own push format (app-to-app calls, standard PSTN-to-registered-user routing). If your backend has its own "ring the app" signal — e.g. it parks an inbound PSTN call and pushes a custom payload telling the app to show a call screen before bridging into a Sinch conference — you opt into that explicitly (see [Custom incoming-call flows](#custom-incoming-call-flows) below) rather than the library inferring it from your payload shape.
10
+
11
+ ## Prerequisites
12
+
13
+ Before wiring this into your app, you need:
14
+
15
+ 1. **A Sinch account** with an Application Key/Secret (Sinch Dashboard).
16
+ 2. **A backend endpoint that mints a registration JWT.** Sinch does not allow signing this JWT inside the app — the Application Secret must stay server-side. Your backend needs an endpoint (behind your existing auth) that:
17
+ - Identifies the calling user from your own session/auth token.
18
+ - Signs a JWT with:
19
+ ```
20
+ header: { alg: "HS256", kid: "hkdfv1-YYYYMMDD" } // YYYYMMDD = current UTC date
21
+ claims: {
22
+ iss: "//rtc.sinch.com/applications/{applicationKey}",
23
+ sub: "//rtc.sinch.com/applications/{applicationKey}/users/{userId}",
24
+ iat, exp, nonce
25
+ }
26
+ signingKey = HMAC-SHA256(applicationSecret, "YYYYMMDD")
27
+ ```
28
+ - Returns the JWT to the app.
29
+ 3. **A stable per-user identifier** (`userId`) — any string matching `[A-Za-z0-9-_=]{1,255}`. Use your own user id (e.g. a database id), not something that can change (email/phone).
30
+ 4. **Push credentials on the Sinch Dashboard**: an APNs key/cert for VoIP push (iOS), and your Firebase Sender ID (Android) if you want calls to be delivered while the app is backgrounded.
31
+
32
+ ## Installation
33
+
34
+ ```sh
35
+ npm install react-native-sinch-calling
36
+ ```
37
+
38
+ ### iOS
39
+
40
+ - Minimum deployment target: iOS 15.
41
+ - Run `pod install` after installing (pulls in the `SinchRTC` pod).
42
+ - In your app's Info.plist:
43
+ ```xml
44
+ <key>NSMicrophoneUsageDescription</key>
45
+ <string>We need microphone access to make calls.</string>
46
+ <key>UIBackgroundModes</key>
47
+ <array>
48
+ <string>audio</string>
49
+ <string>voip</string>
50
+ </array>
51
+ ```
52
+ - Enable the **Push Notifications** capability in Xcode (adds `aps-environment` to your entitlements) — required for `enablePushNotifications()`.
53
+
54
+ ### Android
55
+
56
+ - Minimum SDK: 24.
57
+ - Permissions and the `ConnectionService` declaration are already bundled in this library's manifest — you don't need to add anything for the base call flow.
58
+ - If you want incoming calls while the app is backgrounded, wire your own FCM setup (e.g. `@react-native-firebase/messaging`) and forward messages to `registerFcmPush` / `relayRemotePushNotification` (see below).
59
+
60
+ ## Usage
61
+
62
+ ```tsx
63
+ import { SinchCalling } from 'react-native-sinch-calling';
64
+
65
+ // 1. Provide a way to fetch a registration JWT from your backend.
66
+ // Called automatically whenever the SDK (re)registers the user.
67
+ SinchCalling.setRegistrationCredentialsProvider(async () => {
68
+ const response = await fetch('https://your-api.example.com/sinch/registration-jwt', {
69
+ headers: { Authorization: `Bearer ${yourAppAccessToken}` },
70
+ });
71
+ const { jwt } = await response.json();
72
+ return jwt;
73
+ });
74
+
75
+ // 2. (Optional) Android: attach your FCM sender id + token before configure(),
76
+ // so incoming calls can be delivered while the app is backgrounded.
77
+ SinchCalling.registerFcmPush(fcmSenderId, fcmToken);
78
+
79
+ // 2b. (Optional) iOS: enable VoIP push via PushKit/SINManagedPush.
80
+ SinchCalling.enablePushNotifications(/* useProductionAps */ false);
81
+
82
+ // 3. Configure + start the client.
83
+ SinchCalling.configure({
84
+ appKey: 'YOUR_SINCH_APPLICATION_KEY',
85
+ environmentHost: 'ocra.api.sinch.com',
86
+ userId: currentUser.id,
87
+ });
88
+ SinchCalling.start();
89
+
90
+ // 4. Listen for lifecycle + call events.
91
+ SinchCalling.onClientStarted(() => console.log('registered'));
92
+ SinchCalling.onClientStartFailed(({ message, code }) => console.warn(message, code));
93
+
94
+ SinchCalling.onIncomingCall(({ callId, remoteUserId }) => { /* update UI */ });
95
+ SinchCalling.onCallProgressing(({ callId }) => { /* ringing/dialing */ });
96
+ SinchCalling.onCallEstablished(({ callId }) => { /* connected */ });
97
+ SinchCalling.onCallEnded(({ callId, endCause }) => { /* 'hungUp' | 'denied' | 'noAnswer' | 'error' | ... */ });
98
+
99
+ // 5. Place / control calls.
100
+ const callId = SinchCalling.callUser('other-user-id');
101
+ SinchCalling.answerCall(callId);
102
+ SinchCalling.hangupCall(callId);
103
+ SinchCalling.setMuted(true);
104
+ SinchCalling.setSpeakerEnabled(true);
105
+ ```
106
+
107
+ ### Calling a phone number or joining a conference
108
+
109
+ ```ts
110
+ // PSTN: call a real phone number (E.164, e.g. "+14155550101").
111
+ // `callerId` is the caller-ID shown to the recipient — required on
112
+ // Android, ignored on iOS (derived from your application's provisioned
113
+ // voice number instead). Same caveat applies to `callConference` below.
114
+ const callId = SinchCalling.callPhoneNumber('+14155550101', '+14155550100');
115
+
116
+ // Join a Sinch conference room by id (e.g. one your backend created and
117
+ // bridged a PSTN leg into).
118
+ const callId = SinchCalling.callConference('conf_abc123', '+14155550100');
119
+
120
+ // Send DTMF tones on an active call (0-9, #, *, A-D).
121
+ SinchCalling.sendDTMF(callId, '5');
122
+ ```
123
+
124
+ ### Custom incoming-call flows
125
+
126
+ Some backends don't let Sinch route calls directly to a registered client — e.g. an inbound PSTN call gets parked and bridged into a Sinch conference only after your backend decides to connect it (fraud checks, business hours routing, a "ring multiple agents" pattern, etc). For that, your backend sends your app its own push/socket signal, and you tell this library about it explicitly:
127
+
128
+ ```ts
129
+ // Recognize your own backend's push payload shape (both platforms).
130
+ // idField/displayField are the keys your payload uses. Until this is
131
+ // called, every push is treated as a normal Sinch-relayed push.
132
+ SinchCalling.configureCustomIncomingCallPush('callId', 'callerNumber');
133
+ // A payload like { callId: 'abc', callerNumber: '+1415...' } arriving via
134
+ // relayRemotePushNotification (Android) or the native VoIP push handler
135
+ // (iOS) now reports a system call UI immediately instead of relaying to Sinch.
136
+
137
+ // You can also report a call UI directly, independent of any push — e.g.
138
+ // from a Socket.IO event received while the app is in the foreground:
139
+ SinchCalling.reportIncomingCallUI('abc', '+14155550101');
140
+
141
+ // Fires whenever a call UI is shown (from either path above) — a good
142
+ // place to kick off a caller-ID lookup and upgrade the display name.
143
+ SinchCalling.onIncomingCallUIShown(({ callId, displayName }) => {
144
+ lookupCallerName(displayName).then(name => {
145
+ SinchCalling.updateIncomingCallDisplayName(callId, name);
146
+ });
147
+ });
148
+
149
+ // When the rep answers/declines from the system call UI, call your own
150
+ // backend, then resolve or dismiss the call UI accordingly.
151
+ SinchCalling.onCallUIAnswered(async ({ callId }) => {
152
+ const { conferenceId, callerNumber } = await acceptOnYourBackend(callId);
153
+ const realCallId = SinchCalling.resolveCallUIToConference(callId, conferenceId, callerNumber);
154
+ if (!realCallId) {
155
+ // your backend accepted but joining failed — clean up the call UI
156
+ SinchCalling.dismissCallUI(callId);
157
+ }
158
+ });
159
+
160
+ SinchCalling.onCallUIDeclined(({ callId }) => {
161
+ declineOnYourBackend(callId);
162
+ });
163
+ ```
164
+
165
+ This is the one place iOS can't be fully "hands off": Apple requires every VoIP push to synchronously trigger a CallKit report from inside the native push handler, so the payload-shape check happens natively (using the field names you configured) rather than round-tripping through JS first.
166
+
167
+ ### Android: forwarding FCM pushes
168
+
169
+ Incoming calls arrive over the app's live connection to Sinch while it's in the foreground. For calls to arrive while backgrounded, forward FCM messages to the bridge from your own Firebase setup:
170
+
171
+ ```ts
172
+ import messaging from '@react-native-firebase/messaging';
173
+ import { SinchCalling } from 'react-native-sinch-calling';
174
+
175
+ messaging().setBackgroundMessageHandler(async (remoteMessage) => {
176
+ SinchCalling.relayRemotePushNotification(remoteMessage.data ?? {});
177
+ });
178
+ messaging().onMessage(async (remoteMessage) => {
179
+ SinchCalling.relayRemotePushNotification(remoteMessage.data ?? {});
180
+ });
181
+ ```
182
+
183
+ This only works while the app **process** is alive (backgrounded, not killed) — the JS runtime has to be running to receive the FCM callback. iOS doesn't have this limitation: VoIP push wakes the app process via PushKit even when fully killed.
184
+
185
+ ### Retrying after a failure
186
+
187
+ The SDK doesn't expose a distinct "reconnecting" callback — only `onClientStartFailed` (client-level) and `onCallEnded` with `endCause: 'error'` (call-level). Both events include a `code` (native error code) you can use to decide whether to retry:
188
+
189
+ ```ts
190
+ SinchCalling.onClientStartFailed(({ code }) => {
191
+ // e.g. retry SinchCalling.start() with backoff for network-ish codes,
192
+ // surface a hard error to the user for anything else.
193
+ });
194
+ ```
195
+
196
+ ## API
197
+
198
+ | Method | Platforms | Notes |
199
+ | --- | --- | --- |
200
+ | `configure({ appKey, environmentHost, userId })` | both | |
201
+ | `start()` / `stop()` | both | |
202
+ | `setRegistrationCredentialsProvider(fn)` | both | Answers the JWT challenge automatically |
203
+ | `callUser(userId)` → `callId` | both | App-to-app call |
204
+ | `callPhoneNumber(phoneNumber, callerId)` → `callId` | both | PSTN call. `callerId` is Android-only |
205
+ | `callConference(conferenceId, callerId)` → `callId` | both | Joins a Sinch conference room. `callerId` is Android-only |
206
+ | `sendDTMF(callId, key)` → `boolean` | both | `key` is one of `[0-9, #, *, A-D]` |
207
+ | `answerCall(callId)` / `hangupCall(callId)` | both | |
208
+ | `setMuted(muted)` / `setSpeakerEnabled(enabled)` | both | |
209
+ | `registerFcmPush(senderId, token)` | Android | Call before `configure()`. No-op on iOS |
210
+ | `enablePushNotifications(useProductionAps)` | iOS | No-op on Android |
211
+ | `relayRemotePushNotification(payload)` | Android | No-op on iOS |
212
+ | `configureCustomIncomingCallPush(idField, displayField)` | both | Opt-in — see [Custom incoming-call flows](#custom-incoming-call-flows) |
213
+ | `reportIncomingCallUI(callId, displayName)` | both | Shows a call UI for any reason you decide to |
214
+ | `resolveCallUIToConference(callId, conferenceId, callerId)` → `callId` | both | Turns a shown call UI into a real call |
215
+ | `dismissCallUI(callId)` | both | Cleans up a call UI that couldn't be resolved |
216
+ | `updateIncomingCallDisplayName(callId, displayName)` | both | Overrides the shown caller name |
217
+
218
+ Events: `onClientStarted`, `onClientStartFailed`, `onRegistrationCredentialsRequired` (internal — handled by `setRegistrationCredentialsProvider`), `onIncomingCall`, `onCallProgressing`, `onCallEstablished`, `onCallEnded`, `onPushTokenRegistered`, `onPushTokenRegistrationFailed`, `onVoipPushTokenUpdated` (iOS — forward to your backend), `onIncomingCallUIShown`, `onCallUIAnswered`, `onCallUIDeclined`.
219
+
220
+ ## Known limitations
221
+
222
+ - If the app is fully killed (not just backgrounded), Android incoming calls won't arrive — `relayRemotePushNotification` needs the JS runtime alive. iOS handles this correctly via PushKit.
223
+ - CallKit/ConnectionService setup happens lazily when JS first requires the native module. For maximum reliability on a killed app, a production app should also register the VoIP push handler from the host app's `AppDelegate`, which is outside the scope of a pure JS-facing library — see Sinch's own CallKit guide if you need this.
224
+ - If a call is answered/ended from your own JS UI while the native CallKit/Telecom screen is also showing (e.g. app was foregrounded when the push arrived), the system call UI may not always dismiss in perfect sync.
225
+ - `configureCustomIncomingCallPush` detection on iOS happens synchronously inside the native VoIP push handler (an Apple requirement) — it can't wait on any JS logic, only the field names you configured up front.
226
+
227
+ ## Contributing
228
+
229
+ - [Development workflow](CONTRIBUTING.md#development-workflow)
230
+ - [Sending a pull request](CONTRIBUTING.md#sending-a-pull-request)
231
+ - [Code of conduct](CODE_OF_CONDUCT.md)
232
+
233
+ ## License
234
+
235
+ MIT
236
+
237
+ ---
238
+
239
+ Made with [create-react-native-library](https://github.com/callstack/react-native-builder-bob)
@@ -0,0 +1,28 @@
1
+ require "json"
2
+
3
+ package = JSON.parse(File.read(File.join(__dir__, "package.json")))
4
+
5
+ Pod::Spec.new do |s|
6
+ s.name = "SinchCalling"
7
+ s.version = package["version"]
8
+ s.summary = package["description"]
9
+ s.homepage = package["homepage"]
10
+ s.license = package["license"]
11
+ s.authors = package["author"]
12
+
13
+ s.platforms = { :ios => min_ios_version_supported }
14
+ s.source = { :git => "https://github.com/tristian-tan/react-native-sinch-calling.git", :tag => "#{s.version}" }
15
+
16
+ s.swift_version = "5.0"
17
+ s.source_files = "ios/**/*.{h,m,mm,swift,cpp}"
18
+ s.private_header_files = "ios/**/*.h"
19
+
20
+ s.dependency "SinchRTC"
21
+
22
+ s.pod_target_xcconfig = {
23
+ "CLANG_ENABLE_MODULES" => "YES",
24
+ "OTHER_CPLUSPLUSFLAGS" => "$(inherited) -fcxx-modules"
25
+ }
26
+
27
+ install_modules_dependencies(s)
28
+ end
@@ -0,0 +1,52 @@
1
+ buildscript {
2
+ ext.SinchCalling = [
3
+ kotlinVersion: "2.0.21",
4
+ minSdkVersion: 24,
5
+ compileSdkVersion: 36
6
+ ]
7
+
8
+ ext.getExtOrDefault = { prop ->
9
+ if (rootProject.ext.has(prop)) {
10
+ return rootProject.ext.get(prop)
11
+ }
12
+
13
+ return SinchCalling[prop]
14
+ }
15
+
16
+ repositories {
17
+ google()
18
+ mavenCentral()
19
+ }
20
+
21
+ dependencies {
22
+ classpath "com.android.tools.build:gradle:8.7.2"
23
+ // noinspection DifferentKotlinGradleVersion
24
+ classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:${getExtOrDefault('kotlinVersion')}"
25
+ }
26
+ }
27
+
28
+
29
+ apply plugin: "com.android.library"
30
+ apply plugin: "kotlin-android"
31
+
32
+ apply plugin: "com.facebook.react"
33
+
34
+ android {
35
+ namespace "com.sinchcalling"
36
+
37
+ compileSdkVersion getExtOrDefault("compileSdkVersion")
38
+
39
+ defaultConfig {
40
+ minSdkVersion getExtOrDefault("minSdkVersion")
41
+ }
42
+
43
+ compileOptions {
44
+ sourceCompatibility JavaVersion.VERSION_17
45
+ targetCompatibility JavaVersion.VERSION_17
46
+ }
47
+ }
48
+
49
+ dependencies {
50
+ implementation "com.facebook.react:react-android"
51
+ implementation "com.sinch:voice-video-android:6.30.3"
52
+ }
@@ -0,0 +1,19 @@
1
+ <manifest xmlns:android="http://schemas.android.com/apk/res/android">
2
+ <uses-permission android:name="android.permission.INTERNET" />
3
+ <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
4
+ <uses-permission android:name="android.permission.RECORD_AUDIO" />
5
+ <uses-permission android:name="android.permission.MODIFY_AUDIO_SETTINGS" />
6
+ <uses-permission android:name="android.permission.BLUETOOTH" />
7
+ <uses-permission android:name="android.permission.MANAGE_OWN_CALLS" />
8
+
9
+ <application>
10
+ <service
11
+ android:name="com.sinchcalling.telecom.SinchConnectionService"
12
+ android:permission="android.permission.BIND_TELECOM_CONNECTION_SERVICE"
13
+ android:exported="true">
14
+ <intent-filter>
15
+ <action android:name="android.telecom.ConnectionService" />
16
+ </intent-filter>
17
+ </service>
18
+ </application>
19
+ </manifest>