File tree 3 files changed +13
-2
lines changed 3 files changed +13
-2
lines changed Original file line number Diff line number Diff line change 20
20
<option name =" MANIFEST_FILE_RELATIVE_PATH" value =" /src/main/AndroidManifest.xml" />
21
21
<option name =" RES_FOLDER_RELATIVE_PATH" value =" /src/main/res" />
22
22
<option name =" RES_FOLDERS_RELATIVE_PATH" value =" file://$MODULE_DIR$/build/generated/res/rs/debug;file://$MODULE_DIR$/build/generated/res/resValues/debug" />
23
- <option name =" TEST_RES_FOLDERS_RELATIVE_PATH" value =" file://$MODULE_DIR$/build/generated/res/rs/androidTest/debug " />
23
+ <option name =" TEST_RES_FOLDERS_RELATIVE_PATH" value =" " />
24
24
<option name =" ASSETS_FOLDER_RELATIVE_PATH" value =" /src/main/assets" />
25
25
<option name =" PROJECT_TYPE" value =" 1" />
26
26
</configuration >
Original file line number Diff line number Diff line change @@ -463,15 +463,26 @@ + (BOOL)application:(UIApplication *)application
463
463
NSString *handle;
464
464
BOOL isAudioCall;
465
465
BOOL isVideoCall;
466
+
467
+ // HACK TO AVOID XCODE 10 COMPILE CRASH
468
+ // REMOVE ON NEXT MAJOR RELEASE OF RNCALLKIT
469
+ #if __IPHONE_OS_VERSION_MAX_ALLOWED >= 130000
470
+ // XCode 11
466
471
// iOS 13 returns an INStartCallIntent userActivity type
467
472
if (@available (iOS 13 , *)) {
468
473
INStartCallIntent *intent = (INStartCallIntent*)interaction.intent ;
469
474
isAudioCall = intent.callCapability == INCallCapabilityAudioCall;
470
475
isVideoCall = intent.callCapability == INCallCapabilityVideoCall;
471
476
} else {
477
+ #endif
478
+ // XCode 10 and below
472
479
isAudioCall = [userActivity.activityType isEqualToString: INStartAudioCallIntentIdentifier];
473
480
isVideoCall = [userActivity.activityType isEqualToString: INStartVideoCallIntentIdentifier];
481
+ // HACK TO AVOID XCODE 10 COMPILE CRASH
482
+ // REMOVE ON NEXT MAJOR RELEASE OF RNCALLKIT
483
+ #if __IPHONE_OS_VERSION_MAX_ALLOWED >= 130000
474
484
}
485
+ #endif
475
486
476
487
if (isAudioCall) {
477
488
INStartAudioCallIntent *startAudioCallIntent = (INStartAudioCallIntent *)interaction.intent ;
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " react-native-callkeep" ,
3
- "version" : " 3.0.3 " ,
3
+ "version" : " 3.0.4 " ,
4
4
"description" : " iOS 10 CallKit and Android ConnectionService Framework For React Native" ,
5
5
"main" : " index.js" ,
6
6
"scripts" : {},
You can’t perform that action at this time.
0 commit comments