[英]Expo : com.segment.analytics.android:analytics error while submitting my app to Google Play Console
I tried to upload the latest version of my app but I couldn't able to do the same because of the segment SDK version policy changes, etc. Even though the expo team says that this issue is fixed I'm facing the same error, kindly guide me if I'm doing something wrong.我尝试上传我的应用程序的最新版本,但由于细分 SDK 版本政策更改等原因,我无法执行相同操作。即使博览会团队表示此问题已修复,我也面临同样的错误,如果我做错了什么,请指导我。 Error Screenshot
错误截图
I tried the following actions我尝试了以下操作
even removed all the packages except the basic packages and removed all the screens, just kept one blank green screen, and published the app in internal testing still got the same error.甚至删除了除基本包之外的所有包并删除了所有屏幕,只保留了一个空白的绿屏,并在内部测试中发布了该应用程序仍然出现相同的错误。
package.json
包.json
{
"version": "1.1.50",
"main": "node_modules/expo/AppEntry.js",
"scripts": {
"start": "expo start",
"android": "expo start --android",
"ios": "expo start --ios",
"web": "expo start --web",
"eject": "expo eject"
},
"dependencies": {
"@expo/ngrok": "^4.1.0",
"expo": "^45.0.6",
"expo-status-bar": "~1.3.0",
"react-dom": "17.0.2",
"react-native": "0.68.2",
"react-native-reanimated": "~2.8.0",
"react-native-web": "0.17.7",
"standard-version": "^9.5.0",
"standard-version-expo": "^1.0.3"
},
"devDependencies": {
"@babel/core": "^7.12.9"
},
"private": true
}
App.js
应用程序.js
import React from "react";
import { StyleSheet, View} from "react-native";
export default function App() {
return (
<View style={styles.container}>
</View>
);
}
const styles = StyleSheet.create({
container: {
flex: 1,
backgroundColor:"lime"
},
});
please let me know what needs to be changed, Thanks请告诉我需要更改的内容,谢谢
Welcome to Stackoverflow and I am sorry to hear about your app rejection.欢迎来到 Stackoverflow,很遗憾听到您的应用被拒绝。
Looking at the rejection message, it clearly says that your app does not meet the new data policy as the version of the SDK 4.9.4 (com.segment.analytics.android:analytics) that you are using has an issue and it is better to upgrade to SDK version 4.10.1.查看拒绝消息,它清楚地表明您的应用程序不符合新的数据政策,因为您使用的 SDK 4.9.4 (com.segment.analytics.android:analytics) 的版本有问题并且更好升级到 SDK 版本 4.10.1。 Don't worry this is an automated review process rejecting your app so upgrading the SDK should help you fix the issue.
不用担心,这是一个拒绝您的应用程序的自动审核过程,因此升级 SDK 应该可以帮助您解决问题。
So I did some reading and looks like expo by default uses this segment library and there is no way to remove it currently as per https://github.com/expo/expo/issues/1320所以我做了一些阅读,看起来 expo 默认使用这个段库,目前没有办法根据https://github.com/expo/expo/issues/1320删除它
Sadly this is a problem you hit with free and open-source tools.可悲的是,这是您使用免费和开源工具遇到的问题。
The Expo documentation says that Segment is getting removed from SDK 46 but again SDK 46 is not released yet. Expo 文档说,Segment 已从 SDK 46 中删除,但 SDK 46 尚未发布。
Things you can do at this point:此时你可以做的事情:
You should run你应该跑
expo install expo-analytics-segment
世博会安装世博分析段
which upgrades the segment package to the newest version.它将段包升级到最新版本。 Then you will be able to submit the app.
然后,您将能够提交应用程序。
As seen in: https://github.com/expo/expo/issues/17845如所见: https ://github.com/expo/expo/issues/17845
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.