I have a paid Android app which I want to migrate to RevenueCat and also make free (converting each app purchase to an equivalent in-app purchase - but I’m not talking about the details of this here).
Since the app is currently paid, I do a license check using Google Play’s License Verification Library. This library gives a userId which is unique for that user-app combination and will not change in the future even with uninstall-reinstall etc. This userId does not expose any information about the user (looks like some meaningless hash).
At first glance, this looks like a good userId to set through the RevenueCat SDK. Even after the app is made free, the License Verification Library can be used to fetch the userId, and so also fetch any entitlements through the RevenueCat SDK.
Now, this will work for the Android app, but a new userId strategy will be needed once I expand to other platforms. I’m not worried about this for now, however.
Has anyone used this strategy before? Any issues I may face?
