-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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.RuntimeException: Unable to start activity ComponentInfo #801
Comments
👋 @dkunkic NOTE: This comment is auto-generated. Are you sure you have already searched for the same problem? Some people open new issues but they didn't search for something similar or for the same issue. Please, search for it using the GitHub issue search box or on the official inappwebview.dev website, or, also, using Google, StackOverflow, etc. before posting a new one. You may already find an answer to your problem! If this is really a new issue, then thank you for raising it. I will investigate it and get back to you as soon as possible. Please, make sure you have given me as much context as possible! Also, if you didn't already, post a code example that can replicate this issue. In the meantime, you can already search for some possible solutions online! Because this plugin uses native WebView, you can search online for the same issue adding Following these steps can save you, me, and other people a lot of time, thanks! |
It should be impossible that when creating an instance of the |
I'm using InAppWebView as a widget, and then in shouldOverrideUrlLoading method, depending on which url I get, I open the browser.
|
Hello, I've got the same crash on Android version 7 using ChromeSafariBrowser. The crash intervene when the host is blocked by an htaccess but working otherwise.
My code :
|
Same #794 |
Can you please give me more information on how to reproduce the bug. Thanks! |
Alright, I tried to reproduce it with the minimum application possible and succeed, but it's a problem really specific, don't know if you want to pass a lot of time on it and don't know if you will be able to reproduce. I will explain. I used your example on ChromeSafariBrowser and get it working with Then, I used a local url (I can't give it to you, sorry) totally blocked behind an htaccess. Still working. Where the crash come is when the url (still a local one) is allowed by the htaccess, but other data (css, js, ...) are all blocked. I tried it on two differents configurations:
For now, that's all the information that I can give you. But don't hesitate to ask more :) |
The app crashes if chrome is not installed on the device. That happens on Samsung devices. #1009 |
I'm seeing the same issue reported in crashlytics on a variety of devices. Has there been any progress identifying the root cause @pichillilorenzo Looking at the source for ChromeCustomTabsActivity I can see there's a lot of potential for this to be returned as null. I'm not sure how this is set in the Bundle, but it seems if the managerId is not set this will result in an NPE.
|
is there any workaround for this ? |
Have you tried the latest version of the plugin? There shouldn't be that error anymore |
@diegoalex Thank you in advance. |
FATAL EXCEPTION: main |
I found this error continuously. |
Without additional information, we are unfortunately not sure how to resolve this issue. We are therefore reluctantly going to close this bug for now. |
This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug and a minimal reproduction of the issue. |
Environment
Device information: Samsung - mostly Galaxy A51, Galaxy A50
Huawei Mate 10 Lite, LG Velvet, Sony Xperia XZ Premium
Description
I don't know how to reproduce it, but I get this error on Firebase Crashlytics.
Current behavior:
Here is the log from the Firebase
The text was updated successfully, but these errors were encountered: