openid / AppAuth-Android

Android client SDK for communicating with OAuth 2.0 and OpenID Connect providers.
https://openid.github.io/AppAuth-Android
Apache License 2.0
2.82k stars 880 forks source link

java.lang.IllegalArgumentException: Service not registered: net.openid.appauth.browser.CustomTabManager #1085

Open kamil-cakir opened 3 weeks ago

kamil-cakir commented 3 weeks ago

Checklist:

Configuration

Issue Description

In our firebase crash logs we see a crash report like below.

Fatal Exception: java.lang.IllegalArgumentException: Service not registered: net.openid.appauth.browser.CustomTabManager$1@1b8d1f9
       at android.app.LoadedApk.forgetServiceDispatcher(LoadedApk.java:1680)
       at android.app.ContextImpl.unbindService(ContextImpl.java:1781)
       at android.content.ContextWrapper.unbindService(ContextWrapper.java:730)
       at android.content.ContextWrapper.unbindService(ContextWrapper.java:730)
       at net.openid.appauth.browser.CustomTabManager.dispose(CustomTabManager.java:124)

We use latest version of the library.

implementation 'net.openid:appauth:0.11.1'

What is the reason for this problem?

kamil-cakir commented 2 weeks ago

Is there anyone facing with this issue?