Skip to content

Commit

Permalink
chore: remove external storage permission
Browse files Browse the repository at this point in the history
  • Loading branch information
mumu-lhl committed Jan 17, 2025
1 parent 21b65ba commit 7833b14
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,8 @@ Ciyue uses WebView to display words in a dictionary, and WebView needs INTERNET

### READ_EXTERNAL_STORAGE / MANAGE_EXTERNAL_STORAGE (Manage External Storage)

**Will be removed in v1**

Ciyue needs the permission to read mdd file, which is the resources of mdx file. (such as images, JavaScript, CSS, etc.)

## Translation
Expand Down
2 changes: 2 additions & 0 deletions README_CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,8 @@

### READ_EXTERNAL_STORAGE / MANAGE_EXTERNAL_STORAGE(管理外部存储空间)

**将在 V1 版本中被移除**

词悦需要该权限去读取 mdd 文件(mdx 文件的资源)。(如图片、JavaScript、CSS 等)。

## 翻译
Expand Down
3 changes: 0 additions & 3 deletions android/app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
android:label="@string/appName"
android:name="${applicationName}"
android:icon="@mipmap/launcher_icon"
android:requestLegacyExternalStorage="true"
android:enableOnBackInvokedCallback="true">
<activity
android:name=".MainActivity"
Expand Down Expand Up @@ -71,7 +70,5 @@
<action android:name="android.support.customtabs.action.CustomTabsService" />
</intent>
</queries>
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE"/>
<uses-permission android:name="android.permission.MANAGE_EXTERNAL_STORAGE"/>
<uses-permission android:name="android.permission.INTERNET"/>
</manifest>

0 comments on commit 7833b14

Please sign in to comment.