build_info_android

Creator: coderz1093

Last updated:

0 purchases

build_info_android Image
build_info_android Images

Languages

Categories

Add to Cart

Description:

build info android

build_info_android #
The Android implementation of build_info.
Usage #
This package is endorsed, which means you can simply use build_info normally. This package will be automatically included in your app when you do, so you do not need to add it to your pubspec.yaml.
However, if you import this package to use any of its APIs directly, you should add it to your pubspec.yaml as usual.
About implementation of Android version #
The Android version of build_info works as follows.

When building, android/build.gradle included in this package adds a field called BUILDINFO_TIMESTAMP to the BuildConfig class and sets the build time in milliseconds.
Calling the BuildInfo.fromPlatform method from Flutter returns the value of BuildConfig.BUILDINFO_TIMESTAMP and the value of firstInstallTime obtained from PackageInfo.

If firstInstallTime cannot be obtained, the installation date and time will be null.

License

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Files In This Product:

Customer Reviews

There are no reviews.