Avatar

Correct answer by
Employee

If you are implementing for the first time, you might be be better off looking at the demo app that is available at https://github.com/Adobe-Marketing-Cloud/mobile-services/tree/master/samples/Android rather than at a project that uses an earlier SDK. As you noticed the code and approach have changed significantly. If you do end out looking at the older SDK, this topic describes the changes between versions: https://marketing.adobe.com/resources/help/en_US/mobile/android/migration_v3.html

 

You can ignore the Target clientCode and audienceManager for now, the 4.x SDK supports integrations with those solutions but they aren't required for Analytics. For now if you just update the rsid and server you'll be set for Analytics (I can see how the docs are confusing here, we'll get this clarified).

One gotcha for first time set up is you need to find out if the rsid you were given is timestamp enabled (for offline data). If it is timestamp enabled, make sure you set offline enabled to true. If not set it to false.

View solution in original post