integreat-app
integreat-app copied to clipboard
Banner to install app from store is not displayed when using web-app
Is your feature request related to a problem? Please describe. We want users to install the app on their phones over using the web app. Therefore, we want to notify the users about the app in the google play store.
Describe the solution you'd like When the web app is opened on Android phones and the android app is not installed, a banner that the app is available in the google play store. Since this is natively implemented on iOS, this is only an android issue. Reimplement the banner on iOS, see screenshot below.
This should work for for the other whitelables as well (e.g. malte, aschaffenburg).
If the banner is either closed or the link to the store is pressed, the banner should not be shown anymore until a specific amount of time has passed (to be discussed). To this end, a value might be saved in the local storage (preferable over cookies).
Describe alternatives you've considered
- Do not show again after closing the banner once
- Do not show a banner
Additional context
Side note, in iOS, the banner is only shown on real devices, not in emulators.