purchases 0.0.3 copy "purchases: ^0.0.3" to clipboard
purchases: ^0.0.3 copied to clipboard

Revenuecat purchases cross platform

purchases #

https://pub.dev/packages/purchases

An extension for the purchases_flutter, that allows to get the purchased information for every platform.


Purchases.apiKey = 'Add your api key';
Purchases.userId = 'Add the user id';

Purchases.purchasesInfo.addListener((info) {
    // For platforms that support the revenue cat native sdk(android, ios and macos),
    // this information will be updated whenever there is new changes.
    // For platform not supported by the official plugin this information will only be retrieved once, 
    // after the user id has been set
});

To use the native sdk endpoints you can check

if(Purchases.sdkSupported) {
    ///...
}
3
likes
70
pub points
26%
popularity

Publisher

unverified uploader

Revenuecat purchases cross platform

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (LICENSE)

Dependencies

flutter, http, purchases_flutter

More

Packages that depend on purchases