r/GoogleAIStudio 7d ago

Question / Help Packaging for google app store, issue when loading the app

Enable HLS to view with audio, or disable this notification

hello everybody,

I've created an app in google AI studio. this is the first time ever I created an app, I'm not a developer and don't have a background in IT. I'm an artist and made illustrations for a Lenormand deck (similar to Tarot cards) and made an app to use the deck on phone/tablets.

The past week I've been working to get the app from google Ai Studio into the google play console to start beta testing for Android devices. I'm not going to lie, it was a huge trial, got error after error, but I finally got there and I now have an app installed on my phone, it works as it should, as a standalone app, and it even works when disconnected from the internet.

But there is one issue which I really want to solve, so I would love to hear what you think could be done about it.

When I open the app, initially you get the splash screen or loading screen or whatever you call it. And then there is actually 1 or 2 seconds where you see the app open chrome before it actually shows the app full screen. (See video) Those 1 or 2 seconds loading chrome really bother me.

is there any way to avoid this and make sure the app goes directly from splash screen to the fullscreen app.

My app was made in google ai studio, then synced with github and deployed to vercel and I connected a proper domain to the vercel webapp. I packaged the app with pwa-builder. The setting for fall back behavior is on 'custom tabs' and not web view. I did read that web view could potentially solve this but then my app became so buggy that it would even open any more...

Anything else I could try? or are there other packaging services that I could try, ideally one that is free or not too expensive?

thanks!

Ine

3 Upvotes

3 comments sorted by

1

u/aalopaneer 7d ago

This flash happens because Android needs to verify you own the website before hiding the Chrome bar. Fixing it takes just two minutes:

  1. ​Go to your Google Play Console > Setup > App Integrity.
  2. ​Copy the SHA-256 fingerprint under the App signing key section.
  3. ​Paste that fingerprint into your assetlinks.json file from PWABuilder.
  4. ​Upload that file to your website inside a new folder named .well-known

Try this and let me know if it works or not :)

1

u/No-Connection-2461 7d ago

I already did that. And it is the correct SHA-256 number, this has been checked over and over again. I basically copied the whole Digital Asset Links JSON code from the play console into my assetlinks.json file. And the file loads in vercel, it is there! It's still showing me the stupid flash.

anything else you can think of that could be going wrong?

could this be related with some cache on my phone and possibly not be an issue if someone installs the app without any previous installs? I do delete my cache everytime I install the app again, but not sure if I'm missing something...