PWA Add home screen is taking time - performance

I am trying out to plugin PWA into our mobile website, I have been able to implement all features of PWA without any problem. But I am facing issue while I am trying "Add to Home Screen" feature, it is taking more than 30 secs to create an App Icon on mobile home. This is a bad UX, please advise if we have encountered this issue and what can be done to make it work faster.
Thanks.

Related

How to do a Flutter Firebase app for both Mobile and Desktop at the same time

I see many samples and videos on how to do firebase for mobile and they call this "multiplatform". However, I don't see much on the desktop. There is one video on firebase flutter Windows by using a web and it seems to work. However, I do not see any tutorials for both mobile and desktop. Firebase would be a great example on syncing between desktop and mobile. We have such an app in development right now. Desktop development is new, but I'm surprised how little there is.
There is a library called firebase_dart, but the documentation seems weak.
The package firedart with the video listed above works in both desktop (linux and android without much modification..
What needed to be modified?
I had difficulty with the button on the very top of the phone, so I
added a sized box.
I had difficulty with debugPrint or print so I
added a Text widget with the results (to string).
That also worked.
Although I would like to not use fluent_ui, it does work for both desktop and mobile. I'm not sure what to do with realtime db, but I think I can make the firedart work for user sync between mobile and desktop.
It would be better if I could get firebase_dart to work.
https://www.youtube.com/watch?v=Tw7L2NkhwPc

Microphone Permission on Firefox Mobile not permanent

I am facing an issue with our web tool that I am unable to solve. I already tried to google a solution but failed to find one.
We have a website where we use JavaScript to record audio from the users microphone via getUserMedia. The first time the user enters a html page on the https website, there is a notification popping up about permission rights. Thats fine, but on Firefox Mobile it doesn't matter if you gave your permission already, you will be asked on every single page again. Thats not the case for every other browser we tried.
So, is this some kind of our error or is it a limitation of Firefox Mobile?
Hope anyone solved that issue already in the past.
Best regards,
Daniel
It's a limitation in Firefox for Android (fennec). It intentionally asks users each time.
It's being solved in the next generation version, available in beta as Firefox Preview (fenix). The prompt there adds this checkbox, similar to Firefox for desktop:
☐ Remember decision for this site

Is it possible to detect if user use our PWA from desktop or from mobile?

I'm working on PWA, this is my first try with it. I have done the tutorial https://developers.google.com/web/fundamentals/codelabs/your-first-pwapp/ and few research but I didn't found anything about my problem : I would like to know if the user is using the app from his desktop or from a mobile, and then, if he uses the app from a desktop, change the start url (in order to go to a real website). Do someone have a clue ?

What is causing my website converted to APK pages to stick when scrolling?

I converted my website to an APK and it installs fine - the problem is that when trying to scroll up or down - the page sticks and the page refreshes to a page not available - the live site works perfect.
Try to use momentum scrolling. I don't know exactly what can cause your issue, but
Android 3+ and iOS 5+ implemented a new property called overflow-scrolling that enables momentum scrolling. And it works beautifully.
Look here: http://www.mobify.com/blog/beginners-guide-to-perceived-performance/
Hope that helps.
I was using a service from GoNative that packages mobile web sites into APKS - kind of a wrapper to allow mobile sites to function like apps. One of the configuration options was to use "web pool" services that cached pages to allow for faster processing - I deleted that feature and the site/app works fine.

Google Marketplace App Install Flow

When installing a Google Marketplace App, the flow usually ends with the admin in the app's settings on Google with the option to sign in now. Is there a way to end with the user actually using the app (i.e. not having to click the link to sign in to start using the app)? Could the user just be sent to the app on the optional setup without returning to the app settings page on Google without that causing other problems?
Some of the documentation says:
We strongly recommend that the administrator be directed through a short, linear series of actions and returned to Google quickly so additional users can start using the application.
I tried testing this out, but it seems like there's some lag between installing and the app showing up in the "more" drop down for Google (I tried installing another app and did end up on the final page but the app still didn't show up in another account. It's been a few hours and it still isn't there) so it's hard to tell if it's just slow or not actually installed on other users' accounts.
Sorry the last section was misleading. This is not a question about the link not showing up immediately.
The new experience for Google Apps Marketplace lets you land the user in the app instead of the admin console. There's now a popup for the app to request permissions and to agree to terms and then the user ends up in the app. One-step installation. Good work Google.

Resources