facebook / facebook-sdk-for-unity

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

SDK Lite #89

Open toom1984 opened 7 years ago

toom1984 commented 7 years ago

Any idea if FB will make a SDK "lite"? Having Facebook and Firebase in a Unity project already almost takes you over the DEX ref limit. I'm currently just looking to have login and invites implemented. Any way to remove bits of the SDK without having to slow every build down by having to export to Android Stuido?

astrubel-zz commented 7 years ago

If you using Unity5.6.2, you can build with Gradle(new) option. I have Facebook, Firebase and google play services and it works for me without android studio.

Nevertheless, if I try to activate ProGuard I have a HarcodedDebugMode issue without android:debuggable attribute in my manifests. Maybe a Unity issue

huhund commented 6 years ago

Yes please! SDK lite! We are also close to the dex limit.

nhutlv01 commented 6 years ago

Same issues. Bradle build not work for me.

Ranttal commented 6 years ago

@astrubel I am working with Facebook, Firebase and Appodeal in my project and using Unity5.6.1f1 but I am getting dex classes error and also if I go for gradle build then only firebase is working and facebook login is not working and if any how after auto resolution I am able to build apk from unity editor it results in working of facebook but firebase stops working. Please help me to solve this if you had done both facebook and firebase together.

kobyle69 commented 6 years ago

Same here...

ZulqarnainSatti commented 6 years ago

Same issue here, Firebase + Facebook = dex limit reached!