Last active
January 3, 2022 08:37
-
-
Save coderspacedev/51457759577ca10c271187d72a6d205e to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
List<String> productIds = [Platform.isAndroid ? 'android.test.purchased' : 'weekly']; | |
Future<void> initBilling() async { | |
billingHelper = FlutterBillingPlugin(); | |
//pass secret key for iOS development auto renewal | |
await billingHelper?.init(productIds, "a59d0387edeb46e594fc00be5463ab7f", false); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment