Closed v-boichuk closed 8 months ago
RN v2 doesn't use the native SDK package com.segment.analytics.android:analytics
anymore which is the component that is being marked here.
In previous issues this has been due to caches keeping the v1 native modules around.
I suggest making a clean build:
./gradlew cleanBuildCache
com.segment.analytics.android
in your Android gradle files (it's not required anymore)I'm not particularly sure why Android in particular keeps around this module (sometimes) when migrating from v1 but you don't need it.
Application with @segment/analytics-react-native can't pass the Play Console review. I've seen other closed issues, but they do not resolve the issue. We migrated to v2 of segment analytics, also manually set
collectDeviceId
param to false during initialization. Nothing helps.here is reply from reviewers:
used version:
Steps to reproduce 1.Install latest version of Segment analytics libraries.