Skip to content
Tuan Nguyen edited this page May 20, 2020 · 79 revisions

Welcome to the svyMobile wiki!

This wiki provides comprehensive documentation for using the svyMobile sample, which shows you how to create a mobile solution using Servoy and phonegap.

Getting started

You can download the svyMobile project through git and import into the Servoy Developer to view the solution.

Creating Binary for iOS/Android Devices

In order to build the binary correctly with all features we need to first register for push notification accounts at FCM. Then download the following app template.zip, which contains all the configuration for plugins used for svyMobile app. Within the template we must replace the two files (google-services.json,GoogleService-Info.plist) from FCM console after registration.

Alternatively you can also try Servoy's Phonegap Build Generator (currently in beta). This application can help you fill out the template source required by Phonegap Cloud Build.

For more deployment details check out the following guide.

PWA

The application can also be installed as a PWA from mobile/desktop browsers.

To setup your own Manifest and head-index-contributions.html file. Use either the template from within the media folder of svyMobile Solution or if starting from a new solution, right click on the media and generate the files.

You can also get an example with some custom icon sizes via a thirdparty web application. Make sure to update the images referenced in the zip provided when importing to the media node of your solution.

For more information please follow the wiki here

If you want to setup service-workers, add a loader script by using plugins.ngclientutils.contributedTags. Keep the actual service-worker.js within the root context. If running developer the ROOT context can be found under the installation directory (application_server/server/webapps/ROOT)

Clone this wiki locally