diff --git a/android/build.gradle b/android/build.gradle index 676a0a7..60f5ebf 100644 --- a/android/build.gradle +++ b/android/build.gradle @@ -48,7 +48,7 @@ repositories { dependencies { implementation fileTree(dir: "libs", include: ["*.jar"]) implementation "com.facebook.react:react-native:+" - implementation "com.voximplant:voximplant-sdk:2.34.0" + implementation "com.voximplant:voximplant-sdk:2.35.2" implementation "androidx.annotation:annotation:1.5.0" } diff --git a/ios/RNVIAudioDeviceModule.h b/ios/RNVIAudioDeviceModule.h index 7ec21b5..b363745 100644 --- a/ios/RNVIAudioDeviceModule.h +++ b/ios/RNVIAudioDeviceModule.h @@ -4,7 +4,7 @@ #import #import -#import +#import #import "RCTBridgeModule.h" #import "RCTEventEmitter.h" diff --git a/ios/RNVIAudioFileManager.h b/ios/RNVIAudioFileManager.h index 864c6a0..460b810 100644 --- a/ios/RNVIAudioFileManager.h +++ b/ios/RNVIAudioFileManager.h @@ -2,7 +2,7 @@ * Copyright (c) 2011-2020, Zingaya, Inc. All rights reserved. */ -#import +#import @interface RNVIAudioFileManager : NSObject diff --git a/ios/RNVIAudioFileModule.h b/ios/RNVIAudioFileModule.h index 5f59603..482c7dd 100644 --- a/ios/RNVIAudioFileModule.h +++ b/ios/RNVIAudioFileModule.h @@ -2,7 +2,7 @@ * Copyright (c) 2011-2019, Zingaya, Inc. All rights reserved. */ -#import +#import #import #import #import "RCTBridgeModule.h" diff --git a/ios/RNVICallManager.h b/ios/RNVICallManager.h index 50eafea..1d4393a 100644 --- a/ios/RNVICallManager.h +++ b/ios/RNVICallManager.h @@ -2,7 +2,7 @@ * Copyright (c) 2011-2019, Zingaya, Inc. All rights reserved. */ -#import +#import @interface RNVICallManager : NSObject diff --git a/ios/RNVICallModule.h b/ios/RNVICallModule.h index 71b0aa3..3ac00ed 100644 --- a/ios/RNVICallModule.h +++ b/ios/RNVICallModule.h @@ -7,7 +7,7 @@ #import "RCTBridgeModule.h" #import "RCTEventEmitter.h" -#import +#import @interface RNVICallModule : RCTEventEmitter diff --git a/ios/RNVICameraModule.m b/ios/RNVICameraModule.m index c13196d..6e38198 100644 --- a/ios/RNVICameraModule.m +++ b/ios/RNVICameraModule.m @@ -5,7 +5,7 @@ #import "RNVICameraModule.h" #import "RCTBridgeModule.h" #import "RNVIConstants.h" -#import +#import @interface RNVICameraModule() @end @@ -30,7 +30,7 @@ @implementation RNVICameraModule RCT_REMAP_METHOD(setCameraResolution, setCameraWidth:(int)width andHeight:(int)height) { AVCaptureDevicePosition position = [VICameraManager sharedCameraManager].useBackCamera ? AVCaptureDevicePositionBack : AVCaptureDevicePositionFront; - + NSArray *captureDevices = [[VICameraManager sharedCameraManager] captureDevices]; AVCaptureDevice *captureDevice = captureDevices[0]; for (AVCaptureDevice *device in captureDevices) { @@ -44,7 +44,7 @@ @implementation RNVICameraModule int targetHeight = height; AVCaptureDeviceFormat *selectedFormat = nil; int currentDiff = INT_MAX; - + for (AVCaptureDeviceFormat *format in formats) { CMVideoDimensions dimension = CMVideoFormatDescriptionGetDimensions(format.formatDescription); int diff = abs(targetWidth - dimension.width) + abs(targetHeight - dimension.height); diff --git a/ios/RNVIClientModule.h b/ios/RNVIClientModule.h index 65bd44b..ff4ef58 100644 --- a/ios/RNVIClientModule.h +++ b/ios/RNVIClientModule.h @@ -7,7 +7,7 @@ #import #import -#import +#import @interface RNVIClientModule : RCTEventEmitter + (NSUUID *)uuidForPushNotification:(NSDictionary *)notification; diff --git a/ios/RNVIMessagingModule.h b/ios/RNVIMessagingModule.h index 3bacc3d..bcfff72 100644 --- a/ios/RNVIMessagingModule.h +++ b/ios/RNVIMessagingModule.h @@ -7,7 +7,7 @@ #import "RCTBridgeModule.h" #import "RCTEventEmitter.h" -#import +#import @interface RNVIMessagingModule : RCTEventEmitter @end diff --git a/ios/RNVIUtils.h b/ios/RNVIUtils.h index 353be59..7293da4 100644 --- a/ios/RNVIUtils.h +++ b/ios/RNVIUtils.h @@ -4,7 +4,7 @@ #import -#import +#import @interface RNVIUtils : NSObject + (NSData *)dataFromHexString:(NSString *)string; diff --git a/ios/RNVIVideoViewImpl.m b/ios/RNVIVideoViewImpl.m index 3cb4d03..50bc2f7 100644 --- a/ios/RNVIVideoViewImpl.m +++ b/ios/RNVIVideoViewImpl.m @@ -4,7 +4,7 @@ */ #import "RNVIVideoViewImpl.h" -#import +#import #import "RNVICallManager.h" #import "RNVIUtils.h" diff --git a/react-native-voximplant.podspec b/react-native-voximplant.podspec index 264e37d..db4822b 100644 --- a/react-native-voximplant.podspec +++ b/react-native-voximplant.podspec @@ -11,7 +11,7 @@ Pod::Spec.new do |s| s.source = {:path => './ios/'} s.summary = 'RN voximplant' s.version = '1.36.0' - s.dependency 'VoxImplantSDK', '2.46.11' + s.dependency 'VoxImplantSDK', '2.47.0' if fabric_enabled s.compiler_flags = folly_compiler_flags + " -DRCT_NEW_ARCH_ENABLED=1" s.pod_target_xcconfig = {