sms_autofill icon indicating copy to clipboard operation
sms_autofill copied to clipboard

Android 14 sdk not supported crashed on otp received

Open Toufiqulhaquemamun opened this issue 1 year ago • 14 comments

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)

Toufiqulhaquemamun avatar Nov 23 '23 08:11 Toufiqulhaquemamun

Any update on this ? @Toufiqulhaquemamun

itsAkshatG13 avatar Dec 11 '23 06:12 itsAkshatG13

Any update on this ? @Toufiqulhaquemamun

Didn't get any update yet

Toufiqulhaquemamun avatar Dec 11 '23 08:12 Toufiqulhaquemamun

Please check this issue @jaumard

Zeinab-Kouhkan avatar Dec 14 '23 13:12 Zeinab-Kouhkan

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

vikasborage avatar Dec 30 '23 11:12 vikasborage

@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

Toufiqulhaquemamun avatar Jan 01 '24 05:01 Toufiqulhaquemamun

doesn't work, @Toufiqulhaquemamun

pranavpatel95 avatar Jan 02 '24 07:01 pranavpatel95

Could you please release a new version if the fix is ready?

azat-asylguzhin-idf avatar Jan 10 '24 07:01 azat-asylguzhin-idf

Hi, the same problem

artem-stefanovich-idf avatar Jan 10 '24 08:01 artem-stefanovich-idf

Hi, have got the same problem.

mikhail-chizh-idf avatar Jan 18 '24 12:01 mikhail-chizh-idf

ME too

JgomesAT avatar Jan 18 '24 12:01 JgomesAT

I there not a new version in pub.dev to solve this problem?

JgomesAT avatar Feb 09 '24 07:02 JgomesAT

The version has been bumped on master but hasn't been published to pub.dev: image

cekrozl1 avatar Feb 14 '24 15:02 cekrozl1

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: image

cekrozl1 avatar Feb 15 '24 07:02 cekrozl1

@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.

Zeinab-Kouhkan avatar Feb 15 '24 11:02 Zeinab-Kouhkan

should be ok on 2.4.0

jaumard avatar Jun 07 '24 10:06 jaumard