-
Notifications
You must be signed in to change notification settings - Fork 105
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Google Play Error: SDK: Braintree Payments com.braintreepayments.api:data-collector (consider upgrading to version 4.31.0) #115
Comments
I found that version 4.27.0 is currently being pulled in after the build command is issued. <library Plug in needs version 4.31.0 or above. |
add this line and upgrade braintree sdk to version 6.+
in app/build.gradle like this dependencies {
|
I encountered the same issue and ended up upgrading the library from v1.1.3 to v1.1.5, essentially upgrading the Braintree Android SDK to v4 and Braintree iOS SDK to v5. That seemed to have fixed the issue. I had to upgrade the deployment targets for both Android & iOS to make it work with the latest version, plus some other changes. I would advise reviewing the latest readme file & make the necessary changes. |
Thanks for you comments @Jigs6720 and @ysudharsono. I managed to solve the problem in my app by changing the following in my build.gradle. I upgraded the version from to 6.9.0 to 6.11.0 implementation 'com.braintreepayments.api:drop-in:6.11.0'. This seemed to pull in an updated version of the dependency on com.braintreepayments.api:data-collector to a version above 4.31.0. I submitted the build to Play Store and it got approved so seemed to solve the problem :-). |
Hello everyone, I'm experiencing a Duplicate class issue in my React Native app (react-native: 0.63.2) when trying to integrate Braintree. I've gone through the solutions suggested in this thread but haven't had any luck solving the problem. I'm specifically facing this issue with react-native-braintree-dropin-ui versions:
in three scenarios I got same error Here's the error message I get during the build:
I've tried changing my dependencies based on the suggestions provided by @Jigs6720 and @mgdeveloper7 but still encounter the same issue. Is anyone else facing a similar issue or have a working solution for this? Any guidance would be much appreciated. Thank you. |
@ysudharsono Thanks for the upgrade. Could you please help? |
I too got this problem in Google and updated the library to the latest. But now I'm getting this error when building the app.
I have OpenJDK 11 installed. Can someone help me with this? Cheers! |
|
Earlier I was getting these two issues from Google.
Then I updated the react-native-braintree-dropin-ui to 1.1.5 and added implementation 'com.braintreepayments.api:data-collector:4.31.0' to the app/build.gradle file and sent a new build to Google. Now I'm getting this issue no matter what change I make.
Does anyone have any solution for this? |
Hi @ysudharsono how did you update Android SDK to v4? |
Hi, @mgdeveloper7 Could you please explain in detail what did you do to fix this issue and the version of the package you are using? Cheers! |
Hi Harisene, I was using react-native-braintree-dropin-ui, version 1.1.5. I only changed the following line in my android/app/build.gradle, updated from 6.9.0 to 6.11.0 implementation 'com.braintreepayments.api:drop-in:6.11.0' After recompiling, the dependency file, com.braintreepayments.api:data-collector automatically got raised to a version above 4.31.0, which is what I wanted. The app worked fine after that and Google accepted the submission. Hope that helps. |
Hi @mgdeveloper7 @ysudharsono @pckz @Harisene @Bob-MYMC i am using react-native-braintree-dropin-ui, version 1.1.7. buildToolsVersion = "33.0.1" I am successfully able to open braintree Drop in Ui but after selecting saved card or added new card dropIn UI just hides nothing happened after that.It neither goes to then and nor to catch. can you please help me in this ? |
Hi @Mangat0702 did you find a solution? I'm also using 1.1.7. No issue so far. Maybe you could try downgrading the version and try it out? |
Hi @Harisene |
thanks for the reply @Mangat0702 - I will update the thread soon if I experience the same |
Hi,
We are using the latest version of the react-native-braintree-dropin-ui in our app. I recently submitted a build of an app to Google Play Store. The app got rejected giving the following reason:
**Issue found: Violation of User Data policy
We reviewed SDKs used by your app and found noncompliant version(s) of SDK(s) which collects persistent device identifiers. Persistent device identifiers may not be linked to other personal and sensitive user data or resettable device identifiers.
Issue details
We found an issue in the following area(s):
SPLIT_BUNDLE 28: :
SDK: Braintree Payments com.braintreepayments.api:data-collector (consider upgrading to version 4.31.0)
Additionally, follow these steps to bring your app into compliance:
You may consider upgrading to a policy-compliant version of this SDK, if available from your SDK provider or removing the SDK.**
I've been submitting builds for this app for the last 18 months without issue until this week where it's been rejected. The User Data Policy on Google Play store had been updated recently.
Is there any way to upgrade the plugin to use version 4.31.0 of com.braintreepayments.api:data-collector as suggested?
Thanks
The text was updated successfully, but these errors were encountered: