diff --git a/android/gradle.properties b/android/gradle.properties index dbe2e13..e444b2f 100644 --- a/android/gradle.properties +++ b/android/gradle.properties @@ -1,6 +1,4 @@ -org.gradle.jvmargs=-Xmx1g -org.gradle.daemon=true -org.gradle.caching=true +org.gradle.jvmargs=-Xmx512m android.useAndroidX=true android.enableJetifier=true android.enableR8=true diff --git a/lib/main.dart b/lib/main.dart index 8c03499..9f4cde2 100644 --- a/lib/main.dart +++ b/lib/main.dart @@ -160,7 +160,7 @@ EventBus eventBus = new EventBus(); //FlutterLocalNotificationsPlugin flutterLocalNotificationsPlugin = new FlutterLocalNotificationsPlugin(); const String appName = 'HA Client'; const String appVersion = String.fromEnvironment('versionName', defaultValue: '0.0.0'); -const whatsNewUrl = 'http://ha-client.app/service/whats_new_1.1.0-b2.md'; +const whatsNewUrl = 'http://ha-client.app/service/whats_new_1.1.2.md'; Future _reportError(dynamic error, dynamic stackTrace) async { // Print the exception to the console. @@ -249,6 +249,7 @@ class _HAClientAppState extends State { positiveText: "Ok" ) )); + InAppPurchaseConnection.instance.completePurchase(purchase[0]); } else { Logger.d("Purchase change handler: ${purchase[0].status}"); } diff --git a/pubspec.yaml b/pubspec.yaml index 5bbf0d3..33bc1a4 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -1,7 +1,7 @@ name: hass_client description: Home Assistant Android Client -version: 1.1.1+1158 +version: 1.1.2+1159 environment: @@ -19,7 +19,7 @@ dependencies: date_format: ^1.0.8 charts_flutter: ^0.8.1 flutter_markdown: ^0.3.3 - in_app_purchase: ^0.3.0+3 + in_app_purchase: ^0.3.4 flutter_custom_tabs: ^0.6.0 flutter_webview_plugin: ^0.3.10+1 webview_flutter: ^0.3.19+7