in_app_update_flutter 1.0.3 copy "in_app_update_flutter: ^1.0.3" to clipboard
in_app_update_flutter: ^1.0.3 copied to clipboard

A Flutter plugin to display an in-app update prompt for iOS using the App Store product page. This avoids navigating the user out of your app, providing a seamless and native update experience.

πŸ“¦ in_app_update_flutter #

A Flutter plugin to display an in-app update prompt for iOS using the App Store product page. This avoids navigating the user out of your app, providing a seamless and native update experience.


✨ Features #

  • βœ… Show in-app update prompt using SKStoreProductViewController
  • βœ… Native Swift implementation
  • βœ… No manual setup required in iOS AppDelegate
  • βœ… Pass dynamic App Store ID via MethodChannel
  • βœ… Works directly from Flutter with a single call

πŸ›  Installation #

Add the package to your pubspec.yaml:

dependencies:
  in_app_update_flutter: ^1.0.0

Then run:

flutter pub get

πŸš€ Usage #

import 'package:in_app_update_flutter/in_app_update_flutter.dart';

await InAppUpdateFlutter().showUpdate(appStoreId: '1234567890');

Make sure to pass your App Store ID (from the app’s public iTunes URL).


πŸ” How to Get Your App Store ID #

  1. Go to your app’s App Store URL
    Example: https://apps.apple.com/app/id1234567890
  2. Extract the numeric ID (without the id prefix)
  3. Pass it like this:
await InAppUpdateFlutter().showUpdate(appStoreId: "1234567890");

πŸ“± iOS Notes #

  • βœ… Supports iOS 12.0+
  • ❌ Does not work on simulators
  • ❌ Not supported in TestFlight builds (use App Store or dev builds on real devices)

βœ… Example #

A complete working example is available in the example/ directory.

cd example
flutter run

πŸ“¦ Publisher #

Published by pulkit.sh


πŸ“„ License #

MIT License


🀝 Contributing #

Pull requests and feedback are welcome!
For major changes, please open an issue first to discuss what you’d like to change.

68
likes
0
points
15.6k
downloads

Publisher

verified publisherpulkitagarwal.me

Weekly Downloads

A Flutter plugin to display an in-app update prompt for iOS using the App Store product page. This avoids navigating the user out of your app, providing a seamless and native update experience.

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

flutter, plugin_platform_interface

More

Packages that depend on in_app_update_flutter

Packages that implement in_app_update_flutter