Skip to content

Commit

Permalink
fix(share_plus): Set exported=false for BroadcastReceiver on Android …
Browse files Browse the repository at this point in the history
…for security reasons
  • Loading branch information
vbuberen committed Mar 17, 2023
1 parent 3bb18f2 commit 4b7c5a4
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
</provider>
<!-- This manifest declared broadcast receiver allows us to use an explicit
Intent when creating a PendingItent to be informed of the user's choice -->
<receiver android:name=".SharePlusPendingIntent" android:exported="true">
<receiver android:name=".SharePlusPendingIntent" android:exported="false">
<intent-filter>
<action android:name="EXTRA_CHOSEN_COMPONENT" />
</intent-filter>
Expand Down

0 comments on commit 4b7c5a4

Please sign in to comment.