I know how to get the version using package_info, but how to get the build timestamp on Runtime both on ios and android?
You can use a build shell script that creates/updates a Dart file in lib/...
with constants holding the date before running flutter build ...
.
You then import that file in your code and use it.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With