rns-nativecall 0.0.7 → 0.0.8

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/CallModule.h CHANGED
@@ -1,7 +1,6 @@
1
- #import <CallKit/CallKit.h>
2
1
  #import <React/RCTBridgeModule.h>
3
2
  #import <React/RCTEventEmitter.h>
4
-
3
+ #import <CallKit/CallKit.h>
5
4
  @interface CallModule : RCTEventEmitter <RCTBridgeModule, CXProviderDelegate>
6
5
  @property(nonatomic, strong) CXProvider *provider;
7
6
  @end
package/ios/CallModule.m CHANGED
@@ -79,8 +79,8 @@ RCT_EXPORT_METHOD(endNativeCall:(NSString *)uuidString) {
79
79
 
80
80
  // Placeholder for Android parity
81
81
  RCT_EXPORT_METHOD(checkTelecomPermissions:(RCTPromiseResolveBlock)resolve
82
- reject:(RCTPromiseResolveBlock)reject) {
83
- resolve(@YES); // iOS permissions are handled via Info.plist and system prompts
82
+ reject:(RCTPromiseRejectBlock)reject) {
83
+ resolve(@YES);
84
84
  }
85
85
 
86
86
  // MARK: - CXProviderDelegate
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "rns-nativecall",
3
- "version": "0.0.7",
3
+ "version": "0.0.8",
4
4
  "description": "RNS nativecall component with native Android/iOS for handling native call ui, when app is not open or open.",
5
5
  "main": "index.js",
6
6
  "types": "index.d.ts",