build_info_ios 1.0.0 build_info_ios: ^1.0.0 copied to clipboard
iOS implementation of the build_info plugin.
build_info_ios #
The iOS 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 iOS version #
The iOS version of build_info works as follows.
- Call the BuildInfo.fromPlatform method from Flutter.
- Use
path(forResource:ofType:)
to get the last modification date and time of the bundled Info.plist file and use it as the build date and time. - Get the creation date and time of Document Directory as the installation date and time.
- Returns the value obtained in "2." and "3.".
If each date and time cannot be obtained, it will be null.