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.
@@ -120,9 +120,10 @@ static void SinchCallingEnsureSharedManagers(void)
120
120
  return [_callManager callConference:conferenceId];
121
121
  }
122
122
 
123
- - (BOOL)sendDTMF:(NSString *)callId key:(NSString *)key
123
+ - (NSNumber *)sendDTMF:(NSString *)callId key:(NSString *)key
124
124
  {
125
- return [_callManager sendDTMF:callId key:key];
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
- - (BOOL)isFullScreenIntentPermissionGranted
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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-native-sinch-calling",
3
- "version": "0.12.0",
3
+ "version": "0.12.1",
4
4
  "description": "React Native TurboModule wrapper for Sinch Voice Calling SDK (Android & iOS)",
5
5
  "main": "./lib/module/index.js",
6
6
  "types": "./lib/typescript/src/index.d.ts",