payu-intrepos / Android-SDK

PayU Android SDK
14 stars 8 forks source link

Affect Google Privacy Policy to payu sdkui for RECEIVE_SMS permission? #43

Closed DarshanPatel23 closed 5 years ago

DarshanPatel23 commented 5 years ago

I got mail from Google to remove restricted permission RECEIVE_SMS. In my project, this permission writes only on pay u sdkui manifest file.

ravitejaavv commented 5 years ago

I am having same concern on RECEIVE_SMS permission? Any update on this? We have to resubmit the app by fixing permission issue by Jan 9th

ananthpnj commented 5 years ago

I am also facing the same issue., any solution for this issue?

ravitejaavv commented 5 years ago

I am also facing the same issue., any solution for this issue?

https://support.google.com/googleplay/android-developer/answer/9047303

Check Exceptions -> SMS-based financial transactions (e.g. 5 digit messages), and related activity including OTP account verification for financial transactions and fraud detection

SUBMIT PERMISSIONS DECLARATION FROM TO GOOGLE PLAY TEAM

himgupta229 commented 5 years ago

Hi Everyone, you can remove RECEIVE_SMS permission from the sdkui module and update the Custom Browser to 7.3.0 version. We have added support for SMS Retriever client in version 7.3.0 and removed RECEIVE_SMS permission.

himgupta229 commented 5 years ago

.com.payu.custombrowser:payu-custom-browser:7.3.0 .For PnP sdk release visit https://github.com/payu-intrepos/payumoney-new-sample-app

usmansagri commented 5 years ago

how to remove SMS permissions from sdkui?

Im using

implementation 'com.payumoney.core:payumoney-sdk:7.4.4' implementation 'com.payumoney.sdkui:plug-n-play:1.4.4'

RationalRank commented 5 years ago

Hi @himgupta229 We reuse the SDKUI module from https://github.com/payu-intrepos/Android-SDK-Sample-App.

It uses custom browser V 7.3.0. Even after setting these below flags to true, the auto OTP read doesn't work. https://github.com/payu-intrepos/Android-SDK-Sample-App/blob/master/sdkui/src/main/java/com/payu/payuui/Activity/PaymentsActivity.java#L259 https://github.com/payu-intrepos/Android-SDK-Sample-App/blob/master/sdkui/src/main/java/com/payu/payuui/Activity/PaymentsActivity.java#L260

Do we need to configure any other stuff to enable One Tap payments?

And still com.payu.phonepe:phonepe-intent:1.0.0 requires READ_SMS permission.

ravitejaavv commented 5 years ago

Hello,

Still i can see SMS permission in manifest-merger log. How do we remove SMS permissions from below libraries.

com.payu.magicretry:magicretry:1.0.6] android.permission.RECEIVE_SMS

[com.payu.phonepe:phonepe-intent:1.0.0] android.permission.READ_SMS

himgupta229 commented 5 years ago

how to remove SMS permissions from sdkui?

Im using

implementation 'com.payumoney.core:payumoney-sdk:7.4.4' implementation 'com.payumoney.sdkui:plug-n-play:1.4.4'

.com.payu.custombrowser:payu-custom-browser:7.3.0 .For PnP sdk release visit https://github.com/payu-intrepos/payumoney-new-sample-app

himgupta229 commented 5 years ago

Hello,

Still i can see SMS permission in manifest-merger log. How do we remove SMS permissions from below libraries.

com.payu.magicretry:magicretry:1.0.6] android.permission.RECEIVE_SMS

[com.payu.phonepe:phonepe-intent:1.0.0] android.permission.READ_SMS

Phonepe version is updated to 1.1.0 to comply with Google SMS Policy.

himgupta229 commented 5 years ago

Use below dependencies of sdk which doesn't have SMS permission.

com.payu.custombrowser:payu-custom-browser:7.3.0 com.payu.phonepe:phonepe-intent:1.1.0

SandeepJatthap commented 4 years ago

I am using implementation 'com.payu.custombrowser:payu-custom-browser:7.3.0' implementation 'com.payu.phonepe:phonepe-intent:1.1.0'

But still it asks SMS read permission