Unity-Contacts-List icon indicating copy to clipboard operation
Unity-Contacts-List copied to clipboard

SMS Permission and Google Console

Open mcolombo opened this issue 4 years ago • 8 comments

Hey, i downloaded this asset and works perfectly. My doubt is regarding the SEND_SMS permission. Is this really necessary? In the end, we only access the Contacts. If I remove the permission, the plugin does not work. But if i leave it, then Google asks me how do I use that permission when uploading the game in the console, since it's a sensitive permission.

Did anyone encounter this problem? If so, what option did you choose for the "reasons" list for that permission?

Thanks a lot

Screen Shot 2020-05-02 at 17 39 55

mcolombo avatar May 02 '20 20:05 mcolombo

mcolombo i am also phase this issue right now.so i want to ask you that did you found any solution about this situation.if you found then please can you tell me.

Nameless77 avatar Jul 23 '20 08:07 Nameless77

Hi, yes i solved it. What i did is remove the SEND_SMS permission request from the plugin. It was useless. I had to create a new one using the base of the contacts plugin.

Here's the one i created, maybe it woks for you as well: https://www.dropbox.com/s/uq3r5ssa7626yiy/android-prefs-plugin.aar?dl=0

Cheers!

mcolombo avatar Jul 23 '20 11:07 mcolombo

well i am very new to use .aar files in unity.i mean i dont know how to use .aar files in unity.so how can i use this .aar file in unity. do you have any project regarding this or instructions about how to use this file in unity.and in the main plugin i phase a issue and that is all things works perfectly but when i debug.log a text string which is contain all the contact details it prints only 7 contacts and then it repeat the same thing so what is the problem can you phase this problem.if you can then please can you help me.

Nameless77 avatar Jul 27 '20 05:07 Nameless77

Just drag the .aar to Plugins/Android in your assets folder in Unity. Regarding the Contact details issues you mention, you should contact the creator of the pluging. I just copy pasted that into my plugin and removed the unnecessary permission.

mcolombo avatar Jul 27 '20 15:07 mcolombo

ok thank you so much for your help mcolombo.

Nameless77 avatar Jul 28 '20 08:07 Nameless77

Hi @mcolombo, could you share your solution with us? Thanks!

axterdesarrollos avatar Mar 16 '22 12:03 axterdesarrollos

I had to import the plugin in android studio and remove the sensitive lines that forced the sms permission to appear. Then compile it and put it back in unity. Honestly, i dont remember exactly what else i did.

Hope it helps.

mcolombo avatar Mar 16 '22 12:03 mcolombo

Thank you!

axterdesarrollos avatar Mar 16 '22 22:03 axterdesarrollos