jaumard / sms_autofill

Flutter plugin to provide SMS code autofill support
MIT License
281 stars 173 forks source link

Fix for Android 14 #211

Closed plavelo closed 7 months ago

plavelo commented 7 months ago

Android 14 requires RECEIVER_EXPORTED or RECEIVER_NOT_EXPORTED to call registerReceiver.

https://developer.android.com/about/versions/14/behavior-changes-14#runtime-receivers-exported https://developer.android.com/reference/android/content/Context#RECEIVER_EXPORTED

changes

jaumard commented 7 months ago

Sounds good thanks for this!

itsAkshatG13 commented 6 months ago

@jaumard can you help out with the steps to fix this. I have a flutter project and under kotlin folder old mainactivity.kt