opentok / opentok-android-sdk-samples

Sample applications illustrating best practices using OpenTok Android SDK.
https://tokbox.com/developer/sdks/android/
MIT License
210 stars 169 forks source link

Why do we need the android.permission.READ_PHONE_STATE ? #455

Closed jrdaher closed 1 year ago

jrdaher commented 1 year ago

Describe the bug It's more of a question. I am wondering why open tok needs this permission. I have tried removing it via <!-- <uses-permission android:name="android.permission.READ_PHONE_STATE" tools:node="remove"/>--> and things work just fine.

Would it be possible to remove it from open tok sdk in the future ?

Thank you !

jintgeorge commented 1 year ago

@jrdaher No plans to remove the phone state permission in near future. You may see issues when you accept an incoming phone call during opentok session is active.