This commit is contained in:
Yegor Vialov 2020-05-23 14:28:43 +00:00
parent 701e6a46df
commit 94acc67383
2 changed files with 2 additions and 2 deletions

View File

@ -162,7 +162,7 @@ FlutterLocalNotificationsPlugin flutterLocalNotificationsPlugin = new FlutterLoc
const String appName = 'HA Client'; const String appName = 'HA Client';
const appVersionNumber = '1.1.0'; const appVersionNumber = '1.1.0';
final String appVersionAdd = secrets['version_type'] ?? ''; final String appVersionAdd = secrets['version_type'] ?? '';
final String appVersion = '$appVersionNumber${appVersionAdd.isNotEmpty ? '-' : ''}$appVersionAdd'; const String appVersion = String.fromEnvironment('VERSION_NAME', defaultValue: '1.1.0');
const whatsNewUrl = 'http://ha-client.app/service/whats_new_1.1.0.md'; const whatsNewUrl = 'http://ha-client.app/service/whats_new_1.1.0.md';
Future<void> _reportError(dynamic error, dynamic stackTrace) async { Future<void> _reportError(dynamic error, dynamic stackTrace) async {

View File

@ -1,7 +1,7 @@
name: hass_client name: hass_client
description: Home Assistant Android Client description: Home Assistant Android Client
version: 1.1.0+1101 version: 1.1.0+1102
environment: environment: