Skip to content
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

Update MercadoPago Android SDK #67

Open
franblanco95 opened this issue Sep 5, 2022 · 10 comments
Open

Update MercadoPago Android SDK #67

franblanco95 opened this issue Sep 5, 2022 · 10 comments
Assignees

Comments

@franblanco95
Copy link

Describe the bug

Hello guys, I'm having a problem when uploading my application to the playstore..

It says that the app contains the SDK com.mercadopago.android.px:services 4.45.0, which does not comply with the new PlayStore policies on data security.

That's why they ask to update the SDK to 4.53.2. There is time until October 25, otherwise we must uninstall the application library, because the updates will be rejected.

Screenshots

image

@checomendoza
Copy link

i am facing with the same problem. I have updated the skd version in the package.json file (line 145) to version 4.53.2 but Android Studio cannot resolve com.mercadopago.android.px:checkout:4.53.2
Seeing the documentation of the px-android repo of mercadopago, they have moved the latest version to a new repository

repositories {
     ...
     maven {
         url 'https://artifacts.mercadolibre.com/repository/android-releases/'
     }
}

I have changed and updated as indicated there and I was able to compile with version 4.53.2, but when I upload the update to the Play Store it keeps rejecting me for the same reason
Screen Shot 2022-09-05 at 13 53 42

@checomendoza
Copy link

checomendoza commented Sep 6, 2022

Hi guys! I've found a little solution for this issue. I have add mave url that specifies by mercadolibre, inside build.gradle from android folder of the project.
Then edit sdKVersion inside package.json of the library
Thats work for me.

@JonatanSalas
Copy link
Member

Hi @checomendoza would you mind to make a PR with your solution? We can merge it and make a release.

@JonatanSalas
Copy link
Member

We've published v0.8.0, so you can fix the upgrade issue by installing the newer version doing:

npm i @blackbox-vision/[email protected]

@Marcoo09
Copy link

Hi guys, I hope you're doing well
I'm on the last version but I still have the problem:
image

@franblanco95
Copy link
Author

Hi guys, I hope you're doing well I'm on the last version but I still have the problem: image

same problem here..

@JonatanSalas
Copy link
Member

If you want, you can make a PR if you find how to patch the issue. Currently with our team we're reaching a big milestone with a client so we aren't going to have enough time to work on this.

If this issue is really blocking for you, you can reach us to [email protected] and we can offer paid consulting hours.

@JonatanSalas JonatanSalas reopened this Sep 15, 2022
@Marcoo09
Copy link

I make it work doing a couple of changes, on the package I need to change the kotlin version to >=1.5.0
I tried with 1.7.10:
image
Then on android/build.gradle of the app I need to add:
image
I don't know why I need to do the latter, in the build.gradle of the library there is already this same thing

@franblanco95
Copy link
Author

Hello guys, the workaround that @Marcoo09 shares works okey.

When you add the maven url on android>build.gradle and build, android studio says that the kotlin version of the library has to be changed... So updating it will fix the problem! Thank you marco

@juliscotto
Copy link

Hi! Im still getting the same error in playstore, even after doing all of the above. How can I fix this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants