setAppsflyerID(AppsFlyerLib.getInstance().getAppsFlyerUID(context))
The source code above is used to set the AppsFlyer ID.
But it only works the first time. Consider the use case below:
- The user install the app and open it.
- The
setAppsflyerID
is executed, setting the ID to "AAA-AAA" - The user uninstall the app
- The user install the app again
- The
setAppsflyerID
is executed, setting the ID to "BBB-BBB"
From now on, on AppsFlyer the user is "BBB-BBB", but since the set does not work on RC, it stays as "AAA-AAA", making any type of integration between platform impossible, because they are referring to different users.
Does anyone else have the same issue? For some reason is this the expected behavior? If so, what will happen for the use case I mentioned?
*The same behavior happens on Android and on iOS.