Android Mobile App Not Loading Webview on Startup - android

I am seeing a new issue pop up in my Mobile App for only Android users. When the app is launched, it directs the users to a webview login page. Currently, it shows the loading spinner that displays when waiting to connect to the site, but it never does.. giving me an infinite loading spinner.
In the test environment, this does not occur. Even when using a prod build, if I leave the app unsigned, it will still work. Once I sign it, the app again does not load.
I have tried updating Chrome and Android Webview system app, as it seems a few months ago a similar thing was happening to some Google apps. I have also messed around with some of the minified files, edited the proguard file, updated react-native-webview, tried a newer build template for the tool I am using... nothing seems to be working.
Does anyone have any other suggestions I could try?

Related

White screen in production of ionic capacitor android app

I am using Angular 11 and ionic 5 for my app. And it runs without any errors on my device from the android studio in development. But when I sign my code and upload it for internal or closed (Alpha, Beta) testing on playstore,I see my splash screen for less than half a second and then a blank white screen.
I am using Sentry to log errors so I can debug my app during production. But I see no error in sentry at this point.
So my question is, how can I figure out what is going wrong ?
White screen usually means that an there is an error!
What I think you should do:
Test using production mode on your device in android studio. You should see the error in the logs.
Use a 3rd party like Browserstack to upload your app and see if you get any errors.
Check if you first ask for permissions before you use any device native functionality
If you still cant find the error, update all your libraries to the latest version
If nothing else works, start deleting/commenting parts of the app until it finally works. Start with the 3rd party plugins or push notifications, then any ionic plugin. Using this you should be able to identify where the problem is.

Google Console Internal App Sharing no longer works

I was regularly uploading apk files to google console's internal app sharing page. However today when I open the the same link i.e. https://play.google.com/console/u/0/internal-app-sharing it has gone blank. I have tried opening it from different browsers etc, nothing works. Is this a new bug or perhaps a downtime?
Same here. Browser dev console shows the app sharing tries to load some data, but can not find it. So someone just broke the code or google server are down. Hopefully not for long, but its already over 20 hours.
It works now, seems there was a temporary blip at their end.

PWA successfully published on Google Play using TWA has an abnormal behave

We published our PWA on Google Play using Trusted Web Activities. App was successfully signed and released.
In order to successfully sign and publish the app, We strictly followed the step by step official tutorial at the following address:
https://developers.google.com/web/updates/2019/02/using-twa
We used Android Studio.
The app on google play is:
https://play.google.com/store/apps/details?id=com.coelotec.meteodrome
The Android App locally installed on device, calls the following url that points to the web app (PWA):
https://app.meteodrome.it
The Web App, is a PWA developed with Angular 6.0.
Pre-rendering is not activated. Server return the classic bundle of javascripts, html and css.
However some of the users are reporting some issues, such as having two icons on their screen. One is named "MeteoDrome" and the other one "Meteo Drome" with the space.
One of the icons contains the correct logo of the app. The other one has the default android logo. Clicking on the first one, app correctly loads. Clicking the default android logo named "Meteo Drome", browser loads showing the app.
In the first case you correctly see the full screen app, in the second case you see the app wrapped in chrome. When you see chrome the address bar is visible.
Other users reports that they are not able to correctly load app. They usually see white screen instead of the right interface. Especially when the android version is old.
But for many other users app works fine and have no problems.
Many users in facts, neither see two icons on theirs screen nor loads a white screen view.
The app have got many likes and is much appreciated among the users. However it has also an unusual number of uninstalls.
Probably when the app works fine users doesn't uninstall.
We have no idea of what to do.
1) How can We understand what happen when the app is uninstalled and why is it uninstalled?
2) Besides, the users can:
a - find two icons on the screen.
b - find the correct icon on the screen and the android logo in the app list.
c - find only the right icon on the screen without seeing any other icons.
Why does this happen?
3) Why sometime some users report me that they see white screen even if their android version is good to install the app? And in other cases the app works fine?
We really have no idea of what to do and we have some serious problems with the abnormal percentage of uninstall.
Please, help us.
Thanks.
Is possible that some users may have installed the application from the Play Store and also installed using the Add to Home Screen?
The Application available on the Play Store is being server with the default Android logo. The Image Asset Studio inside Android Studio can help with creating new one.
Users with versions of Chrome < 72 or that have other browser as their default browsers will be shown the application in a Custom Tab as a fallback. This can be customised inside your application by implementing your own fallback method.
Finally, a good way to get started with your use case is to checkout the sample application on Github. It is designed to be an easy option to get started with TWAs, and can be used as a starting point for your own app.

Can't automatically choose google account during login Auth0 Ionic3 Cordova

I'm working with Auth0 to perform sign in with Google.
There is one problem. If I have two google accounts, everything is OK. I can choose one of them and log in.
But if I have less than two, I can't. I don't see any choose account page. This step is always skipped and browser freezes after. Browser doesn't close. I should close it manually and of course I'm not authorized after.
Did anybody face with such problem?
It's present on IOS and Android 5 and less.
If we are talking about Android, I found the solution.
I append clearcache=yes and clearsessioncache=yes to var tab = browser.open(url, '_blank'); in auth0 library code. But it doesn't solve the problem with IOS, because IOS is using SafariViewController instead of InAppBrowser.

Android app displays list on device but when downloaded from playstore

Set up - My Android app, on loading, calls a REST API to get json feed from a server running on Google App Engine. It parses this json and populates a list containing ItemListBaseAdaptor. I'm trying to figure out where it goes from here.
Problem - When I build and deploy this app on my device via USB, it works as expected. But, when, I upload and download this app from playstore, I see a blank screen.
Observations -
I log the json response on Google App Engine in both cases and I see identical responses.
On my Android app, I added some Toast notifications to see what happens when we try to translate json response to ItemListBaseAdaptor. I see no problem in both cases.
I tried cleaning the project, rebuilding, repackaging and publishing it a few times (as Alpha builds). Same result each time.
What I could not figure out - How do I debug or read logs from an app I download from playstore? I have tried this and I get stuck at step 8.
Has anyone seen a similar issue?
The culprit was minifyEnabled flag in Android Studio. I changed it from true to false and it started working.

Categories

Resources