smarkets / react-native-paypal

React Native library that implements PayPal Checkout flow using purely native code
MIT License
118 stars 54 forks source link

com.paypal.android.sdk:data-collector Violating Problem from Google Play Developer Console #126

Open Sinson48 opened 6 months ago

Sinson48 commented 6 months ago

We have integrated react-native-paypal(4.1.0) in our react-native application. We are getting a policy violation message from the Google play developer team. The message as follows. This is for android version.

Issue found: Violation of User Data, Permissions and APIs that Access Sensitive Information Policies We have observed that your app is using an SDK that is designed to collect device location by default. This SDK can result in your app violating the prominent disclosure and consent and/or approved purpose requirements of Google Play’s User Data and Permissions and APIs that Access Sensitive Information policies. You are hereby requested to provide evidence of your compliance with the Prominent Disclosure and Consent requirements. Your app submissions will be rejected pending your action. Issue details We found an issue in the following area(s):

We cannot publish our application which has number of features & issue fixes.

olessavluk commented 6 months ago

this is coming from official Android SDK, will need them to suggest solution first https://github.com/braintree/braintree_android/issues/931

pavelglebov commented 6 months ago

+1

pavelglebov commented 5 months ago

Apparently, v3 is no longer approved by Google. SDK team suggests to migrate to v4: https://github.com/braintree/braintree_android/issues/931#issuecomment-1997730423

conghaile commented 5 months ago

For anyone who googled their way here, just use https://github.com/ekreative/react-native-braintree now

nabilfreeman commented 5 months ago

I just finished moving to the linked React Native Braintree library above.

This morning I was very nervous about making the move as payment integration is usually something that just goes on and on in a very indeterminate way.

First I actually tried to migrate this library to v4. I would strongly not recommend doing that unless you are very experienced with Android or you are an expert in the Braintree SDK as there are quite a lot of architectural changes.

Giving up on that I migrated to the new library and it only took a few minutes to make the necessary changes. You will probably have many of the things integrated already, for example the Info.plist changes were already done.