The connections are saved in two JSON files (favorites.json & recentlyAdded.json).
On Android the files are located in the ApplicationDocumentsDirectory.
On iOS the files are located in the ApplicationSupportDirectory.
On Android the downloaded files are saved to external storage. The location can be changed on Android in the settings.
On iOS the downloaded files are saved in the ApplicationDocumentsDirectory.
The path_provider package is used to get the directories listed above.
To save files to external storage, the
WRITE_EXTERNAL_STORAGE permission is needed on Android. To request and check this permission the permission_handler package is used.
User data is tracked with the firebase_analytics package.
Get latest available version
The releases on GitHub are received with the GitHub API and the http package in the JSON format. To get the latest version the releases are compared with the published_at key. Then the version numbers of the latest available version and the currently used version are compared. The version number of the latest available version is determined by the tag_name. The version number of the currently used version is determined by the pubspec.yaml file. To get this version number the package_info package is used.
Source Credit Url : https://github.com/niklas-8/RemoteFiles