react-native-sinch-calling 0.12.0 → 0.12.1
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/ios/SinchCalling.mm +5 -4
- package/package.json +1 -1
package/ios/SinchCalling.mm
CHANGED
|
@@ -120,9 +120,10 @@ static void SinchCallingEnsureSharedManagers(void)
|
|
|
120
120
|
return [_callManager callConference:conferenceId];
|
|
121
121
|
}
|
|
122
122
|
|
|
123
|
-
- (
|
|
123
|
+
- (NSNumber *)sendDTMF:(NSString *)callId key:(NSString *)key
|
|
124
124
|
{
|
|
125
|
-
|
|
125
|
+
// the codegen spec returns NSNumber for a boolean: a BOOL here crashes the call
|
|
126
|
+
return @([_callManager sendDTMF:callId key:key]);
|
|
126
127
|
}
|
|
127
128
|
|
|
128
129
|
- (void)configureCustomIncomingCallPush:(NSString *)idField displayField:(NSString *)displayField
|
|
@@ -171,11 +172,11 @@ static void SinchCallingEnsureSharedManagers(void)
|
|
|
171
172
|
// Android only — iOS uses CallKit's own system UI, nothing to customize here.
|
|
172
173
|
}
|
|
173
174
|
|
|
174
|
-
- (
|
|
175
|
+
- (NSNumber *)isFullScreenIntentPermissionGranted
|
|
175
176
|
{
|
|
176
177
|
// Android only — this whole permission concept doesn't exist on iOS,
|
|
177
178
|
// which uses CallKit's own system UI (no equivalent revocable permission).
|
|
178
|
-
return YES;
|
|
179
|
+
return @YES;
|
|
179
180
|
}
|
|
180
181
|
|
|
181
182
|
- (void)requestFullScreenIntentPermission
|
package/package.json
CHANGED