This is driving me a bit batty....
I'm attempting to get an app complete but having some issues with the
installation portion.
I cannot seem to figure out how to hook an "Install" button up within
the first page of the app to the install.js script from the Mortar apps.
What I really want is an install button that only appears if the app
is not installed on the system. The install.js script seems to cover
FF/chrome/ios installations which is good.
I've tried using the FFOSStub code along with a different script that
i found. That second script does do the install (on Firefox and FFOS)
but if I open the app it attempts to do the install again only intead
of installing it uninstalls the app...not good.
the FFOSStub app seemed like a good start. The button does
"disappear" after pressing it. However, it reappears on restarting
the app/ reloading the page. And pressing it installs the app a second
time.
Does anyone have a good pointer/example/suggestion on how to make this work?
Thank you very much for your help!
Wil
_______________________________________________
dev-webapps mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-webapps