jaumard / sms_autofill

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

App crash on Android 14 OS #208

Closed jigarempyreal closed 3 weeks ago

jigarempyreal commented 8 months ago

listenForCode() method throws the error.

One of RECEIVER_EXPORTED or RECEIVER_NOT_EXPORTED should be specified when a receiver isn't being registered exclusively for system broadcasts

Akramjon-koder commented 8 months ago

when i upgrade version to 34 from gradle i get error.

maksym-ostrovyj-ew commented 8 months ago

got the same

umidshox99 commented 8 months ago

same error any solution

PawanFyers commented 6 months ago

Same error, any solution ? @jaumard

realkalash commented 6 months ago

I've found this SO thread. As a temporary solution we can fork this plugin, but it would be better to wait for a fix from the plugin dev.

https://stackoverflow.com/questions/77235063/one-of-receiver-exported-or-receiver-not-exported-should-be-specified-when-a-rec.

P.S: It looks like this github repo was already updated to fix that. You just need to update the pubspec.yaml from

    sms_autofill: ^2.3.0

to

  sms_autofill:
    git:
      url: https://github.com/jaumard/sms_autofill.git
spaquis commented 6 months ago

Hey, If it's already fixed, can you release a 2.3.1 ? thanks

yogeshelevn commented 5 months ago

Hey, @jaumard I checked with main branch code. for Android 14, sms_autofill working fine. I urge you to release 2.3.1 version for production. this will help us a lot. Thanks.

jaumard commented 3 weeks ago

should be ok on 2.4.0