Sample project demonstrating the integration of Localytics for a customer supporting GDPR. You can click here to read the Localytics Documentation on GDPR. This app ensures that the correct opted out status is always reported to Localytics, including when that status has changed in another service, such as a webpage.
This app requires SDK v5.1 and up in order to properly support GDPR.
- In
localytics.xml
replaceYOUR-LOCALYTICS-APP-KEY
with your Localytics app key. - Replace empty sections left in
UserLoginTask#doInBackground
andMyApplication
with appropriate server calls to log a user in as well as check their privacy opted out status. - Build and run.
This app is gated by an authentication screen. It is required that the end user log into the app in order to use the underlying features. As a result, we don't deal with anonymous users, and can always garauntee a GDPR compliant integration for end users.