Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fatal Exception: java.lang.SecurityException: Binder invocation to an incorrect interface #1035

Open
Kobreizhyashi opened this issue Jan 9, 2024 · 2 comments
Labels

Comments

@Kobreizhyashi
Copy link

Kobreizhyashi commented Jan 9, 2024

Hi !

A QA tester is facing an error which I can't reproduce, a crash when trying to connect :

Fatal Exception: java.lang.SecurityException: Binder invocation to an incorrect interface
       at android.os.Parcel.createExceptionOrNull(Parcel.java:3011)
       at android.os.Parcel.createException(Parcel.java:2995)
       at android.os.Parcel.readException(Parcel.java:2978)
       at android.os.Parcel.readException(Parcel.java:2920)
       at android.support.customtabs.ICustomTabsService$Stub$Proxy.warmup(ICustomTabsService.java:270)
       at androidx.browser.customtabs.CustomTabsClient.warmup(CustomTabsClient.java:223)
       at net.openid.appauth.browser.CustomTabManager$1.onCustomTabsServiceConnected(CustomTabManager.java:84)
       at androidx.browser.customtabs.CustomTabsServiceConnection.onServiceConnected(CustomTabsServiceConnection.java:57)
       at android.app.LoadedApk$ServiceDispatcher.doConnected(LoadedApk.java:2251)
       at android.app.LoadedApk$ServiceDispatcher$RunConnection.run(LoadedApk.java:2284)
       at android.os.Handler.handleCallback(Handler.java:942)
       at android.os.Handler.dispatchMessage(Handler.java:99)
       at android.os.Looper.loopOnce(Looper.java:211)
       at android.os.Looper.loop(Looper.java:300)
       at android.app.ActivityThread.main(ActivityThread.java:8227)
       at java.lang.reflect.Method.invoke(Method.java)
       at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:580)
       at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1028)

He's using a Redmi note 10 5G with google chrome as default browser.

We didn't whitelist/blacklist any browser as I had read the issue with a similar problem but nobody use Yandex here : #672

have you ever faced the same issue ?

Regards,

@Kobreizhyashi
Copy link
Author

We reproduced the bug on a google pixel 6A also

@Kobreizhyashi
Copy link
Author

Kobreizhyashi commented Jan 12, 2024

Resolved with :

-keep class android.support.customtabs.** { *; }

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant