You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe your issue. If applicable, add screenshots to help explain your problem.
Hi Team, In one of security assessment tool we are facing an issue related to broadcast receiver method registerReceiver, please check logs for this. The issue highlight is "Context Registered Broadcast Receivers Not Protected with Permissions".
integrate google_mlkit_text_recognition: 0.13.0
into flutter app and use security analysis tools like nowsecure
What is the expected result?
Ensure Receivers Are Not Exported:
For Apps Targeting Android 13 or Higher: When registering a receiver, set Context.RECEIVER_NOT_EXPORTED to ensure it is not accessible by external apps.
Describe your issue. If applicable, add screenshots to help explain your problem.
Hi Team, In one of security assessment tool we are facing an issue related to broadcast receiver method registerReceiver, please check logs for this. The issue highlight is "Context Registered Broadcast Receivers Not Protected with Permissions".
Steps to reproduce.
integrate google_mlkit_text_recognition: 0.13.0
into flutter app and use security analysis tools like nowsecure
What is the expected result?
Ensure Receivers Are Not Exported:
For Apps Targeting Android 13 or Higher: When registering a receiver, set Context.RECEIVER_NOT_EXPORTED to ensure it is not accessible by external apps.
registerReceiver(receiver, intentFilter, null, handler, Context.RECEIVER_NOT_EXPORTED)
For Apps Targeting Android 12 or Lower: Use ContextCompat.RECEIVER_NOT_EXPORTED in the int flags of ContextCompat.registerReceiver(Context, BroadcastReceiver, IntentFilter, int) or ContextCompat.registerReceiver(Context, BroadcastReceiver, IntentFilter, String, Handler, int).
registerReceiver(receiver, intentFilter, null, handler, ContextCompat.RECEIVER_NOT_EXPORTED)
Did you try our example app?
Yes
Is it reproducible in the example app?
Yes
Reproducible in which OS?
Android
Flutter/Dart Version?
3.27.0 flutter
3.6 dart
Plugin Version?
google_mlkit_text_recognition: 0.13.0
google_mlkit_text_recognition: 0.14.0
The text was updated successfully, but these errors were encountered: