packages icon indicating copy to clipboard operation
packages copied to clipboard

[in_app_purchase_storekit] Updated comment

Open avni-prajapati opened this issue 6 months ago • 0 comments

Updated the comment refer to StoreKit instead of Android, in example/lib/main.dart

Before

void main() {
  WidgetsFlutterBinding.ensureInitialized();
  // When using the Android plugin directly it is mandatory to register
  // the plugin as default instance as part of initializing the app.
  InAppPurchaseStoreKitPlatform.registerPlatform();

After

void main() {
  WidgetsFlutterBinding.ensureInitialized();
  // When using the StoreKit plugin directly it is mandatory to register
  // the plugin as default instance as part of initializing the app.
  InAppPurchaseStoreKitPlatform.registerPlatform();

Issue

Closes https://github.com/flutter/flutter/issues/159623

Pre-Review Checklist

If you need help, consider asking for advice on the #hackers-new channel on Discord.

[^1]: Regular contributors who have demonstrated familiarity with the repository guidelines only need to comment if the PR is not auto-exempted by repo tooling.

avni-prajapati avatar Jun 18 '25 05:06 avni-prajapati