Sample project demonstrating the integration of Localytics push messaging with custom handling of particular rich push messages (e.g. images and notification actions).
- Copy your
google-services.json
into theapp/
. - In
MainActivity
replaceYOUR_SENDER_ID
with your project's sender ID/number. - In
AndroidManifest.xml
replaceYOUR-LOCALYTICS-APP-KEY
with your Localytics app key. - Build and run.
Send a push including an image_url
key with an HTTP image URL value.
Send a push including an action_category
key with the value social
or product
.