add buildtime injectable build version and date #98

Merged
sarah merged 1 commits from version into trunk 2021-05-31 18:11:24 +00:00
Owner

buildtime injectable date and version. toggle in gomobile and ffi cwtch modules to set profile path accordingly!

buildtime injectable date and version. toggle in gomobile and ffi cwtch modules to set profile path accordingly!
Owner
Drone Build Status: success https://build.openprivacy.ca/flutter/flutter_app/398
sarah reviewed 2021-05-31 15:42:30 +00:00
lib/main.dart Outdated
@ -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");
}
Owner

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)

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)
Owner
Drone Build Status: success https://build.openprivacy.ca/flutter/flutter_app/399
sarah merged commit 1776e73836 into trunk 2021-05-31 18:11:24 +00:00
Sign in to join this conversation.
No description provided.