Let's use the latest version of the in_app_purchase
package in Flutter to implement the API integration for getting courses, a single course, and applying promo codes.
Ensure your pubspec.yaml
file includes the latest in_app_purchase
package:
dependencies:
flutter:
sdk: flutter
in_app_purchase_storekit: ^0.3.0
http: ^0.13.3