facebook / facebook-sdk-for-unity

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

Unity Facebook SDK is dependent on android support library 25 #194

Open MorganMoon opened 6 years ago

MorganMoon commented 6 years ago

The required android support library should be upgraded (26+) ... The facebook android SDK is using 27 already. When using a newer version (26) of the android support library in unity, using the facebook SDK will crash the app. Other third party libraries require the use of these newer versions, thus creating conflicts. You can currently resolve this by targeting Android API level 25, however you get this warning from the google play store:

Warnings Your app currently targets API level 25 and must target at least API level 26 to ensure it is built on the latest APIs optimized for security and performance. From August 2018, new apps must target at least Android 8.0 (API level 26). From November 2018, app updates must target Android 8.0 (API level 26).

So this workaround wont be working for too much longer and it seems it wont work at all for new apps anyway.

Thanks!

MorganMoon commented 6 years ago

Since 7.14.0 this is no longer the case... However /Facebook.Unity.Editor/android/AndroidSupportLibraryResolver.cs still makes the play service resolver think this library is dependent on support library 25, however it works fine with newer versions