3.1.0
What's new
Identity
Call this function to link a user to his unique ID in your system and share purchase data.
Qonversion.identify("your_custom_user_id");Call this function to unlink a user from his unique ID in your system and his purchase data.
Qonversion.logout();Support for AppStore promo purchases
Qonversion.promoPurchasesStream.listen((productID) async {
try {
// check AppStore productID value in case you want to enable promoted purchase only for specific products
// call `promoPurchase` if you want to allow promo purchase or just store productID and call when needed
// don't call `promoPurchase` if you don't want to allow purchase
final permissions = await Qonversion.promoPurchase(productID);
} catch (e) {
print(e);
}
});