Skip to content

Commit

Permalink
fix(android): set all services / activities to exported=false
Browse files Browse the repository at this point in the history
All of our services and receivers either receive system
broadcasts or Intents / PendingIntents from ourselves
(internal use, in other words) so they do not need to be exported
  • Loading branch information
mikehardy authored Oct 26, 2024
1 parent 4ffc748 commit a1e6ae5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions android/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
android:excludeFromRecents="true"
android:taskAffinity=""
android:theme="@android:style/Theme.Translucent.NoTitleBar"
android:exported="true" />
android:exported="false" />

<!-- Foreground Service -->
<service
Expand All @@ -45,7 +45,7 @@

<receiver
android:name=".AlarmPermissionBroadcastReceiver"
android:exported="true">
android:exported="false">
<intent-filter>
<action android:name="android.app.action.SCHEDULE_EXACT_ALARM_PERMISSION_STATE_CHANGED" />
</intent-filter>
Expand Down

0 comments on commit a1e6ae5

Please sign in to comment.