@kaleyra/video-react-native-module 1.0.1 → 1.1.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.
- package/README.md +12 -0
- package/android/src/main/assets/kaleyra_video_wrapper_info.txt +1 -1
- package/ios/PluginInfo/_KaleyraVideoHybridVersionInfo.swift +1 -1
- package/native-bridge/android/build.gradle +6 -15
- package/native-bridge/iOS/KaleyraVideoHybridNativeBridge.xcodeproj/project.pbxproj +46 -46
- package/native-bridge/iOS/Podfile +1 -12
- package/native-bridge/iOS/Podfile.lock +6 -6
- package/native-bridge/iOS/Source/Abstractions/BandyerSDKProtocol.swift +1 -0
- package/native-bridge/iOS/Source/NativeHybridBridge/VideoHybridNativeBridge.swift +4 -4
- package/package.json +2 -1
- package/video-react-native-module.podspec +1 -1
package/README.md
CHANGED
|
@@ -305,6 +305,18 @@ Example of acceptable payload
|
|
|
305
305
|
}
|
|
306
306
|
```
|
|
307
307
|
|
|
308
|
+
## Proguard
|
|
309
|
+
```groovy
|
|
310
|
+
# Bandyer now Kaleyra proprietary SDK
|
|
311
|
+
-keep class com.bandyer.** { *; }
|
|
312
|
+
-keep interface com.bandyer.** { *; }
|
|
313
|
+
-keep enum com.bandyer.** { *; }
|
|
314
|
+
|
|
315
|
+
-keep class com.kaleyra.** { *; }
|
|
316
|
+
-keep interface com.kaleyra.** { *; }
|
|
317
|
+
-keep enum com.kaleyra.** { *; }
|
|
318
|
+
```
|
|
319
|
+
|
|
308
320
|
## TSDoc
|
|
309
321
|
|
|
310
322
|
The API documentation is available on the github pages link:
|
|
@@ -1 +1 @@
|
|
|
1
|
-
React/1.0
|
|
1
|
+
React/1.1.0
|
|
@@ -28,22 +28,13 @@ apply plugin: 'kotlin-android'
|
|
|
28
28
|
apply plugin: 'kotlin-kapt'
|
|
29
29
|
|
|
30
30
|
android {
|
|
31
|
-
compileSdkVersion
|
|
31
|
+
compileSdkVersion project.hasProperty('compileSdkVersion') ? rootProject.ext.compileSdkVersion : 33
|
|
32
32
|
|
|
33
33
|
defaultConfig {
|
|
34
|
-
minSdkVersion
|
|
34
|
+
minSdkVersion project.hasProperty('minSdkVersion') ? rootProject.ext.minSdkVersion : 22
|
|
35
35
|
testInstrumentationRunner "com.kaleyra.video_hybrid_native_bridge.utils.RandomRunner"
|
|
36
36
|
}
|
|
37
37
|
|
|
38
|
-
compileOptions {
|
|
39
|
-
sourceCompatibility JavaVersion.VERSION_1_8
|
|
40
|
-
targetCompatibility JavaVersion.VERSION_1_8
|
|
41
|
-
}
|
|
42
|
-
|
|
43
|
-
kotlinOptions {
|
|
44
|
-
jvmTarget = '1.8'
|
|
45
|
-
}
|
|
46
|
-
|
|
47
38
|
sourceSets {
|
|
48
39
|
main.java.srcDirs += 'src/main/kotlin'
|
|
49
40
|
}
|
|
@@ -56,12 +47,12 @@ android {
|
|
|
56
47
|
|
|
57
48
|
dependencies {
|
|
58
49
|
implementation 'com.google.code.gson:gson:2.9.1'
|
|
59
|
-
implementation "com.kaleyra:collaboration-suite-utils:3.0.
|
|
60
|
-
implementation "com.bandyer:bandyer-android-sdk:3.
|
|
50
|
+
implementation "com.kaleyra:collaboration-suite-utils:3.0.6"
|
|
51
|
+
implementation "com.bandyer:bandyer-android-sdk:3.7.2"
|
|
61
52
|
implementation "org.jetbrains.kotlin:kotlin-reflect:$kotlin_version"
|
|
62
53
|
compileOnly "org.jetbrains.kotlinx:kotlinx-serialization-json:1.3.1"
|
|
63
|
-
implementation "androidx.room:room-runtime:2.4.
|
|
64
|
-
kapt "androidx.room:room-compiler:2.4.
|
|
54
|
+
implementation "androidx.room:room-runtime:2.4.0-beta02"
|
|
55
|
+
kapt "androidx.room:room-compiler:2.4.0-beta02"
|
|
65
56
|
|
|
66
57
|
/*** Testing ***/
|
|
67
58
|
testImplementation 'junit:junit:4.13.2'
|
|
@@ -7,8 +7,8 @@
|
|
|
7
7
|
objects = {
|
|
8
8
|
|
|
9
9
|
/* Begin PBXBuildFile section */
|
|
10
|
-
|
|
11
|
-
|
|
10
|
+
76F386C72A8629D7FEEA9772 /* Pods_KaleyraVideoHybridNativeBridge.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 3C77C58764B5DB5F383BE462 /* Pods_KaleyraVideoHybridNativeBridge.framework */; };
|
|
11
|
+
9F6CF28AAAF0D5AA9DD43E82 /* Pods_KaleyraVideoHybridNativeBridge_KaleyraVideoHybridNativeBridgeTests.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 2C1BE0F8F5443147BF27F063 /* Pods_KaleyraVideoHybridNativeBridge_KaleyraVideoHybridNativeBridgeTests.framework */; };
|
|
12
12
|
F931C8AF29DECE2400194E1D /* URL+FromString.swift in Sources */ = {isa = PBXBuildFile; fileRef = F931C8AE29DECE2400194E1D /* URL+FromString.swift */; };
|
|
13
13
|
F931C8B229DECF7600194E1D /* URL+FromStringTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = F931C8B129DECF7600194E1D /* URL+FromStringTests.swift */; };
|
|
14
14
|
F931C8B429DEF24600194E1D /* KaleyraVideoSDKUserInterfacePresenter.swift in Sources */ = {isa = PBXBuildFile; fileRef = F931C8B329DEF24600194E1D /* KaleyraVideoSDKUserInterfacePresenter.swift */; };
|
|
@@ -165,12 +165,12 @@
|
|
|
165
165
|
/* End PBXContainerItemProxy section */
|
|
166
166
|
|
|
167
167
|
/* Begin PBXFileReference section */
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
168
|
+
2C1BE0F8F5443147BF27F063 /* Pods_KaleyraVideoHybridNativeBridge_KaleyraVideoHybridNativeBridgeTests.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_KaleyraVideoHybridNativeBridge_KaleyraVideoHybridNativeBridgeTests.framework; sourceTree = BUILT_PRODUCTS_DIR; };
|
|
169
|
+
31B2D50C090D5E6076BD39E0 /* Pods-KaleyraVideoHybridNativeBridge.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-KaleyraVideoHybridNativeBridge.release.xcconfig"; path = "Target Support Files/Pods-KaleyraVideoHybridNativeBridge/Pods-KaleyraVideoHybridNativeBridge.release.xcconfig"; sourceTree = "<group>"; };
|
|
170
|
+
3C77C58764B5DB5F383BE462 /* Pods_KaleyraVideoHybridNativeBridge.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_KaleyraVideoHybridNativeBridge.framework; sourceTree = BUILT_PRODUCTS_DIR; };
|
|
171
|
+
8AFE6A0D76614CF3A1055AFB /* Pods-KaleyraVideoHybridNativeBridge.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-KaleyraVideoHybridNativeBridge.debug.xcconfig"; path = "Target Support Files/Pods-KaleyraVideoHybridNativeBridge/Pods-KaleyraVideoHybridNativeBridge.debug.xcconfig"; sourceTree = "<group>"; };
|
|
172
|
+
9FDA74BAD258248FC14F9BB1 /* Pods-KaleyraVideoHybridNativeBridge-KaleyraVideoHybridNativeBridgeTests.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-KaleyraVideoHybridNativeBridge-KaleyraVideoHybridNativeBridgeTests.debug.xcconfig"; path = "Target Support Files/Pods-KaleyraVideoHybridNativeBridge-KaleyraVideoHybridNativeBridgeTests/Pods-KaleyraVideoHybridNativeBridge-KaleyraVideoHybridNativeBridgeTests.debug.xcconfig"; sourceTree = "<group>"; };
|
|
173
|
+
B73D5754EF9B7B724563F429 /* Pods-KaleyraVideoHybridNativeBridge-KaleyraVideoHybridNativeBridgeTests.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-KaleyraVideoHybridNativeBridge-KaleyraVideoHybridNativeBridgeTests.release.xcconfig"; path = "Target Support Files/Pods-KaleyraVideoHybridNativeBridge-KaleyraVideoHybridNativeBridgeTests/Pods-KaleyraVideoHybridNativeBridge-KaleyraVideoHybridNativeBridgeTests.release.xcconfig"; sourceTree = "<group>"; };
|
|
174
174
|
F931C8AE29DECE2400194E1D /* URL+FromString.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = "URL+FromString.swift"; sourceTree = "<group>"; };
|
|
175
175
|
F931C8B129DECF7600194E1D /* URL+FromStringTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = "URL+FromStringTests.swift"; sourceTree = "<group>"; };
|
|
176
176
|
F931C8B329DEF24600194E1D /* KaleyraVideoSDKUserInterfacePresenter.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = KaleyraVideoSDKUserInterfacePresenter.swift; sourceTree = "<group>"; };
|
|
@@ -322,7 +322,7 @@
|
|
|
322
322
|
isa = PBXFrameworksBuildPhase;
|
|
323
323
|
buildActionMask = 2147483647;
|
|
324
324
|
files = (
|
|
325
|
-
|
|
325
|
+
76F386C72A8629D7FEEA9772 /* Pods_KaleyraVideoHybridNativeBridge.framework in Frameworks */,
|
|
326
326
|
);
|
|
327
327
|
runOnlyForDeploymentPostprocessing = 0;
|
|
328
328
|
};
|
|
@@ -331,7 +331,7 @@
|
|
|
331
331
|
buildActionMask = 2147483647;
|
|
332
332
|
files = (
|
|
333
333
|
F9875C7529A661FC00A91C93 /* KaleyraVideoHybridNativeBridge.framework in Frameworks */,
|
|
334
|
-
|
|
334
|
+
9F6CF28AAAF0D5AA9DD43E82 /* Pods_KaleyraVideoHybridNativeBridge_KaleyraVideoHybridNativeBridgeTests.framework in Frameworks */,
|
|
335
335
|
);
|
|
336
336
|
runOnlyForDeploymentPostprocessing = 0;
|
|
337
337
|
};
|
|
@@ -341,19 +341,19 @@
|
|
|
341
341
|
A04417F243B917842D1D4244 /* Pods */ = {
|
|
342
342
|
isa = PBXGroup;
|
|
343
343
|
children = (
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
344
|
+
8AFE6A0D76614CF3A1055AFB /* Pods-KaleyraVideoHybridNativeBridge.debug.xcconfig */,
|
|
345
|
+
31B2D50C090D5E6076BD39E0 /* Pods-KaleyraVideoHybridNativeBridge.release.xcconfig */,
|
|
346
|
+
9FDA74BAD258248FC14F9BB1 /* Pods-KaleyraVideoHybridNativeBridge-KaleyraVideoHybridNativeBridgeTests.debug.xcconfig */,
|
|
347
|
+
B73D5754EF9B7B724563F429 /* Pods-KaleyraVideoHybridNativeBridge-KaleyraVideoHybridNativeBridgeTests.release.xcconfig */,
|
|
348
348
|
);
|
|
349
349
|
path = Pods;
|
|
350
350
|
sourceTree = "<group>";
|
|
351
351
|
};
|
|
352
|
-
|
|
352
|
+
BFFEF6AB45F582862D1DA1C9 /* Frameworks */ = {
|
|
353
353
|
isa = PBXGroup;
|
|
354
354
|
children = (
|
|
355
|
-
|
|
356
|
-
|
|
355
|
+
3C77C58764B5DB5F383BE462 /* Pods_KaleyraVideoHybridNativeBridge.framework */,
|
|
356
|
+
2C1BE0F8F5443147BF27F063 /* Pods_KaleyraVideoHybridNativeBridge_KaleyraVideoHybridNativeBridgeTests.framework */,
|
|
357
357
|
);
|
|
358
358
|
name = Frameworks;
|
|
359
359
|
sourceTree = "<group>";
|
|
@@ -398,7 +398,7 @@
|
|
|
398
398
|
F9875C7829A661FC00A91C93 /* Tests */,
|
|
399
399
|
F9875C6D29A661FC00A91C93 /* Products */,
|
|
400
400
|
A04417F243B917842D1D4244 /* Pods */,
|
|
401
|
-
|
|
401
|
+
BFFEF6AB45F582862D1DA1C9 /* Frameworks */,
|
|
402
402
|
);
|
|
403
403
|
sourceTree = "<group>";
|
|
404
404
|
};
|
|
@@ -832,7 +832,7 @@
|
|
|
832
832
|
isa = PBXNativeTarget;
|
|
833
833
|
buildConfigurationList = F9875C7E29A661FC00A91C93 /* Build configuration list for PBXNativeTarget "KaleyraVideoHybridNativeBridge" */;
|
|
834
834
|
buildPhases = (
|
|
835
|
-
|
|
835
|
+
D4A6F65CD1B366B5FE70494E /* [CP] Check Pods Manifest.lock */,
|
|
836
836
|
F9875C6729A661FC00A91C93 /* Headers */,
|
|
837
837
|
F9875C6829A661FC00A91C93 /* Sources */,
|
|
838
838
|
F9875C6929A661FC00A91C93 /* Frameworks */,
|
|
@@ -851,11 +851,11 @@
|
|
|
851
851
|
isa = PBXNativeTarget;
|
|
852
852
|
buildConfigurationList = F9875C8129A661FC00A91C93 /* Build configuration list for PBXNativeTarget "KaleyraVideoHybridNativeBridgeTests" */;
|
|
853
853
|
buildPhases = (
|
|
854
|
-
|
|
854
|
+
1D220D8FD79E0C49D895887D /* [CP] Check Pods Manifest.lock */,
|
|
855
855
|
F9875C7029A661FC00A91C93 /* Sources */,
|
|
856
856
|
F9875C7129A661FC00A91C93 /* Frameworks */,
|
|
857
857
|
F9875C7229A661FC00A91C93 /* Resources */,
|
|
858
|
-
|
|
858
|
+
85937B93FAE28ABA6CBBA1CF /* [CP] Embed Pods Frameworks */,
|
|
859
859
|
);
|
|
860
860
|
buildRules = (
|
|
861
861
|
);
|
|
@@ -934,7 +934,7 @@
|
|
|
934
934
|
/* End PBXResourcesBuildPhase section */
|
|
935
935
|
|
|
936
936
|
/* Begin PBXShellScriptBuildPhase section */
|
|
937
|
-
|
|
937
|
+
1D220D8FD79E0C49D895887D /* [CP] Check Pods Manifest.lock */ = {
|
|
938
938
|
isa = PBXShellScriptBuildPhase;
|
|
939
939
|
buildActionMask = 2147483647;
|
|
940
940
|
files = (
|
|
@@ -949,50 +949,50 @@
|
|
|
949
949
|
outputFileListPaths = (
|
|
950
950
|
);
|
|
951
951
|
outputPaths = (
|
|
952
|
-
"$(DERIVED_FILE_DIR)/Pods-KaleyraVideoHybridNativeBridge-checkManifestLockResult.txt",
|
|
952
|
+
"$(DERIVED_FILE_DIR)/Pods-KaleyraVideoHybridNativeBridge-KaleyraVideoHybridNativeBridgeTests-checkManifestLockResult.txt",
|
|
953
953
|
);
|
|
954
954
|
runOnlyForDeploymentPostprocessing = 0;
|
|
955
955
|
shellPath = /bin/sh;
|
|
956
956
|
shellScript = "diff \"${PODS_PODFILE_DIR_PATH}/Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [ $? != 0 ] ; then\n # print error to STDERR\n echo \"error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\" >&2\n exit 1\nfi\n# This output is used by Xcode 'outputs' to avoid re-running this script phase.\necho \"SUCCESS\" > \"${SCRIPT_OUTPUT_FILE_0}\"\n";
|
|
957
957
|
showEnvVarsInLog = 0;
|
|
958
958
|
};
|
|
959
|
-
|
|
959
|
+
85937B93FAE28ABA6CBBA1CF /* [CP] Embed Pods Frameworks */ = {
|
|
960
960
|
isa = PBXShellScriptBuildPhase;
|
|
961
961
|
buildActionMask = 2147483647;
|
|
962
962
|
files = (
|
|
963
963
|
);
|
|
964
964
|
inputFileListPaths = (
|
|
965
|
+
"${PODS_ROOT}/Target Support Files/Pods-KaleyraVideoHybridNativeBridge-KaleyraVideoHybridNativeBridgeTests/Pods-KaleyraVideoHybridNativeBridge-KaleyraVideoHybridNativeBridgeTests-frameworks-${CONFIGURATION}-input-files.xcfilelist",
|
|
965
966
|
);
|
|
966
|
-
|
|
967
|
-
"${PODS_PODFILE_DIR_PATH}/Podfile.lock",
|
|
968
|
-
"${PODS_ROOT}/Manifest.lock",
|
|
969
|
-
);
|
|
970
|
-
name = "[CP] Check Pods Manifest.lock";
|
|
967
|
+
name = "[CP] Embed Pods Frameworks";
|
|
971
968
|
outputFileListPaths = (
|
|
972
|
-
|
|
973
|
-
outputPaths = (
|
|
974
|
-
"$(DERIVED_FILE_DIR)/Pods-KaleyraVideoHybridNativeBridge-KaleyraVideoHybridNativeBridgeTests-checkManifestLockResult.txt",
|
|
969
|
+
"${PODS_ROOT}/Target Support Files/Pods-KaleyraVideoHybridNativeBridge-KaleyraVideoHybridNativeBridgeTests/Pods-KaleyraVideoHybridNativeBridge-KaleyraVideoHybridNativeBridgeTests-frameworks-${CONFIGURATION}-output-files.xcfilelist",
|
|
975
970
|
);
|
|
976
971
|
runOnlyForDeploymentPostprocessing = 0;
|
|
977
972
|
shellPath = /bin/sh;
|
|
978
|
-
shellScript = "
|
|
973
|
+
shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-KaleyraVideoHybridNativeBridge-KaleyraVideoHybridNativeBridgeTests/Pods-KaleyraVideoHybridNativeBridge-KaleyraVideoHybridNativeBridgeTests-frameworks.sh\"\n";
|
|
979
974
|
showEnvVarsInLog = 0;
|
|
980
975
|
};
|
|
981
|
-
|
|
976
|
+
D4A6F65CD1B366B5FE70494E /* [CP] Check Pods Manifest.lock */ = {
|
|
982
977
|
isa = PBXShellScriptBuildPhase;
|
|
983
978
|
buildActionMask = 2147483647;
|
|
984
979
|
files = (
|
|
985
980
|
);
|
|
986
981
|
inputFileListPaths = (
|
|
987
|
-
"${PODS_ROOT}/Target Support Files/Pods-KaleyraVideoHybridNativeBridge-KaleyraVideoHybridNativeBridgeTests/Pods-KaleyraVideoHybridNativeBridge-KaleyraVideoHybridNativeBridgeTests-frameworks-${CONFIGURATION}-input-files.xcfilelist",
|
|
988
982
|
);
|
|
989
|
-
|
|
983
|
+
inputPaths = (
|
|
984
|
+
"${PODS_PODFILE_DIR_PATH}/Podfile.lock",
|
|
985
|
+
"${PODS_ROOT}/Manifest.lock",
|
|
986
|
+
);
|
|
987
|
+
name = "[CP] Check Pods Manifest.lock";
|
|
990
988
|
outputFileListPaths = (
|
|
991
|
-
|
|
989
|
+
);
|
|
990
|
+
outputPaths = (
|
|
991
|
+
"$(DERIVED_FILE_DIR)/Pods-KaleyraVideoHybridNativeBridge-checkManifestLockResult.txt",
|
|
992
992
|
);
|
|
993
993
|
runOnlyForDeploymentPostprocessing = 0;
|
|
994
994
|
shellPath = /bin/sh;
|
|
995
|
-
shellScript = "\"${PODS_ROOT}/
|
|
995
|
+
shellScript = "diff \"${PODS_PODFILE_DIR_PATH}/Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [ $? != 0 ] ; then\n # print error to STDERR\n echo \"error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\" >&2\n exit 1\nfi\n# This output is used by Xcode 'outputs' to avoid re-running this script phase.\necho \"SUCCESS\" > \"${SCRIPT_OUTPUT_FILE_0}\"\n";
|
|
996
996
|
showEnvVarsInLog = 0;
|
|
997
997
|
};
|
|
998
998
|
/* End PBXShellScriptBuildPhase section */
|
|
@@ -1275,7 +1275,7 @@
|
|
|
1275
1275
|
};
|
|
1276
1276
|
F9875C7F29A661FC00A91C93 /* Debug */ = {
|
|
1277
1277
|
isa = XCBuildConfiguration;
|
|
1278
|
-
baseConfigurationReference =
|
|
1278
|
+
baseConfigurationReference = 8AFE6A0D76614CF3A1055AFB /* Pods-KaleyraVideoHybridNativeBridge.debug.xcconfig */;
|
|
1279
1279
|
buildSettings = {
|
|
1280
1280
|
CODE_SIGN_STYLE = Automatic;
|
|
1281
1281
|
CURRENT_PROJECT_VERSION = 1;
|
|
@@ -1287,7 +1287,7 @@
|
|
|
1287
1287
|
GENERATE_INFOPLIST_FILE = YES;
|
|
1288
1288
|
INFOPLIST_KEY_NSHumanReadableCopyright = "";
|
|
1289
1289
|
INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks";
|
|
1290
|
-
IPHONEOS_DEPLOYMENT_TARGET =
|
|
1290
|
+
IPHONEOS_DEPLOYMENT_TARGET = 12.0;
|
|
1291
1291
|
LD_RUNPATH_SEARCH_PATHS = (
|
|
1292
1292
|
"$(inherited)",
|
|
1293
1293
|
"@executable_path/Frameworks",
|
|
@@ -1305,7 +1305,7 @@
|
|
|
1305
1305
|
};
|
|
1306
1306
|
F9875C8029A661FC00A91C93 /* Release */ = {
|
|
1307
1307
|
isa = XCBuildConfiguration;
|
|
1308
|
-
baseConfigurationReference =
|
|
1308
|
+
baseConfigurationReference = 31B2D50C090D5E6076BD39E0 /* Pods-KaleyraVideoHybridNativeBridge.release.xcconfig */;
|
|
1309
1309
|
buildSettings = {
|
|
1310
1310
|
CODE_SIGN_STYLE = Automatic;
|
|
1311
1311
|
CURRENT_PROJECT_VERSION = 1;
|
|
@@ -1317,7 +1317,7 @@
|
|
|
1317
1317
|
GENERATE_INFOPLIST_FILE = YES;
|
|
1318
1318
|
INFOPLIST_KEY_NSHumanReadableCopyright = "";
|
|
1319
1319
|
INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks";
|
|
1320
|
-
IPHONEOS_DEPLOYMENT_TARGET =
|
|
1320
|
+
IPHONEOS_DEPLOYMENT_TARGET = 12.0;
|
|
1321
1321
|
LD_RUNPATH_SEARCH_PATHS = (
|
|
1322
1322
|
"$(inherited)",
|
|
1323
1323
|
"@executable_path/Frameworks",
|
|
@@ -1335,14 +1335,14 @@
|
|
|
1335
1335
|
};
|
|
1336
1336
|
F9875C8229A661FC00A91C93 /* Debug */ = {
|
|
1337
1337
|
isa = XCBuildConfiguration;
|
|
1338
|
-
baseConfigurationReference =
|
|
1338
|
+
baseConfigurationReference = 9FDA74BAD258248FC14F9BB1 /* Pods-KaleyraVideoHybridNativeBridge-KaleyraVideoHybridNativeBridgeTests.debug.xcconfig */;
|
|
1339
1339
|
buildSettings = {
|
|
1340
1340
|
ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = "$(inherited)";
|
|
1341
1341
|
CODE_SIGN_STYLE = Automatic;
|
|
1342
1342
|
CURRENT_PROJECT_VERSION = 1;
|
|
1343
1343
|
DEVELOPMENT_TEAM = TQ49746752;
|
|
1344
1344
|
GENERATE_INFOPLIST_FILE = YES;
|
|
1345
|
-
IPHONEOS_DEPLOYMENT_TARGET =
|
|
1345
|
+
IPHONEOS_DEPLOYMENT_TARGET = 12.0;
|
|
1346
1346
|
MARKETING_VERSION = 1.0;
|
|
1347
1347
|
PRODUCT_BUNDLE_IDENTIFIER = com.kaleyra.VideoHybidNativeBridgeTests;
|
|
1348
1348
|
PRODUCT_NAME = "$(TARGET_NAME)";
|
|
@@ -1354,14 +1354,14 @@
|
|
|
1354
1354
|
};
|
|
1355
1355
|
F9875C8329A661FC00A91C93 /* Release */ = {
|
|
1356
1356
|
isa = XCBuildConfiguration;
|
|
1357
|
-
baseConfigurationReference =
|
|
1357
|
+
baseConfigurationReference = B73D5754EF9B7B724563F429 /* Pods-KaleyraVideoHybridNativeBridge-KaleyraVideoHybridNativeBridgeTests.release.xcconfig */;
|
|
1358
1358
|
buildSettings = {
|
|
1359
1359
|
ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = "$(inherited)";
|
|
1360
1360
|
CODE_SIGN_STYLE = Automatic;
|
|
1361
1361
|
CURRENT_PROJECT_VERSION = 1;
|
|
1362
1362
|
DEVELOPMENT_TEAM = TQ49746752;
|
|
1363
1363
|
GENERATE_INFOPLIST_FILE = YES;
|
|
1364
|
-
IPHONEOS_DEPLOYMENT_TARGET =
|
|
1364
|
+
IPHONEOS_DEPLOYMENT_TARGET = 12.0;
|
|
1365
1365
|
MARKETING_VERSION = 1.0;
|
|
1366
1366
|
PRODUCT_BUNDLE_IDENTIFIER = com.kaleyra.VideoHybidNativeBridgeTests;
|
|
1367
1367
|
PRODUCT_NAME = "$(TARGET_NAME)";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
# Copyright © 2018-2023 Kaleyra S.p.a. All Rights Reserved.
|
|
2
2
|
# See LICENSE for licensing information
|
|
3
3
|
|
|
4
|
-
platform :ios, '
|
|
4
|
+
platform :ios, '12.0'
|
|
5
5
|
|
|
6
6
|
target 'KaleyraVideoHybridNativeBridge' do
|
|
7
7
|
use_frameworks!
|
|
@@ -15,14 +15,3 @@ target 'KaleyraVideoHybridNativeBridge' do
|
|
|
15
15
|
end
|
|
16
16
|
|
|
17
17
|
end
|
|
18
|
-
|
|
19
|
-
#This post_install script is needed after updating Xcode to 14.3 version, otherwise there will be compilation issues.
|
|
20
|
-
post_install do |installer|
|
|
21
|
-
installer.generated_projects.each do |project|
|
|
22
|
-
project.targets.each do |target|
|
|
23
|
-
target.build_configurations.each do |config|
|
|
24
|
-
config.build_settings['IPHONEOS_DEPLOYMENT_TARGET'] = '10.0'
|
|
25
|
-
end
|
|
26
|
-
end
|
|
27
|
-
end
|
|
28
|
-
end
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
PODS:
|
|
2
|
-
- Bandyer (3.
|
|
3
|
-
- SwiftHamcrest (2.2.
|
|
2
|
+
- Bandyer (3.9.0)
|
|
3
|
+
- SwiftHamcrest (2.2.4)
|
|
4
4
|
|
|
5
5
|
DEPENDENCIES:
|
|
6
6
|
- Bandyer
|
|
@@ -12,9 +12,9 @@ SPEC REPOS:
|
|
|
12
12
|
- SwiftHamcrest
|
|
13
13
|
|
|
14
14
|
SPEC CHECKSUMS:
|
|
15
|
-
Bandyer:
|
|
16
|
-
SwiftHamcrest:
|
|
15
|
+
Bandyer: 64a80517e7e1aff3ea49e0c32c1872e80fac17b6
|
|
16
|
+
SwiftHamcrest: a45dd878978049c0953259aa01c34fd7258d0340
|
|
17
17
|
|
|
18
|
-
PODFILE CHECKSUM:
|
|
18
|
+
PODFILE CHECKSUM: 66fc4f81333eb6e98b7f40196dbf5ee1fa5c1996
|
|
19
19
|
|
|
20
|
-
COCOAPODS: 1.
|
|
20
|
+
COCOAPODS: 1.14.2
|
|
@@ -136,6 +136,10 @@ class VideoHybridNativeBridge {
|
|
|
136
136
|
sdk.verifiedUser(verify, for: call, completion: nil)
|
|
137
137
|
}
|
|
138
138
|
|
|
139
|
+
func reset() {
|
|
140
|
+
sdk.reset()
|
|
141
|
+
}
|
|
142
|
+
|
|
139
143
|
// MARK: - Private Functions
|
|
140
144
|
|
|
141
145
|
private func configurePushEventsReporterIfNeeded(config: KaleyraVideoConfiguration) {
|
|
@@ -153,10 +157,6 @@ class VideoHybridNativeBridge {
|
|
|
153
157
|
|
|
154
158
|
// MARK: - Unsupported Features on iOS Platform
|
|
155
159
|
|
|
156
|
-
func reset() {
|
|
157
|
-
debugPrint("Reset is not supported for iOS platform.")
|
|
158
|
-
}
|
|
159
|
-
|
|
160
160
|
func clearUserCache() {
|
|
161
161
|
debugPrint("clearUserCache() is not supported for iOS platform.")
|
|
162
162
|
}
|
package/package.json
CHANGED
|
@@ -17,7 +17,7 @@ Pod::Spec.new do |s|
|
|
|
17
17
|
s.source_files = "ios/**/*.{h,m,mm,swift}", "native-bridge/iOS/Source/**/*.swift"
|
|
18
18
|
|
|
19
19
|
s.dependency "React-Core"
|
|
20
|
-
s.dependency "Bandyer", "~> 3.
|
|
20
|
+
s.dependency "Bandyer", "~> 3.10.0"
|
|
21
21
|
|
|
22
22
|
# Don't install the dependencies when we run `pod install` in the old architecture.
|
|
23
23
|
if ENV['RCT_NEW_ARCH_ENABLED'] == '1' then
|