Skip to content

Commit

Permalink
remove auto start boot receiver (#1255)
Browse files Browse the repository at this point in the history
  • Loading branch information
ghassenbenzahra123 authored Aug 8, 2024
1 parent a8965f1 commit 9097d16
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 30 deletions.
15 changes: 1 addition & 14 deletions android/app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,7 @@
<uses-feature android:name="android.hardware.location.gps" android:required="false"/>
<uses-feature android:name="android.hardware.microphone" android:required="false"/>
<uses-feature android:name="android.hardware.sensor" android:required="false"/>
<uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED" />
<uses-permission android:name="android.permission.SYSTEM_ALERT_WINDOW" />


<application
android:banner="@mipmap/ic_banner"
Expand Down Expand Up @@ -74,19 +73,7 @@
<category android:name="android.intent.category.LEANBACK_LAUNCHER" />
</intent-filter>
</activity>
<receiver
android:enabled="true"
android:exported="true"
android:name=".BootReceiver"
android:permission="android.permission.RECEIVE_BOOT_COMPLETED">

<intent-filter>
<action android:name="android.intent.action.BOOT_COMPLETED" />
<action android:name="android.intent.action.QUICKBOOT_POWERON" />
<category android:name="android.intent.category.DEFAULT" />
</intent-filter>

</receiver>
<meta-data
android:name="google_analytics_adid_collection_enabled"
android:value="false" />
Expand Down
16 changes: 0 additions & 16 deletions android/app/src/main/kotlin/com/flyweb/BootReceiver.kt

This file was deleted.

0 comments on commit 9097d16

Please sign in to comment.