There are things like the native.showPopup() API that lets you send text messages. This would require access to the phone information. If you use a native.newWebView() you can have tel:nnn-nnn-nnnn URL’s. I’m sure there are a few other API calls that would also need access to the phone hardware.
android = { googlePlayGamesAppId = "XXXXXXXX", --insert your app id number for google game services usesPermissions = { "android.permission.INTERNET", "android.permission.ACCESS\_NETWORK\_STATE", "android.permission.READ\_PHONE\_STATE" }, },
Thanks for your answer guys!
This is the Android part, I’m guessing the “READ_PHONE_STATE” line is the one that I was looking for.
Could you confirm that?
Also, just to be sure, if I remove the request for Device ID & call information the app will still function as usual right?
While I was looking for a solution I’ve read that this request is responsible to get calls while playing the game.
It seems pretty weird to me because there are a lot of apps that don’t require this and still let you get calls while using them.
unfortunately I can’t check this issue in testing, it only occurs while the app is live.
I can’t confirm it with 100% certainty, but I do think it is “READ_PHONE_STATE” that is troubling you.
re: Getting calls. I don’t think that’s right, but not being an Android expert I can’t be sure. However it seems very unlikely that you could block phone call from coming in.
re: removing ‘READ_PHONE_STATE’ permission. Yes, you should be fine. You can test this. Remove the permission, build it, and install it on your test device. If it still works fin, then you’re good to go.
READ_PHONE_STATE will prompt you for those permissions. But there are things that may need that permission. You need to figure out why you added it in the first place. If you don’t need it remove it.
There are things like the native.showPopup() API that lets you send text messages. This would require access to the phone information. If you use a native.newWebView() you can have tel:nnn-nnn-nnnn URL’s. I’m sure there are a few other API calls that would also need access to the phone hardware.
android = { googlePlayGamesAppId = "XXXXXXXX", --insert your app id number for google game services usesPermissions = { "android.permission.INTERNET", "android.permission.ACCESS\_NETWORK\_STATE", "android.permission.READ\_PHONE\_STATE" }, },
Thanks for your answer guys!
This is the Android part, I’m guessing the “READ_PHONE_STATE” line is the one that I was looking for.
Could you confirm that?
Also, just to be sure, if I remove the request for Device ID & call information the app will still function as usual right?
While I was looking for a solution I’ve read that this request is responsible to get calls while playing the game.
It seems pretty weird to me because there are a lot of apps that don’t require this and still let you get calls while using them.
unfortunately I can’t check this issue in testing, it only occurs while the app is live.
I can’t confirm it with 100% certainty, but I do think it is “READ_PHONE_STATE” that is troubling you.
re: Getting calls. I don’t think that’s right, but not being an Android expert I can’t be sure. However it seems very unlikely that you could block phone call from coming in.
re: removing ‘READ_PHONE_STATE’ permission. Yes, you should be fine. You can test this. Remove the permission, build it, and install it on your test device. If it still works fin, then you’re good to go.
READ_PHONE_STATE will prompt you for those permissions. But there are things that may need that permission. You need to figure out why you added it in the first place. If you don’t need it remove it.