fix android version 10 open url

This commit is contained in:
niuhuan 2021-11-19 23:24:25 +08:00
parent 7bb735e736
commit a2fed79af8
2 changed files with 7 additions and 1 deletions

View File

@ -8,6 +8,13 @@
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" /> <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
<uses-permission android:name="android.permission.MANAGE_EXTERNAL_STORAGE" /> <uses-permission android:name="android.permission.MANAGE_EXTERNAL_STORAGE" />
<queries>
<intent>
<action android:name="android.intent.action.VIEW" />
<data android:scheme="https" />
</intent>
</queries>
<application <application
android:icon="@mipmap/ic_launcher" android:icon="@mipmap/ic_launcher"
android:label="pikapika" android:label="pikapika"

View File

@ -6,7 +6,6 @@ import 'package:filesystem_picker/filesystem_picker.dart';
import 'package:flutter/material.dart'; import 'package:flutter/material.dart';
import 'package:permission_handler/permission_handler.dart'; import 'package:permission_handler/permission_handler.dart';
import 'package:pikapika/basic/Common.dart'; import 'package:pikapika/basic/Common.dart';
import 'package:pikapika/basic/config/Platform.dart';
import 'package:url_launcher/url_launcher.dart'; import 'package:url_launcher/url_launcher.dart';
import 'Method.dart'; import 'Method.dart';
import 'config/ChooserRoot.dart'; import 'config/ChooserRoot.dart';