I don’t understand in practice what this part of the documentation really mean:
Google Play on Android
Due to platform limitations, purchases will be transferred as soon as you call
configureif a user's purchases are already associated with another app user ID.
This may cause unexpected transfers of purchases between app user IDs, especially for apps with optional logins or users with multiple devices. To prevent this behavior, you should wait to call
configureuntil you have the appropriate app user ID for your customer.
My app is developed in Flutter, and I couldn’t find a “configure” method on the RevenueCat SDK for Flutter. Is it referring to the “setup” method? If that’s so, then should I first login the user before calling setup/configure? Won’t RevenueCat throw an error when I try to login the user before calling the setup/configure method?
In short, how can I set the user UID before I call the setup/configure method?
Please, an example in code would be much appreciated, if possible.
Best answer by AndyView original