我正在尝试从资产文件夹中加载本地html文件
const localUri = Expo.Asset.fromModule(
require('../../../assets/intercom/intercom.html'),
);
文件已加载,但是当将附加资产路径添加到localUri.uri路径时出现了问题
这是localUri.uri输出的示例
“ html”,
"uri": "http://192.168.1.113:19001/assets/assets/intercom/intercom.html?platform=android&hash=b7f8ed17a6eb37cb8609261ed66e4843?platform=android&dev=true&minify=false&hot=false"
它应该是(没有重复的资产)
"uri": "http://192.168.1.113:19001/assets/intercom/intercom.html?platform=android&hash=b7f8ed17a6eb37cb8609261ed66e4843?platform=android&dev=true&minify=false&hot=false"