This sample is for showing how to let users opt out from Analytics, following the GDPR compliance.
Using Ti.Analytics
you can let users opt out of your app. This is demonstrated in the index controller.
For this you can use the Ti.Analytics.optedOut
property (getter and setter).
When the user has opted-out, no Analytics events will be send to the server.
There are many other components of app-development that should become GDPR-complient as well. Some modules that are already GDPR complient:
This project uses the axway/env-alloy
NPM plugin
to lint the source. You can lint the source yourself using npm run lint
.
Make sure to reach out to the Titanium Slack community for questions or file a JIRA ticket if you run into any issues.
Rene Pot, Axway Appcelerator
Apache 2