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
* Fixed typo and grammar
* Adds requiresMainQueueSetup
Fixed error being throw `"RNInCallManager requires main queue setup
since it overrides `init` but doesn't implement `requiresMainQueueSetup`".`
* Detect hardware button press event and react to it.
27
-
ex: press bluetooth button, send event to JS to answer/hangup.
27
+
ex: press bluetooth button, send an event to JS to answer/hangup.
28
28
ex: press power button to mute incoming ringtone.
29
29
* Use config-based to decide which event should start and report. maybe control behavior as well.
30
30
* Flash API on Android.
@@ -109,7 +109,7 @@ In case `react-native link` doesn't work,
109
109
110
110
#### Clean project if messed up:
111
111
112
-
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.
112
+
The installation steps are a bit complex, it might be related your xcode version, xcode cache, converting swift version, and your own path configurations. if something messed up, please follow steps below to clean this project, then do it again steps by steps.
113
113
114
114
1. Delete all project/directory in xcode related to incall-manager
115
115
2. Delete `react-native-incall-manager` in node_modules ( rm -rf )
@@ -260,10 +260,10 @@ Then you can test it on android 6 now.
260
260
261
261
If you change targetSdkVersion to 23, the `red box` which React Native used to display errors in development mode requires permission `Draw Over Other Apps`.
262
262
So in **development mode**, you should manually grant permission in `app settings` on your device or declare `android.permission.SYSTEM_ALERT_WINDOW` in your manifest.
263
-
You don't have to do this in **release mode** since there are no red box.
263
+
You don't have to do this in **release mode** since there is no red box.
264
264
265
265
266
-
Checkout this awesome project: [react-native-android-permissions](https://github.com/lucasferreira/react-native-android-permissions) by @lucasferreira for more information.
266
+
Check out this awesome project: [react-native-android-permissions](https://github.com/lucasferreira/react-native-android-permissions) by @lucasferreira for more information.
267
267
268
268
269
269
## Automatic Basic Behavior:
@@ -272,8 +272,8 @@ Checkout this awesome project: [react-native-android-permissions](https://github
272
272
* Store current settings, set KeepScreenOn flag = true, and register some event listeners.
273
273
* If media type is `audio`, route voice to earpiece, otherwise route to speaker.
274
274
* Audio will enable proximity sensor which is disabled by default if media=video
275
-
* When proximity detect user closed to screen, turn off screen to avoid accident touch and route voice to earpiece.
276
-
* When newly external device plugged, such as wired-headset, route audio to external device.
275
+
* When proximity detects user close to screen, turn off screen to avoid accident touch and route voice to the earpiece.
276
+
* When newly external device plugged, such as wired-headset, route audio to an external device.
277
277
* Optional play ringback
278
278
279
279
**On stop:**
@@ -323,7 +323,7 @@ Note: iOS only supports `auto` currently.
323
323
| 'onAudioFocusChange' |:smile:|:rage:| see [andriod doc](http://developer.android.com/reference/android/media/AudioManager.OnAudioFocusChangeListener.html#onAudioFocusChange(int)) <br>data: `{'eventText': string, 'eventCode': number }`|
324
324
325
325
**NOTE: platform OS always has the final decision, so some toggle API may not work in some cases
0 commit comments