Sample project demonstrating the integration of Localytics places with additional validation for dwell time.
- Copy your
google-services.json
into theapp/
. - In
AndroidManifest.xml
replaceYOUR-LOCALYTICS-APP-KEY
with your Localytics app key. - Build and run.
Create places campaigns that will by default wait for a dwell time of 10 minutes to trigger. If you would like to customize the dwell time, add a key value to the campaign with a key of "dwell-time" and value representing the wait time in seconds.