App review
This commit is contained in:
parent
66ad0c3e14
commit
518e960741
|
|
@ -1,6 +1,5 @@
|
|||
org.gradle.jvmargs=-Xmx1536M
|
||||
android.useAndroidX=true
|
||||
android.enableJetifier=true
|
||||
android.enableJetifier=false
|
||||
android.enableR8=true
|
||||
android.enableDexingArtifactTransform=false
|
||||
android.jetifier.blacklist=bcprov
|
||||
|
|
@ -56,7 +56,10 @@ class _ReviewAppState extends State<ReviewApp> {
|
|||
});
|
||||
} else {
|
||||
if (_likesTheApp == true) {
|
||||
if (await AppReview.isAvailable()) {
|
||||
// TODO remove this code: https://github.com/britannio/in_app_review/issues/56
|
||||
if (isAndroid()) {
|
||||
AppReview.openStoreListing();
|
||||
} else if (await AppReview.isAvailable()) {
|
||||
AppReview.requestReview();
|
||||
} else if (kIsWeb || isLinux()) {
|
||||
launch(getRateAppURL(context));
|
||||
|
|
|
|||
|
|
@ -10,5 +10,6 @@ class AppReview {
|
|||
static void requestReview() => inAppReview.requestReview();
|
||||
|
||||
static void openStoreListing() => inAppReview.openStoreListing(
|
||||
appStoreId: isAndroid() ? kPlayStoreAppId : kAppStoreAppId, microsoftStoreId: kMicrosoftAppStoreId);
|
||||
appStoreId: isAndroid() ? kPlayStoreAppId : kAppStoreAppId,
|
||||
microsoftStoreId: kMicrosoftAppStoreId);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
name: invoiceninja
|
||||
version: '5.0.86'
|
||||
version: '5.0.87'
|
||||
summary: Create invoices, accept payments, track expenses & time-tasks
|
||||
description: "### Note: if the app fails to run using `snap run invoiceninja` it may help to run `/snap/invoiceninja/current/bin/invoiceninja` instead
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue