I\'m trying to make my app ready for Android 6 and now I\'m stuck to the point where you need to request and check permissions.
I tried the following from the docs:
@SuppressLint("NewApi")
I simply used this on top of my page and it works for me...