Why PHONE CALLS permission is added to my built apk?

13 replies [Last post]
mehran.taheri's picture
mehran.taheri
User offline. Last seen 1 day 7 hours ago. Offline
Joined: 16 Aug 2011

The following code shows my build settings. As you can see I have requested only INTERNET and WRITE_EXTERNAL_STORAGE permissions.

1
2
3
4
5
        androidPermissions =
        {
          "android.permission.INTERNET",
          "android.permission.WRITE_EXTERNAL_STORAGE",
        }

However upon installing the built apk sent by Corona, I noticed it requests an additional permission: the PHONE CALLS (READ PHONE STATE AND IDENTITY) permission which is not in the list.

I don't know why it has generated this permission but from what I've read in Market I really don't like it and want to remove it. Please help me to do that.

This permission even can read the phone number and serial number of the phone. Here is what Google exactly says about this permission: "Allows the application to access the phone features of the device. An application with this permission can determine the phone number and serial number of this phone, whether a call is active, the number that call is connected to and the like."

Replies

tmapps's picture
tmapps
User offline. Last seen 1 day 15 hours ago. Offline
Joined: 9 Feb 2011

Corona team, there is no answer for this question????

dirtyBit
User offline. Last seen 8 hours 2 min ago. Offline
Joined: 5 Sep 2011

+1

hgvyas123's picture
hgvyas123
User offline. Last seen 1 week 1 day ago. Offline
Joined: 12 Dec 2010

i think that was required by the openfeint,papaya and may be by launchpad

:)

dirtyBit
User offline. Last seen 8 hours 2 min ago. Offline
Joined: 5 Sep 2011

I have disabled launchpad in config.lua, but the permission: PHONE CALLS is still there. Any idea on how to remove it?

hgvyas123's picture
hgvyas123
User offline. Last seen 1 week 1 day ago. Offline
Joined: 12 Dec 2010

edit the apk directly you can not disable that with your lua code.

:)

dirtyBit
User offline. Last seen 8 hours 2 min ago. Offline
Joined: 5 Sep 2011

Ok, thanks

bobyeh.13905's picture
bobyeh.13905
User offline. Last seen 1 week 6 days ago. Offline
Joined: 19 Jan 2011

Hi,

If anyone here find a way to remove these permissions (i.e., the PHONE CALLS (READ PHONE STATE AND IDENTITY) permission) in daily build, please let me know.

Thanks.

Bob

hgvyas123's picture
hgvyas123
User offline. Last seen 1 week 1 day ago. Offline
Joined: 12 Dec 2010

hi bob,

currently by removing read phone state permission (by directly editing the apk) will crash app at the startup so it is not recommended

@RSCdev's picture
@RSCdev
User offline. Last seen 1 hour 10 min ago. Offline
Joined: 6 Sep 2011

Hey @hgyvas, I`ve done exactly the opposite you mentioned and my app is running OK (as Android Market hasn`t show any ERRORS to me).

PS: This info you passed let me a little afraid as I`ve never seen anyone mentioning it by the forums (am not saying that I am sure though) and if it can really happen, so I need to think about a update... ":\

Cheers,
Rodrigo.

hgvyas123's picture
hgvyas123
User offline. Last seen 1 week 1 day ago. Offline
Joined: 12 Dec 2010

well may be you are right as i had read somewhere that ansca is now making readphone permission optional because of the amazon issue regarding tablet will do test for this

have you edited apk or is there other way to remove this permission (just curious by opposite word)

:)

@RSCdev's picture
@RSCdev
User offline. Last seen 1 hour 10 min ago. Offline
Joined: 6 Sep 2011

No worry @hgyvas.

Yes, you`re right about that last Ansca changement.

BTW, YES, I`ve edited the APK file directly after have built it with Corona and have removed all permissions that looked like no issue for my app functionality and looks like I got it as the app is on Android Market already and has 150+ downloads and no ERRORS.

Cheers,
Rodrigo.

ethanpil
User offline. Last seen 10 weeks 6 days ago. Offline
Joined: 18 Dec 2011

@RSCdev

Can you explain how you edited the APK to change permissions? I want to make sure it will stay secure and signed to be accepted in the Markets...

@RSCdev's picture
@RSCdev
User offline. Last seen 1 hour 10 min ago. Offline
Joined: 6 Sep 2011

@ethanpil - SURE I can try to help you.

Look, to become able to edit my Apks I`ve followed the page on the link: http://www.base2solutions.com/walkabout/Corona%20Tips.html#7

If you look carefully it am sure you`ll get it as I did and many others. If you do not get, come back in the forum and sure myself or any other will try to help you as possible.

PS: Remember to download the right version of the Apk Manager (apk`s editor itself) - If you`re on PC or MAC download the right version for your system.

Cheers,
Rodrigo.

Viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.