How to use this with React Native Expo
How to use this with React Native Expo, thank you
I can only help you to configure for android device.
You have to execute npx expo prebuild to create android and ios folders.
1º - Go to build.gradle inside android/app, and add this inside dependencies {} :
implementation project(':react-native-incall-manager')
2º - Open settings.gradle inside android folder and add:
include ':react-native-incall-manager';
project(':react-native-incall-manager').projectDir = new File(rootProject.projectDir, '../node_modules/react-native-incall-manager/android')
3º - Open android/app/src/main/AndroidManifest.xml, and check if you have the following permissions:
<uses-permission android:name="android.permission.RECORD_AUDIO" />
<uses-permission android:name="android.permission.MODIFY_AUDIO_SETTINGS" />
<uses-permission android:name="android.permission.BLUETOOTH" />
Now, you can build your project using eas build or other method, and start using this lib.
I can only help you to configure for android device.
You have to execute npx expo prebuild to create android and ios folders.
1º - Go to build.gradle inside android/app, and add this inside dependencies {} :
implementation project(':react-native-incall-manager')2º - Open settings.gradle inside android folder and add:
include ':react-native-incall-manager'; project(':react-native-incall-manager').projectDir = new File(rootProject.projectDir, '../node_modules/react-native-incall-manager/android')3º - Open android/app/src/main/AndroidManifest.xml, and check if you have the following permissions:
<uses-permission android:name="android.permission.RECORD_AUDIO" /> <uses-permission android:name="android.permission.MODIFY_AUDIO_SETTINGS" /> <uses-permission android:name="android.permission.BLUETOOTH" />Now, you can build your project using eas build or other method, and start using this lib.
Thank you Ill try it out
i have written a plugin for expo you can use this expo-plugin)