D
D
Danil Sysoev2020-04-22 18:33:00
PHP
Danil Sysoev, 2020-04-22 18:33:00

How to create an application that opens a specific site?

Guys welcome.

I have a website builder where users can create their websites. Often they ask that you can also create an application for these sites.
The application is as simple as possible. It's just that this application opens the site that the user specifies.

The question is, if there are any APIs or libraries so that the application is generated and downloaded by the button. Website in PHP (Laravel).

Thank you very much in advance.

Answer the question

In order to leave comments, you need to log in

3 answer(s)
D
Dmitry, 2020-04-22
@demon416nds

banned
such applications violate the rules of google play

A
Anton Shamanov, 2020-04-22
@SilenceOfWinter

see cordova, but in fact it can be done in any development environment for android, the main thing is that there is a component for displaying html like Chromium

G
granty, 2020-04-23
@granty

Write a manifest for each site, specify in the manifests "display": "standalone"to disable the browser UI.
After that, the site icon can be added to the desktop of a mobile device without an application store, using standard Android / iOS tools: menu -> Add to home screen . Under Windows 10 on desktops, it should also work.
The site will open by tapping on such an icon and will look like a native application.

Related links

Web App Manifest описание на MDN
пример a2hs на гитхабе (a2hs - Add To Home Streen)
How to add “Add to Home screen” to your website на Eng

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question