问题描述
我在 IONIC 3 中开发了一个应用程序,我正在访问文件管理器来存储文件和读取文件。对于 android 11,我添加了 “MANAGE_EXTERNAL_STORAGE”
Play 商店拒绝了我的应用程序,因为为了访问文件管理器并在内部存储中创建 sqlite 数据库,我需要 MANAGE_EXTERNAL_STORAGE。
import { sqliteObject,sqlite } from '@ionic-native/sqlite'; 从'@ionic/storage'导入{存储};
this.sqlite.create({
name: 'test.db',location: 'default'
}).then((db: sqliteObject) => {
this.dbsql = db;
this.CreateTables();
}).catch(e => this.appmanager.ConsoleLog("DataB new",e));
this.file.createDir(this.file.externalRootDirectory,AppConstants.IMG_FOLDER,false).then((entry) => {}).catch((err) => {
})
解决方法
暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!
如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。
小编邮箱:dio#foxmail.com (将#修改为@)