android-customtabs
android-customtabs copied to clipboard
Chrome CustomTabs for Android demystified. Simplifies development and provides higher level classes including fallback in case Chrome isn't available on device.
Hi! I see a lot of crashes on start of my app via Crashlytics. They are similar but crashed in different activity on app start. ` Fatal Exception: java.lang.SecurityException Binder...
Android R introduces a new concept called [package visibility](https://developer.android.com/preview/privacy/package-visibility) which affects how apps can discover other apps (mainly through calls to `resolveActivity()` and `queryIntentActivities()`. This library uses the latter, meaning...
``` java.lang.NullPointerException: Attempt to invoke virtual method 'int android.graphics.Bitmap.getWidth()' on a null object reference at com.android.webview.chromium.WebViewContentsClientAdapter.getDefaultVideoPoster(WebViewContentsClientAdapter.java:1142) at org.chromium.android_webview.DefaultVideoPosterRequestHandler$1.run(DefaultVideoPosterRequestHandler.java:39) ... ``` This is a bug in chromium and can be worked...
This is from Firebase Crashlytics: `Caused by java.lang.NullPointerException: Attempt to invoke virtual method 'void android.webkit.WebView.loadUrl(java.lang.String)' on a null object reference at saschpe.android.customtabs.WebViewActivity.onCreate() at android.app.Activity.performCreate(Activity.java:6876) at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1135) at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3206) at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:3349)...
Fatal Exception: java.lang.NoSuchFieldError: No static field web_view of type I in class Lsaschpe/android/customtabs/R$id; or its superclasses (declaration of 'saschpe.android.customtabs.R$id' appears in base.apk!classes4.dex) at saschpe.android.customtabs.WebViewActivity.onCreate + 59(WebViewActivity.java:59) at android.app.Activity.performCreate + 7224(Activity.java:7224)...
Hello everyone. Thanks for creating this awesome library. I faced some unusual problem. Proguard doesn't obfuscate code as I expect. I reviewed [https://github.com/saschpe/android-customtabs/blob/master/customtabs/proguard-rules.pro](Proguard rules) in the library and it looks...
I'm not sure what has changed, but the same logic that was previously working to open url in a chrome tab no longer works. Compiling against android P may be...
This library needs your app to use an AppCompat theme. ``` 03-27 11:01:53.902 25851 25851 E AndroidRuntime: java.lang.RuntimeException: Unable to start activity ComponentInfo{com.mycompany.atwebviewtest/saschpe.android.customtabs.WebViewActivity}: java.lang.IllegalStateException: You need to use a Theme.AppCompat...