initializeGooglePlay function
dynamic
initializeGooglePlay()
Implementation
initializeGooglePlay() {
// Inform the plugin that this app supports pending purchases on Android.
// An error will occur on Android if you access the plugin `instance`
// without this call.
if (defaultTargetPlatform == TargetPlatform.android) {
// InAppPurchaseAndroidPlatformAddition.enablePendingPurchases();
}
}