facebook / facebook-sdk-for-unity

The facebook sdk for unity.
https://developers.facebook.com/docs/unity
Other
493 stars 257 forks source link

android:debuggable set as true by default and prevent to upload on the playstore #420

Open nicoplv opened 4 years ago

nicoplv commented 4 years ago

Checklist

Environment

Describe your dev environment here, giving as many details as possible. If you have them, make sure to include:

Goals

Regenerate android manifest

Expected Results

Generate an android manifest with the possibility to upload the apk on the store

Actual Results

Impossibility to upload the apk on the store (google play store) because the android:debuggable is set at true by default. Error message from the playstore : "You uploaded a debuggable APK. For security reasons you need to disable debugging before it can be published in Google Play"

Steps to Reproduce

manelizzard commented 4 years ago

Same here

gtino commented 4 years ago

Same problem here

mana-break commented 4 years ago

same problem, unity 2019.4, FB SDK 7.19.2

jindrazak commented 4 years ago

Same here, Unity 2020.1.10f1.

Manually editting Plugins/Android/AndroidManifest.xml and changing android:debuggable="true" to false helped.

MartinGonzalez commented 3 years ago

We need to report issues and bugs in other page, that is why they never answer here image

https://developers.facebook.com/bugs/

Awais6 commented 2 years ago

wasted my 6+ hours due to this worst issue

narolewskim commented 1 year ago

This issue still presists

ifg-kev commented 4 months ago

There's a great solution in this thread on the Unity forum, posted by Voxel busters. A post processor for the manifest that ensure the debuggable flag is set to false. About half way down the thread, you'll see the code block.

https://forum.unity.com/threads/2019-3-you-uploaded-a-debuggable-apk.757094/

Obviously the proper solution would be the FB SDK not doing this, but this is passable for a quick fix.