在Android上架的时候给驳回了,下面是驳回的问题代码
堆栈:at android.hardware.SensorManager.getSensorList()
at android.hardware.SensorManager.getDefaultSensor(SensorManager.java:488)
at android.view.OrientationEventListener.(OrientationEventListener.java:71)
at org.wonday.orientation.OrientationModule$1.(OrientationModule.java:55)
at org.wonday.orientation.OrientationModule.(OrientationModule.java:55)
at org.wonday.orientation.OrientationPackage.createNativeModules(OrientationPackage.java:28)
at com.facebook.react.ReactPackageHelper.getNativeModuleIterator(ReactPackageHelper.java:43)
at com.facebook.react.NativeModuleRegistryBuilder.processPackage(NativeModuleRegistryBuilder.java:42)
at com.facebook.react.ReactInstanceManager.processPackage(ReactInstanceManager.java:1458)
at com.facebook.react.ReactInstanceManager.processPackages(ReactInstanceManager.java:1429)
at com.facebook.react.ReactInstanceManager.createReactContext(ReactInstanceManager.java:1331)
at com.facebook.react.ReactInstanceManager.lambda$runCreateReactContextOnNewThread$2(ReactInstanceManager.java:1101)
at com.facebook.react.ReactInstanceManager.$r8$lambda$AwGS8CysOZmWJw3kRVARHQvw9Ew(Unknown Source:0)
at com.facebook.react.ReactInstanceManager$$ExternalSyntheticLambda5.run(Unknown Source:4)
at java.lang.Thread.run(Thread.java:764)
"react-native-orientation-locker": "^1.7.0"
在Android上架的时候给驳回了,下面是驳回的问题代码 堆栈:at android.hardware.SensorManager.getSensorList() at android.hardware.SensorManager.getDefaultSensor(SensorManager.java:488) at android.view.OrientationEventListener.(OrientationEventListener.java:71)
at org.wonday.orientation.OrientationModule$1.(OrientationModule.java:55)
at org.wonday.orientation.OrientationModule.(OrientationModule.java:55)
at org.wonday.orientation.OrientationPackage.createNativeModules(OrientationPackage.java:28)
at com.facebook.react.ReactPackageHelper.getNativeModuleIterator(ReactPackageHelper.java:43)
at com.facebook.react.NativeModuleRegistryBuilder.processPackage(NativeModuleRegistryBuilder.java:42)
at com.facebook.react.ReactInstanceManager.processPackage(ReactInstanceManager.java:1458)
at com.facebook.react.ReactInstanceManager.processPackages(ReactInstanceManager.java:1429)
at com.facebook.react.ReactInstanceManager.createReactContext(ReactInstanceManager.java:1331)
at com.facebook.react.ReactInstanceManager.lambda$runCreateReactContextOnNewThread$2(ReactInstanceManager.java:1101)
at com.facebook.react.ReactInstanceManager.$r8$lambda$AwGS8CysOZmWJw3kRVARHQvw9Ew(Unknown Source:0)
at com.facebook.react.ReactInstanceManager$$ExternalSyntheticLambda5.run(Unknown Source:4)
at java.lang.Thread.run(Thread.java:764)
行为主体:FaceBookReact
检测项: 违规收集个人信息
风险信息:APP向用户明示SDK的收集使用规则,未经用户同意,SDK存在收集((SDK: FaceBookReact) 读取特定类型传感器列表)的行为。
这个一启动后就会自动触发传感器,能不能解决下传感器的问题
我就yarn add react-native-orientation-locker 审核就不给通过,问题就是DK存在收集((SDK: FaceBookReact) 读取特定类型传感器列表)的行为。关键是我都没有引入react-native-orientation-locker他就给我驳回了
yarn remove react-native-orientation-locker审核就可以通过