-
Notifications
You must be signed in to change notification settings - Fork 937
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
Won't load on release #339
Comments
I have same issue. |
Can you please give more info? Plugin version, Android / iOS / both, error log if possible. |
also, might be related to this one ? #239 |
I'm facing the same issue in my project. For demo, created a basic sample to load "https://google.co.nz". Git sample here. It works perfectly in debug mode. With release APK, Webview cant load the url. Please find the screen shot below. Flutter doctor here
I think I'm missing something real small info. Any leads please? And this on not related to #239. |
I have same issue too. |
it workes in profile mode |
Anyone got a working solution? |
FIXED It's a small permission issue on Android. Added For reference, I have a basic Git sample here But not sure why it works in debug mode though 🤔 |
Sorry I was out for some time. Yes.. you need to have Internet permission - it's added by default in debug mode (that's why you can hot reload code) but seems like it's stripped on release mode. Closing this one! |
No its still gives me error while generating apk from release mode. |
@Maulik009 need more info, some logs, code.. |
get the Release APK from this command in terminal: ** flutter run --release **. |
For some reason when I do a simple flutterWebviewPlugin.launch for release it does not work, but a regular build (debug) does. I am sure I am missing something simple. Any ideas?
The text was updated successfully, but these errors were encountered: