instamojo-android-sdk
instamojo-android-sdk copied to clipboard
SDK should take care of permissions
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
Related: https://developer.android.com/studio/build/manifest-merge.html
@saich you are working on Java ❤️
@vedhavyas: Only temporarily ;-). Will ask you for help if I get stuck. :P
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" />