I am trying to ask for READ_PHONE_STATE permission for android M but it works in Activities and when i implement it in fragment it doesn't show dialogue box. Here is the code.
Here is method requestReadPhoneStatePermission
And here is code on onRequestPermissionsResult.
What i am missing? Thanks in advance.