playx_version_update 0.2.0
playx_version_update: ^0.2.0 copied to clipboard
Easily show material update dialog in Android or Cupertino dialog in IOS with support for Google play in app updates.
Changelog #
0.2.0 #
Note : This release is a major release and may break some of the existing implementations. Please read the documentation carefully.
PlayxVersionUpdateResult
Breaking Changes
PlayxVersionUpdateResult.whennow returns a value instead of requiring callbacks to handle data.mapandmapAsyncnow directly return transformed results instead of requiring wrapped factory calls.- Renamed
SuccessandERRORclasses toPlayxVersionUpdateSuccessResultandPlayxVersionUpdateErrorResult.
Updates
- New
isSuccessandisErrorGetters – Easily check the result type. - More Flexible
when,map, andmapAsyncMethods – Now return transformed values instead of requiring extra wrapping.
Enhancements #
- Update packages.
- Use
playx_networkfor network requests for better error handling. - Dialog with
forceUpdatecan close the app usingSystemNavigator.pop()if noonCancelcallback is provided.
0.1.0 #
Note : This release is a major release and may break some of the existing implementations. Please read the documentation carefully.
-
Plugin now requires the following:
- Flutter >=3.19.0
- Dart >=3.3.0
- compileSDK 34 for Android part
- Java 17 for Android part
- Gradle 8.4 for Android part
- minimum Android sdk is 23
-
Update packages.
-
The plugin now supports wasm for web.
-
Add new methods
getAppVersionandgetAppBuildNumberinPlayxVersionUpdateto get the app version and build number. -
Enhance compatibility with web.
-
Update example app to latest android version and added other platforms.
0.0.6 0.0.7 #
- Update packages.
- Add
namespaceto build.gradle for the plugin. - Remove package name for manifest.
0.0.5 #
- Update packages.
- Enhance network requests logging in debug.
0.0.4 #
- Update packages.
- Bump Dart version to 3.2.0 and flutter to 13.16.0
- Add topics
0.0.3 #
- Better support for IOS.
- Add
PlatformNotSupportedErrorerror when the platform is not supported, for example trying to use Google play in app update on IOS.
0.0.2 #
- Enhancements for force update.
0.0.1 #
- Initial release.
