sms_autofill
sms_autofill copied to clipboard
Android 14 sdk not supported crashed on otp received
Getting this error when chashed Exception java.lang.SecurityException: 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:114) at com.jaumard.smsautofill.SmsAutoFillPlugin$2.onSuccess (SmsAutoFillPlugin.java:108) at com.google.android.gms.tasks.zzm.run (com.google.android.gms:play-services-tasks@@18.0.2:1) 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:8177) at java.lang.reflect.Method.invoke at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run (RuntimeInit.java:552) at com.android.internal.os.ZygoteInit.main (ZygoteInit.java:971) Caused by android.os.RemoteException: Remote stack trace: at com.android.server.am.ActivityManagerService.registerReceiverWithFeature (ActivityManagerService.java:13908) at android.app.IActivityManager$Stub.onTransact (IActivityManager.java:2570) at com.android.server.am.ActivityManagerService.onTransact (ActivityManagerService.java:2720) at android.os.Binder.execTransactInternal (Binder.java:1339) at android.os.Binder.execTransact (Binder.java:1275)
Any update on this ? @Toufiqulhaquemamun
Any update on this ? @Toufiqulhaquemamun
Didn't get any update yet
Please check this issue @jaumard
it give the same exception for me try with emulator android 14 java.lang.SecurityException: com.package_name: One of RECEIVER_EXPORTED or RECEIVER_NOT_EXPORTED should be specified when a receiver isn't being registered exclusively for system broadcasts and crash the app while receiving the sms for autofill how to solve this if any optional process please tell us
@Zeinab-Kouhkan @itsAkshatG13 @jeffwoooo @vikasborage
it's fixed.... Just add like this in your puspec.yaml sms_autofill: git: url: https://github.com/jaumard/sms_autofill
doesn't work, @Toufiqulhaquemamun
Could you please release a new version if the fix is ready?
Hi, the same problem
Hi, have got the same problem.
ME too
I there not a new version in pub.dev to solve this problem?
The version has been bumped on master but hasn't been published to pub.dev:
As suggested by @Toufiqulhaquemamun, to use the latest version of the widget directly from github, replace the reference to sms_autofill in your pubspec.yaml by:
@Zeinab-Kouhkan @itsAkshatG13 @jeffwoooo @vikasborage
it's fixed.... Just add like this in your puspec.yaml sms_autofill: git: url: https://github.com/jaumard/sms_autofill
thanks, it works.
should be ok on 2.4.0