google_play_instant 0.0.1+1 copy "google_play_instant: ^0.0.1+1" to clipboard
google_play_instant: ^0.0.1+1 copied to clipboard

PlatformAndroid

Flutter plugin for Google play instant API

google_play_instant #

Flutter plugin for Google Play Instant API

Features #

  • Checks whether the running app is an instant app or not.
  • Shows install prompt to the user.

Getting Started #

initialize the Google play instant object.

final googlePlayInstant = GooglePlayInstant();

check whether the current app is an instant app:

final isInstantApp = await googlePlayInstant.isInstantApp();

show install prompt (native android dialog):

googlePlayInstant.showInstallPrompt();