reactnativecn / react-native-website

React Native 中文网
https://reactnative.cn
MIT License
216 stars 327 forks source link

最新版RN 框架获取IP 导致隐私协议不合格 无法上架 #672

Closed cl1885 closed 1 year ago

cl1885 commented 1 year ago
image

(SDK: FaceBookReact) 读取设备IP

这个怎么解决?不符合政策不能上架

sunnylqm commented 1 year ago

看下 package.json

cl1885 commented 1 year ago

{ "name": "wlzs8", "version": "0.0.1", "private": true, "scripts": { "android": "react-native run-android", "ios": "react-native run-ios", "start": "react-native start", "test": "jest", "lint": "eslint . --ext .js,.jsx,.ts,.tsx" }, "dependencies": { "@react-native-async-storage/async-storage": "^1.17.10", "@react-native-camera-roll/camera-roll": "^5.0.4", "@react-native-community/geolocation": "^3.0.3", "@react-native-community/netinfo": "^9.3.6", "@react-navigation/native": "^6.0.13", "@react-navigation/native-stack": "^6.9.1", "fbjs": "^3.0.4", "ffmpeg-kit-react-native": "^5.1.0", "react": "18.1.0", "react-native": "0.70.5", "react-native-audio": "^4.3.0", "react-native-charts-wrapper": "^0.5.10", "react-native-fs": "^2.20.0", "react-native-image-picker": "^4.10.0", "react-native-image-zoom-viewer": "^3.0.1", "react-native-safe-area-context": "^4.4.1", "react-native-screens": "^3.18.2", "react-native-signature-capture": "^0.4.12", "react-native-sound": "^0.11.2", "react-native-swiper": "^1.6.0", "react-native-webview": "^11.23.1" }, "devDependencies": { "@babel/core": "^7.12.9", "@babel/runtime": "^7.12.5", "@react-native-community/eslint-config": "^2.0.0", "@tsconfig/react-native": "^2.0.2", "@types/jest": "^26.0.23", "@types/react": "^18.0.21", "@types/react-native": "^0.70.6", "@types/react-test-renderer": "^18.0.0", "@typescript-eslint/eslint-plugin": "^5.37.0", "@typescript-eslint/parser": "^5.37.0", "babel-jest": "^26.6.3", "eslint": "^7.32.0", "jest": "^26.6.3", "metro-react-native-babel-preset": "0.72.3", "react-test-renderer": "18.1.0", "typescript": "^4.8.3" }, "jest": { "preset": "react-native", "moduleFileExtensions": [ "ts", "tsx", "js", "jsx", "json", "node" ] } }

sunnylqm commented 1 year ago

感觉更像是因为提前调用了 @react-native-community/netinfo

cl1885 commented 1 year ago

感觉更像是因为提前调用了 @react-native-community/netinfo

应该不是 之前0.68 没问题

xhanglizhu commented 1 year ago

是不是因为TurboModules哦。

admin8384 commented 1 year ago

应该是react-native-community/netinfo导致的

github-actions[bot] commented 1 year ago

👋 Hey there, it looks like there has been no activity on this issue in the last 90 days. Has the issue been fixed, or does it still require the community attention? This issue will be closed in the next 7 days if no further activity occurs. Thank you for your contributions.

github-actions[bot] commented 1 year ago

Closing this issue after a prolonged period of inactivity. If this issue is still present in the latest release, please feel free to create a new issue with up-to-date information.

n1wd commented 1 year ago

大家最后是如何解决的?目前遇到同样问题,感谢