Web app template which can handle push notifications on most platforms.
Serve the www
folder on localhost and open www/firebase.html
.
The safari support requires you to serve www/safari.html
on the domain you specified at apple.
- install phonegap
-
run
phonegap run android --device
-
open chrome to inspect the app running in Android chrome://inspect/#devices more
-
find registration event in the console logs
-
run
phonegap run ios --device
(push notifications do not work in the simulator) -
open Safari to inspect the app running in iOS (Develop -> [device name])
-
find registration event in the console logs
(If you build and run the app using Xcode can see the logs there too.)