Check that you've updated your configuration settings file (or the corresponding variables in .env
) to reflect the correct values:
- Delete or remove the local.json file in the config directory. Otherwise this will overwrite the values in production.json
API.ENDPOINT
: update to point this at the remote API serverSHARING.URL
: update this to the URL to use when the user uses a share action from within the appSHARING.MESSAGES
: update these to reflect the custom sharing messages your organization wants to use
Update the Ionic project file and config.xml files to reflect your organization, e.g. update the field, set the domains the app is allowed to communicate with etc.
Please see the Ionic - Publishing your app page for full details
- Run
cordova plugin rm org.apache.cordova.console
- Edit the AndroidManifest.xml file under platforms/android
- change
android:name
to the correct name for your app - change
android:debuggable="true"
toandroid:debuggable="false"
or add it if not present
- change
Ensure you have google-services.json
and eff-alerts.keystore
in the root of the project, then run:
sudo docker-compose run --rm app ./build --sign [keystore alias]
This will build a signed APK and place it in the releases/
directory.