jonasbark/flutter_in_app_update
소개
공식 Android API를 사용해 앱 내 업데이트를 지원하는 Flutter 플러그인입니다.
기타 프로젝트측정된 스타 증가
- in 24h
- 0
- in 7 days
- 0
- in 15 days
- 0
- in 1 month
- 기록 수집 중
서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.
README.md
OriginalMaintained by Jonas Bark
in_app_update
Enables In App Updates on Android using the official Android APIs.
https://developer.android.com/guide/app-bundle/in-app-updates

Documentation
The following methods are exposed:
Future<AppUpdateInfo> checkForUpdate(): Checks if there's an update availableFuture<void> performImmediateUpdate(): Performs an immediate update (full-screen)Future<void> startFlexibleUpdate(): Starts a flexible update (background download)Future<void> completeFlexibleUpdate(): Actually installs an available flexible update
Please have a look in the example app on how to use it!
Android
This plugin integrates the official Android APIs to perform in app updated that were released in 2019: https://developer.android.com/guide/app-bundle/in-app-updates
iOS
iOS does not offer such a functionality. You might want to look into e.g. https://pub.dev/packages/upgrader. If you call the methods above on a iOS device you'll run into a not-implemented exception.
Troubleshooting
Getting ERROR_API_NOT_AVAILABLE error
Be aware that this plugin cannot be tested locally. It must be installed via Google Play to work. Please check the official documentation about In App Updates from Google:
https://developer.android.com/guide/playcore/in-app-updates/test
Update does not work on old Android versions
In App Updates are only available from API Versions >= 21, as mentioned here.
관련 프로젝트 살펴보기
불러오는 중…