instamojo-android-sdk icon indicating copy to clipboard operation
instamojo-android-sdk copied to clipboard

SDK should take care of permissions

Open vedhavyas opened this issue 7 years ago • 4 comments

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

vedhavyas avatar Mar 07 '17 11:03 vedhavyas

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

saich avatar Oct 05 '17 14:10 saich

@saich you are working on Java ❤️

vedhavyas avatar Oct 06 '17 05:10 vedhavyas

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

saich avatar Oct 06 '17 05:10 saich

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" />

vinaykumar2197 avatar Aug 09 '19 11:08 vinaykumar2197