Add to home screen


Paolo Lops
Hi David....another ask for you!do you have a function to show a popup with add to home screen in android or ios?thenk you and sorry for all my requests....

DecSoft

Hello Paolo,

I am not quite sure if what you wanted is to show some kind of advertisement or if you refer to local notifications. In the first case, you can take a look at the AdMob sample, which uses certain Apache Cordova plugin and allows to shown "interstitials", which maybe is what you wanted.

If you refer to local notifications, then you must study this Apache Cordova plugin, for example. You can get some help by take a look at the "CordovaPlugins" sample, or other samples like "SendSMS", which also uses Apache Cordova plugins.

If you refer to other thing, please, post it here and I will try to help you.



Paolo Lops

David,

i'm thinking of something like that

https://codelabs.developers.google.com/codelabs/add-to-home-screen/#0




DecSoft

Hello Paolo,

I understand. Well. It's the first time that I know about that resource or "codelab". From the app's options (look at the app's options dialog, under the "WebApp > Progressive WebApp"), you can check the appropriate checkbox in order to create an Progressive Web App manifest. But, I am not quite sure if this is exactly what you wanted, since this alone causes that some browsers shown to the user, in the context menu, a way to add the app's icon in the device home screen.

Honestly, Paolo, I don't know what to say... you need to study the "codelab" and try to folow the instructions. I have no time right now to try that for you. For example, may you need to create an specific manifest, or add some pure Javascript code, and, maybe something more. The point is: if that can work in an HTML app... then must work in AB apps too. So please, study the instructions, do your tests, and, if you find some specific problem, I will try to help you.

Maybe I can take a look when I have some free time... but, certainly, the project don't appear quite interesting to me at a first view: apparently it's limited to one sole browser, which is not very good, in my opinion. However, again, try it and, if you need some specific help, post it here in order to try to help you.


Everybody can read the DecSoft support forum for learning purposes, however only DecSoft customers can post new threads. Purchase one or more licenses of some DecSoft products in order to give this and other benefits.

This website uses some useful cookies to store your preferences.

I agree. Hide this note. Give me more information.