Fix for PDF
This commit is contained in:
parent
22f6ad4a74
commit
f877c4d4a9
|
|
@ -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"
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -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';
|
||||
|
|
|
|||
|
|
@ -22,7 +22,8 @@ Future<Null> 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;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue