diff --git a/android/app/build.gradle b/android/app/build.gradle index 0f62c1a89..a02f02eb4 100644 --- a/android/app/build.gradle +++ b/android/app/build.gradle @@ -30,8 +30,8 @@ android { applicationId "com.invoiceninja.invoiceninja_flutter" minSdkVersion 16 targetSdkVersion 27 - versionCode 11 - versionName "0.1.9" + versionCode 12 + versionName "0.1.10" testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner" } diff --git a/lib/constants.dart b/lib/constants.dart index cf273edc5..acf998aa4 100644 --- a/lib/constants.dart +++ b/lib/constants.dart @@ -1,7 +1,7 @@ import 'package:flutter/material.dart'; // This version must be updated in tandem with the pubspec version. -const String kAppVersion = '0.1.9'; +const String kAppVersion = '0.1.10'; const String kSharedPrefEmail = 'email'; const String kSharedPrefUrl = 'url'; diff --git a/lib/utils/pdf.dart b/lib/utils/pdf.dart index 2740e6a37..f60844efd 100644 --- a/lib/utils/pdf.dart +++ b/lib/utils/pdf.dart @@ -22,7 +22,8 @@ Future viewPdf(InvoiceEntity invoice, BuildContext context) async { final String url = 'https://docs.google.com/viewer?url=' + invoice.invitationDownloadLink; if (await canLaunch(url)) { - await launch(url, forceSafariVC: true, forceWebView: true); + await launch(url, + forceSafariVC: false, forceWebView: false); } else { throw localization.anErrorOccurred; } diff --git a/pubspec.yaml b/pubspec.yaml index 9118c98c4..ff9200ad8 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -1,6 +1,6 @@ name: invoiceninja_flutter description: Mobile app for Invoice Ninja -version: 0.1.9 +version: 0.1.10 author: Hillel Coren homepage: https://www.invoiceninja.com documentation: http://docs.invoiceninja.com