chore: 添加域名信任
This commit is contained in:
parent
240601b97b
commit
cfc1b71207
11
app.json
11
app.json
@ -11,6 +11,14 @@
|
|||||||
"ios": {
|
"ios": {
|
||||||
"supportsTablet": true,
|
"supportsTablet": true,
|
||||||
"infoPlist": {
|
"infoPlist": {
|
||||||
|
"NSAppTransportSecurity": {
|
||||||
|
"NSExceptionDomains": {
|
||||||
|
"192.168.20.2": {
|
||||||
|
"NSIncludesSubdomains": true,
|
||||||
|
"NSExceptionAllowsInsecureHTTPLoads": true
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
"NSPhotoLibraryUsageDescription": "允许访问照片库,以便模型使用您照片库中的素材进行视频创作”(例如:上传您参加音乐节的现场图,生成一个音乐节体验Vlog",
|
"NSPhotoLibraryUsageDescription": "允许访问照片库,以便模型使用您照片库中的素材进行视频创作”(例如:上传您参加音乐节的现场图,生成一个音乐节体验Vlog",
|
||||||
"NSPhotoLibraryAddUsageDescription": "App需要访问相册来保存图片",
|
"NSPhotoLibraryAddUsageDescription": "App需要访问相册来保存图片",
|
||||||
"NSLocationWhenInUseUsageDescription": "允许获取位置信息,以便模型使用您的位置信息进行个性化创作”(例如:上传您去欧洲旅游的位置信息,结合在当地拍摄的照片,生成一个欧洲旅行攻略Vlog)",
|
"NSLocationWhenInUseUsageDescription": "允许获取位置信息,以便模型使用您的位置信息进行个性化创作”(例如:上传您去欧洲旅游的位置信息,结合在当地拍摄的照片,生成一个欧洲旅行攻略Vlog)",
|
||||||
@ -36,7 +44,8 @@
|
|||||||
"WAKE_LOCK"
|
"WAKE_LOCK"
|
||||||
],
|
],
|
||||||
"edgeToEdgeEnabled": true,
|
"edgeToEdgeEnabled": true,
|
||||||
"package": "com.memowake.app"
|
"package": "com.memowake.app",
|
||||||
|
"networkSecurityConfig": "@xml/network_security_config"
|
||||||
},
|
},
|
||||||
"web": {
|
"web": {
|
||||||
"bundler": "metro",
|
"bundler": "metro",
|
||||||
|
|||||||
7
network_security_config.xml
Normal file
7
network_security_config.xml
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<network-security-config>
|
||||||
|
<domain-config cleartextTrafficPermitted="true">
|
||||||
|
<domain includeSubdomains="true">192.168.31.16</domain> <!-- Your local dev machine -->
|
||||||
|
<domain includeSubdomains="true">192.168.20.2</domain>
|
||||||
|
</domain-config>
|
||||||
|
</network-security-config>
|
||||||
Loading…
x
Reference in New Issue
Block a user