How to fetch the call-log and sms after Google`s New policy on permission?



How can I fetch call-log and SMS from android device. I read many docs on that and I found we have to request google for our required permission. Can anyone tell me what is a change in code? or work the same code?

Answer

An app I created Recently Required SMS and CALL_LOG Permissions. It was Executed Successfully on Android 9.0 (Pie). Thus, I don’t think there were any changes to the APIs being used to do so. But I do believe Google Updated Their Policies so You might not be able to pass the SafetyNet Check or You might not be able to Publish your app on the Play Store. If there are any More Questions, I’d be happy to help!
🖖🏻



Source: stackoverflow