pwa-builder / CloudAPK

Build Android APK packages on the cloud
Other
144 stars 44 forks source link

Intent-Filters #52

Closed FrankVDL2471 closed 3 years ago

FrankVDL2471 commented 3 years ago

Is it possible to add Intent-Filters to the generated android APK ?

When my PWA is opened directly in a WebBrowser, I want to have the option to move to the native app. As it will have a beter (fullscreen) experience.

I looked into A2HS options for PWA but they are to user driven. Once a uses cancels the inital request to install the app, the question is not returned. Also does not seem to be possible to jump "installed" version of the PWA neither.

ghost commented 3 years ago

Hello FrankVDL2471, thank you for your interest in PWABuilder!

I have automatically added a "needs triage" label to help get things started. Our team will look into the question and answer ASAP. Other community members may also answer the question and provide feedback 🙌

JudahGabriel commented 3 years ago

Hi @FrankVDL2471

Have you checked out getInstalledRelatedApps()? You may be able to switch to your native app entirely from web code.

If not, we do offer source code download. When packaging your app for Android on PWABuilder.com, choose Options - there will be an option for downloading the Android app source code. From there, you can do whatever you like.

p.s. I recommend you ask future questions in the main PWABuilder repo, which gets more eyes on it.

davrous commented 3 years ago

Closing as it's been followed there: https://github.com/pwa-builder/PWABuilder/issues/1317