Skip to content

Commit

Permalink
Update main.dart
Browse files Browse the repository at this point in the history
  • Loading branch information
vegaro committed Oct 5, 2021
1 parent 32eea50 commit f53315d
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions revenuecat_examples/purchase_tester/lib/main.dart
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,7 @@ class _MyAppState extends State<InitialScreen> {
// Platform messages are asynchronous, so we initialize in an async method.
Future<void> initPlatformState() async {
await Purchases.setDebugLogsEnabled(true);
await Purchases.setup("api_key");

await Purchases.setup("api_key", useAmazon: true);
PurchaserInfo purchaserInfo = await Purchases.getPurchaserInfo();

// If the widget was removed from the tree while the asynchronous platform
Expand Down

0 comments on commit f53315d

Please sign in to comment.