Skip to content

Commit b02d72f

Browse files
committed
Making broadcast receivers not exported
1 parent bd06830 commit b02d72f

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

sample-app-2/src/main/AndroidManifest.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
</intent-filter>
2424
</activity>
2525

26-
<receiver android:name="com.yoti.mobile.android.sampleapp2.recievers.ShareAttributesResultBroadcastReceiver">
26+
<receiver android:name="com.yoti.mobile.android.sampleapp2.recievers.ShareAttributesResultBroadcastReceiver" android:exported="false">
2727
<intent-filter>
2828
<action android:name="com.yoti.services.CALLBACK" />
2929
</intent-filter>

sample-app/src/main/AndroidManifest.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
</intent-filter>
2222
</activity>
2323

24-
<receiver android:name=".ShareAttributesResultBroadcastReceiver">
24+
<receiver android:name=".ShareAttributesResultBroadcastReceiver" android:exported="false">
2525
<intent-filter>
2626
<action android:name="com.test.app.YOTI_CALLBACK" />
2727
<action android:name="com.test.app.BACKEND_CALLBACK" />

0 commit comments

Comments
 (0)