Currently, the paywall in our app is only shown to users who are logged in, so we do not need to deal with anonymous users.
However, we are introducing Apple offer codes and we want to support the URLs with the offer code embedded. I am hoping this flow will work:
- User clicks on the URL with the Apple offer code embedded
- User redeems the code
- User downloads our app and registers with us, we create a user ID for them
-
We call
setup
from the Flutter SDK with the user ID
At this point, if we make a call to GET /subscribers/app_user_id
with the new user ID, will it return the entitlement that was granted using the offer code? Will setup
have aliased the anonymous ID with our new user ID?
Thank you very much for your help!