Skip to content

Commit c3787e5

Browse files
authored
Merge pull request #14 from PhononX/remove-not-needed-permission
Remove not needed permission
2 parents ad8e082 + 1590332 commit c3787e5

File tree

3 files changed

+0
-3
lines changed

3 files changed

+0
-3
lines changed

README.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,6 @@ This is an example.
3232
Regarding permissions, you may need the following settings in your `AndroidManifest.xml` file:
3333

3434
<uses-permission android:name="android.hardware.sensor.proximity"/>
35-
<uses-permission android:name="android.permission.BODY_SENSORS_BACKGROUND"/>
3635
<uses-permission android:name="android.permission.ACTIVITY_RECOGNITION"/>
3736
<uses-permission android:name="android.permission.WAKE_LOCK"/>
3837

android/src/main/AndroidManifest.xml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
33
package="dev.jeremyko.proximity_sensor">
44
<uses-permission android:name="android.hardware.sensor.proximity"/>
5-
<uses-permission android:name="android.permission.BODY_SENSORS_BACKGROUND"/>
65
<uses-permission android:name="android.permission.ACTIVITY_RECOGNITION"/>
76
<uses-permission android:name="android.permission.WAKE_LOCK"/>
87

example/README.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,6 @@ This is an example.
3030
Regarding permissions, you may need the following settings in your `AndroidManifest.xml` file:
3131

3232
<uses-permission android:name="android.hardware.sensor.proximity"/>
33-
<uses-permission android:name="android.permission.BODY_SENSORS_BACKGROUND"/>
3433
<uses-permission android:name="android.permission.ACTIVITY_RECOGNITION"/>
3534

3635
**Some recent devices use virtual proximity sensors. There are no physical sensors. I found it hard to trust the sensor information in this case.**

0 commit comments

Comments
 (0)