【发布时间】:2022-07-22 15:38:06
【问题描述】:
我在我的 React Native 应用程序的 prod 版本(从应用商店或从 testflight 下载的应用程序)上收到警报“想要查找并连接到本地网络上的设备”。
根据我在网上找到的信息,这可能是由于我们正在使用的库之一请求此权限。
我如何知道哪个库要求它,或者我如何才能完全禁止此弹出窗口显示在 prod 上?
这些是我当前的依赖项:
"@ovalmoney/react-native-fitness": "^0.5.3",
"@react-native-async-storage/async-storage": "^1.15.7",
"@react-native-community/masked-view": "^0.1.11",
"@react-native-community/slider": "^4.1.3",
"@react-native-firebase/app": "^12.7.3",
"@react-native-firebase/dynamic-links": "^12.7.3",
"@react-native-firebase/messaging": "^12.7.3",
"@react-navigation/native": "^5.9.8",
"@react-navigation/stack": "^5.14.9",
"@sentry/react-native": "2.4.3",
"apollo-boost": "^0.4.9",
"graphql": "^15.5.1",
"graphql-tag": "^2.12.5",
"js-interpreter": "^2.3.1",
"lodash": "^4.17.21",
"mixpanel-react-native": "^1.3.2",
"mobx": "^5.14.0",
"mobx-react": "^5.0.0",
"moment": "^2.29.1",
"react": "17.0.2",
"react-native": "0.66.0",
"react-native-animatable": "^1.3.3",
"react-native-dash": "^0.0.11",
"react-native-device-info": "^8.3.1",
"react-native-gesture-handler": "1.9.0",
"react-native-hyperlink": "^0.0.19",
"react-native-intercom": "^22.0.1",
"react-native-linear-gradient": "^2.5.6",
"react-native-reanimated": "^1.13.3",
"react-native-safe-area-context": "^3.3.0",
"react-native-screens": "^3.6.0",
"react-native-sensors": "^7.3.3",
"react-native-svg": "^12.1.1",
"react-native-svg-charts": "^5.4.0",
"react-native-url-polyfill": "^1.3.0",
"react-native-vector-icons": "^8.1.0",
"react-native-video": "^5.1.1",
"rn-prompt": "^1.0.4"
【问题讨论】:
标签: react-native