jaumard / sms_autofill

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

crashes for android 14 #217

Closed pranavpatel95 closed 3 weeks ago

pranavpatel95 commented 5 months ago

Fatal Exception: java.lang.SecurityException: com.getbitmoney.getbit: One of RECEIVER_EXPORTED or RECEIVER_NOT_EXPORTED should be specified when a receiver isn't being registered exclusively for system broadcasts at android.os.Parcel.createExceptionOrNull(Parcel.java:3057) at android.os.Parcel.createException(Parcel.java:3041) at android.os.Parcel.readException(Parcel.java:3024) at android.os.Parcel.readException(Parcel.java:2966) at android.app.IActivityManager$Stub$Proxy.registerReceiverWithFeature(IActivityManager.java:5684) at android.app.ContextImpl.registerReceiverInternal(ContextImpl.java:1852) at android.app.ContextImpl.registerReceiver(ContextImpl.java:1792) at android.app.ContextImpl.registerReceiver(ContextImpl.java:1780) at android.content.ContextWrapper.registerReceiver(ContextWrapper.java:755) at com.jaumard.smsautofill.SmsAutoFillPlugin$2.onSuccess(SmsAutoFillPlugin.java:44) at com.jaumard.smsautofill.SmsAutoFillPlugin$2.onSuccess(SmsAutoFillPlugin.java:2) at com.google.android.gms.tasks.zzm.run(zzm.java:25) at android.os.Handler.handleCallback(Handler.java:958) at android.os.Handler.dispatchMessage(Handler.java:99) at android.os.Looper.loopOnce(Looper.java:205) at android.os.Looper.loop(Looper.java:294) at android.app.ActivityThread.main(ActivityThread.java:8194) at java.lang.reflect.Method.invoke(Method.java) at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:552) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:971)

qube-dev-tejas commented 5 months ago

Hi @pranavpatel95 , did you get any solution ?

pranavpatel95 commented 5 months ago

no i didn't look for solutions, i dropped as a release was pending because of it.

Thanks & Regards

Pranav Patel Junior Android Developer

Fermion Infotech Private Limited CMMI Maturity Level 3, ISO 9001:2015, ISO/IEC 27001:2013, & ISO/IEC 20000-1:2018 certified J-3032, Akshar Business Park, Plot No. 3 Sector 25, Vashi Koper Khairane Road, Vashi, Navi Mumbai-400703

Pune: 407 B Zen Business Center, Mumbai-Bangalore Express Highway, Shankar Kalat Nagar, Wakad, Pimpri-Chinchwad, Pune-411057

@.**@.> || www.fermioninfotech.comhttp://www.fermioninfotech.com/


From: Tejas Jadhav (Flutter developer) @.> Sent: Thursday, January 11, 2024 8:40 PM To: jaumard/sms_autofill @.> Cc: Pranav Patel @.>; Mention @.> Subject: Re: [jaumard/sms_autofill] crashes for android 14 (Issue #217)

Hi @pranavpatel95https://github.com/pranavpatel95 , did you get any solution ?

— Reply to this email directly, view it on GitHubhttps://github.com/jaumard/sms_autofill/issues/217#issuecomment-1887383722, or unsubscribehttps://github.com/notifications/unsubscribe-auth/A3FPIXKGGRBLV7Z2UIRGDFDYN76GNAVCNFSM6AAAAABBJTUJXSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQOBXGM4DGNZSGI. You are receiving this because you were mentioned.Message ID: @.***>

JgomesAT commented 5 months ago

I have the same error on Android 14, but not in other versions

cekrozl1 commented 5 months ago

Same as https://github.com/jaumard/sms_autofill/issues/215

Pursoth1815 commented 4 months ago

Use alt_sms_autofill Package for Read the Message for Android version 14.

NOTE and Add the below code in your Manifest file receiver android:name=".MyRadarReceiver" android:enabled="true" android:exported="false"> intent-filter> action android:name="io.radar.sdk.RECEIVED" /> /intent-filter> receiver

jaumard commented 3 weeks ago

should be ok on 2.4.0