Instamojo / instamojo-android-sdk

Android SDK for Instamojo Payments
17 stars 20 forks source link

SDK should take care of permissions #24

Open vedhavyas opened 7 years ago

vedhavyas commented 7 years ago

At this point, SDK expects the app to take care of permissions. But this should not be the case and should be taken care by SDK itself.

https://github.com/Instamojo/android-sdk-sample-app/blob/master/app/src/main/AndroidManifest.xml

saich commented 7 years ago

Related: https://developer.android.com/studio/build/manifest-merge.html

vedhavyas commented 7 years ago

@saich you are working on Java ❤️

saich commented 7 years ago

@vedhavyas: Only temporarily ;-). Will ask you for help if I get stuck. :P

vinaykumar2197 commented 5 years ago

Add this to your manifest file :)

<uses-permission
    android:name="android.permission.SEND_SMS"
    tools:node="remove" />
<uses-permission
    android:name="android.permission.RECEIVE_SMS"
    tools:node="remove" />
<uses-permission
    android:name="android.permission.RECEIVE_WAP_PUSH"
    tools:node="remove" />
<uses-permission
    android:name="android.permission.RECEIVE_MMS"
    tools:node="remove" />