add buildtime injectable build version and date #98
No reviewers
Labels
No Label
accessibility
android
before-launch
blocked-on-external-dependency
bug
chat-overlay
document-workaround
double-column
duplicate
enhancement
fix-pending
flutter-bug
group-experiment
help wanted
invalid
invite-overlay
needs-testing
packaging
privacy
provisionally-fixed
question
theme
tor
windows
wontfix
No Milestone
No Assignees
3 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: flutter/flutter_app#98
Loading…
Reference in New Issue
No description provided.
Delete Branch "version"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
buildtime injectable date and version. toggle in gomobile and ffi cwtch modules to set profile path accordingly!
Drone Build Status: success
https://build.openprivacy.ca/flutter/flutter_app/398
@ -21,0 +24,4 @@
static const BUILD_VER = String.fromEnvironment('BUILD_VER', defaultValue: dev_version);
static const BUILD_DATE = String.fromEnvironment('BUILD_DATE', defaultValue: "now");
}
I would move this to a config.dart file...just to avoid the weird import loop between gomobile/ffi.dart and main.dart (dart doesn't seem to mind, but it keeps things conceptually cleaner)
Drone Build Status: success
https://build.openprivacy.ca/flutter/flutter_app/399