Revert "Disable OpenFile to please PlayStore overlords"

This reverts commit a5cac1579b.
This commit is contained in:
vishnukvmd
2022-11-24 16:15:24 +05:30
parent a5cac1579b
commit 02ffe72cca
3 changed files with 10 additions and 3 deletions

View File

@@ -6,7 +6,7 @@ import 'package:ente_auth/ente_theme_data.dart';
import 'package:ente_auth/services/update_service.dart';
import 'package:flutter/material.dart';
import 'package:logging/logging.dart';
// import 'package:open_file/open_file.dart';
import 'package:open_file/open_file.dart';
class AppUpdateDialog extends StatefulWidget {
final LatestVersionInfo latestVersionInfo;
@@ -157,7 +157,7 @@ class _ApkDownloaderDialogState extends State<ApkDownloaderDialog> {
},
);
Navigator.of(context, rootNavigator: true).pop('dialog');
// OpenFile.open(_saveUrl);
OpenFile.open(_saveUrl);
} catch (e) {
Logger("ApkDownloader").severe(e);
final AlertDialog alert = AlertDialog(

View File

@@ -728,6 +728,13 @@ packages:
url: "https://pub.dartlang.org"
source: hosted
version: "2.0.1"
open_file:
dependency: "direct main"
description:
name: open_file
url: "https://pub.dartlang.org"
source: hosted
version: "3.2.1"
otp:
dependency: "direct main"
description:

View File

@@ -50,7 +50,7 @@ dependencies:
local_auth: ^1.1.5
logging: ^1.0.1
move_to_background: ^1.0.2
# open_file: ^3.2.1 Disabled to please PlayStore overlords
open_file: ^3.2.1
otp: ^3.1.1
package_info_plus: ^1.0.1
password_strength: ^0.2.0