There are a lot of old questions and answers from many, many years back about the topic of migrating an existing paid app to a freemium model using in app purchases, but they all just state the same limited workarounds.
So is there an official way to do this in 2019? Or at least a method that avoids the usual pitfalls, like
Negative impact on user experience
- asking existing (paid) users to purchase a $0 IAP
- asking existing (paid) users to purchase an IAP using a promo code
Will eventually fail when the user buys a new device
- keep track of which devices had the paid app installed either by sending a device identifier to a server or by storing a flag in
SharedPreferences
There are other equally flawed methods as well which aren't even worth mentioning. The correct and easy fix would of course be a simple API call to Google Play Services:
bool legacyPremiumUser = didUserEverPurchaseThisApp();
Does anything like this exist today? Even just a way to identify a user across devices would be acceptable.