google play升级--解决“照片和视频权限”政策问题
This commit is contained in:
parent
fe95be571f
commit
df3b0b40d3
@ -37,8 +37,6 @@
|
||||
|
||||
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" android:maxSdkVersion="32"/>
|
||||
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
|
||||
<uses-permission android:name="android.permission.READ_MEDIA_IMAGES" />
|
||||
<uses-permission android:name="android.permission.READ_MEDIA_VIDEO" />
|
||||
<uses-permission android:name="android.permission.READ_MEDIA_AUDIO" />
|
||||
|
||||
<!--允许麦克风权限,用于录音发送-->
|
||||
@ -53,6 +51,10 @@
|
||||
<!-- 相册权限 34适配 -->
|
||||
<uses-permission android:name="android.permission.READ_MEDIA_VISUAL_USER_SELECTED" />
|
||||
|
||||
<!-- 移除可能导致Google Play政策问题的权限 -->
|
||||
<uses-permission android:name="android.permission.READ_MEDIA_IMAGES" tools:node="remove" />
|
||||
<uses-permission android:name="android.permission.READ_MEDIA_VIDEO" tools:node="remove" />
|
||||
|
||||
<!-- 移除 QUERY_ALL_PACKAGES 权限 -->
|
||||
<uses-permission
|
||||
android:name="android.permission.QUERY_ALL_PACKAGES"
|
||||
|
||||
@ -68,7 +68,8 @@ class AppLifecycleObserver extends WidgetsBindingObserver {
|
||||
status == TalkStatus.proactivelyCallWaitingAnswer ||
|
||||
status == TalkStatus.answeredSuccessfully ||
|
||||
status == TalkStatus.uninitialized) &&
|
||||
Get.currentRoute != '/StarLockRegisterPage') { // 避免在注册页返回
|
||||
Get.currentRoute != '/StarLockRegisterPage' &&
|
||||
Get.currentRoute != '/StarLockForgetPasswordPage') { // 避免在注册页/忘记密码页返回
|
||||
Get.back();
|
||||
}
|
||||
StartChartManage().destruction();
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user