Commit f47924ea65e754bc0e19c9e4ba719fb2c091280d

Authored by wdn127929
1 parent 57951b00

发版5.1.9

... ... @@ -18,19 +18,19 @@ if (flutterRoot == null) {
def flutterVersionCode = "518"
def flutterVersionCode = "519"
if (flutterVersionCode == null) {
flutterVersionCode = '518'
flutterVersionCode = '519'
}
def flutterVersionName = "5.1.8"
def flutterVersionName = "5.1.9"
if (flutterVersionName == null) {
flutterVersionName = '5.1.8'
flutterVersionName = '5.1.9'
}
... ...
... ... @@ -50,6 +50,40 @@
android:name="flutterEmbedding"
android:value="2" />
<!-- <provider
android:name="vn.hunghd.flutterdownloader.DownloadedFileProvider"
android:authorities="${applicationId}.flutter_downloader.provider"
android:exported="false"
android:grantUriPermissions="true">
<meta-data
android:name="android.support.FILE_PROVIDER_PATHS"
android:resource="@xml/provider_paths"/>
</provider> -->
<!-- Begin FlutterDownloader customization -->
<!-- disable default Initializer -->
<!-- <provider
android:name="androidx.startup.InitializationProvider"
android:authorities="${applicationId}.androidx-startup"
android:exported="false"
tools:node="merge">
<meta-data
android:name="androidx.work.WorkManagerInitializer"
android:value="androidx.startup"
tools:node="remove" />
</provider> -->
<!-- declare customized Initializer -->
<!-- <provider
android:name="vn.hunghd.flutterdownloader.FlutterDownloaderInitializer"
android:authorities="${applicationId}.flutter-downloader-init"
android:exported="false">
<meta-data
android:name="vn.hunghd.flutterdownloader.MAX_CONCURRENT_TASKS"
android:value="5" />
</provider> -->
<!-- End FlutterDownloader customization -->
<intent-filter>
<action android:name="android.intent.action.MAIN"/>
<category android:name="android.intent.category.LAUNCHER"/>
... ...
<?xml version="1.0" encoding="utf-8"?>
<resources>
<string name="flutter_downloader_notification_started">started</string>
<string name="flutter_downloader_notification_in_progress">in progress</string>
<string name="flutter_downloader_notification_canceled">canceled</string>
<string name="flutter_downloader_notification_failed">failed</string>
<string name="flutter_downloader_notification_complete">complete</string>
<string name="flutter_downloader_notification_paused">paused</string>
<string name="flutter_downloader_notification_channel_name">Downloader</string>
<string name="flutter_downloader_notification_channel_description">Display download progress</string>
</resources>
\ No newline at end of file
... ...
... ... @@ -3,7 +3,7 @@
archiveVersion = 1;
classes = {
};
objectVersion = 46;
objectVersion = 50;
objects = {
/* Begin PBXBuildFile section */
... ... @@ -532,7 +532,7 @@
CODE_SIGN_ENTITLEMENTS = Runner/RunnerProfile.entitlements;
CODE_SIGN_IDENTITY = "Apple Development";
CODE_SIGN_STYLE = Automatic;
CURRENT_PROJECT_VERSION = 5182;
CURRENT_PROJECT_VERSION = 519;
DEVELOPMENT_TEAM = 8J59HM8B82;
ENABLE_BITCODE = NO;
FLUTTER_BUILD_MODE = release;
... ... @@ -547,7 +547,7 @@
"$(inherited)",
"$(PROJECT_DIR)/Flutter",
);
MARKETING_VERSION = 5.1.8;
MARKETING_VERSION = 5.1.9;
PRODUCT_BUNDLE_IDENTIFIER = com.naji.reserveLine;
PRODUCT_NAME = Runner;
PROVISIONING_PROFILE_SPECIFIER = "";
... ... @@ -678,7 +678,7 @@
CODE_SIGN_ENTITLEMENTS = "Runner/一键订Debug.entitlements";
CODE_SIGN_IDENTITY = "Apple Development";
CODE_SIGN_STYLE = Automatic;
CURRENT_PROJECT_VERSION = 5182;
CURRENT_PROJECT_VERSION = 519;
DEVELOPMENT_TEAM = 8J59HM8B82;
ENABLE_BITCODE = NO;
FLUTTER_BUILD_MODE = release;
... ... @@ -693,7 +693,7 @@
"$(inherited)",
"$(PROJECT_DIR)/Flutter",
);
MARKETING_VERSION = 5.1.8;
MARKETING_VERSION = 5.1.9;
PRODUCT_BUNDLE_IDENTIFIER = com.naji.reserveLine;
PRODUCT_NAME = Runner;
PROVISIONING_PROFILE_SPECIFIER = "";
... ... @@ -714,7 +714,7 @@
CODE_SIGN_ENTITLEMENTS = Runner/Runner.entitlements;
CODE_SIGN_IDENTITY = "Apple Development";
CODE_SIGN_STYLE = Automatic;
CURRENT_PROJECT_VERSION = 5182;
CURRENT_PROJECT_VERSION = 519;
DEVELOPMENT_TEAM = 8J59HM8B82;
ENABLE_BITCODE = NO;
FLUTTER_BUILD_MODE = release;
... ... @@ -729,7 +729,7 @@
"$(inherited)",
"$(PROJECT_DIR)/Flutter",
);
MARKETING_VERSION = 5.1.8;
MARKETING_VERSION = 5.1.9;
PRODUCT_BUNDLE_IDENTIFIER = com.naji.reserveLine;
PRODUCT_NAME = Runner;
PROVISIONING_PROFILE_SPECIFIER = "";
... ...
... ... @@ -80,10 +80,14 @@ Future<PermissionStatus> contactPermissionStatus() async {
Future<bool> requestContactPermission() async {
if (Platform.isAndroid) {
//全局提示权限使用目的
BuildContext context = App.navigatorKey.currentState.overlay.context;
DialogUtil.showAuthorityDestination(
context, 'h_contant', '通讯录权限使用说明', '直接从通讯录获得客户电话号码,快速录入预订信息。');
PermissionStatus permissionStatus = await Permission.contacts.status;
if (permissionStatus != PermissionStatus.permanentlyDenied) {
//全局提示权限使用目的
BuildContext context = App.navigatorKey.currentState.overlay.context;
DialogUtil.showAuthorityDestination(
context, 'h_contant', '通讯录权限使用说明', '直接从通讯录获得客户电话号码,快速录入预订信息。');
}
}
final permissions = await [Permission.contacts].request();
if (permissions[Permission.contacts] == PermissionStatus.granted) {
... ...
... ... @@ -182,7 +182,7 @@ dependencies:
# webview_flutter: ^2.0.13
# flutter_inappwebview: ^5.3.2
flutter_inappwebview: ^5.7.2+3
# flutter_downloader: ^1.7.1
# flutter_downloader: ^1.10.5
# open_file: ^3.2.1
webview_flutter:
... ...