You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
since ios part written in swift and it doesn't support static library yet.
65
-
before that, you should add this project manually:
63
+
before that, you should add this project manually
64
+
please do it step by step carefully :pray: :
66
65
67
66
-**Add files in to your project:**
68
67
@@ -77,6 +76,18 @@ before that, you should add this project manually:
77
76
1. click your `project's xcodeproject root`, go to `build setting` and search `Objective-C Bridging Header`
78
77
2. set you header location, the default path is: `ReactNativeProjectRoot/ios/`, in this case, you should set `../node_modules/react-native-incall-manager/ios/RNInCallManager/RNInCallManager-Bridging-Header.h`
79
78
79
+
-**Clean project if messed up:**
80
+
The installation steps are a bit complex, it might related your xcode version, xcode cache, converting swift version, and your own path configurations. if something messed up, please folow steps below to clean this project, then do it again steps by steps.
81
+
82
+
1. delete all project/directory in xcode related to incall-manager
83
+
2. delete `react-native-incall-manager` in node_modules ( rm -rf )
84
+
3. Xcode -> Product -> clean
85
+
4. close xcode
86
+
5. npm install again
87
+
6. open xcode and try the install process again steps by steps
88
+
89
+
if someone knows a simpler way to set this project up, let me know plz.
90
+
80
91
**optional sound files on android**
81
92
if you want to use bundled ringtone/ringback/busytone sound instead of system sound
82
93
@@ -263,6 +274,10 @@ note: ios only supports `auto` currently.
263
274
| startRingtone(`ringtone: string, ?vibrate_pattern: array, ?ios_category: string, ?seconds: number`) |:smile:|:smile:| play ringtone. </br>`ringtone`: '_DEFAULT_' or '_BUNDLE_'</br>`vibrate_pattern`: same as RN, but does not support repeat</br>`ios_category`: ios only, if you want to use specific audio category</br>`seconds`: android only, specify how long do you want to play rather than play once nor repeat. in sec.|
264
275
| stopRingtone() |:smile:|:smile:| stop play ringtone if previous started via `startRingtone()`|
265
276
| stopRingback() |:smile:|:smile:| stop play ringback if previous started via `start()`|
0 commit comments