Based on React Native and ReactNativePJSIP
$ git clone https://github.com/tariq86/rn-sip-app
$ cd rn-sip-app
$ npm install
If you want to fix the yellow warnings that pop up when first opening the app, you'll need to perform the following module edits in XCode:
Libraries
> RNCallKit.xcodeproj
> RNCallKit
> RNCallKit.m
(instancetype)init
function closing bracket (around line 52):+ (BOOL)requiresMainQueueSetup
{
return NO;
}
npm run ios
command if the app is already runningTo run on Android, you can run either npm run android
(recommended) or react-native run-android
from the project root directory.
To run on iOS, you can call either npm run ios
(recommended) or react-native run-ios
from the project root directory.