Releases: defold/extension-facebook
Updated to support Defold 1.8.0
FB 17.0.0 and Limited Login APIs
-
FB SDK updated to the version 17.0.0. In this version FB made changes in login flow, read about it in Changes made to Facebook Login SDK for iOS
-
New functions for limited login were added:
facebook.login_with_tracking_preference()
- iOS ONLY. Login to Facebook and request a set of permissions. Allows developers to signal that a login is limited in terms of tracking users.facebook.get_current_authentication_token()
- iOS ONLY. This function returns the currently stored authentication token after a previous successful login.facebook.get_current_profile()
- iOS ONLY. After your application receives the logged-in user’s authentication token, you can use this function to read information that user has granted to your application.facebook.set_default_audience()
- iOS ONLY. The audience that should be able to see the publications. Should be called beforefacebook.login_with_tracking_preference()
.facebook.LOGIN_TRACKING_ENABLED
- available only if in App Tracking Transparency request user enabled tracking.facebook.LOGIN_TRACKING_LIMITED
- should beused if in App Tracking Transparency request user disabled tracking.
If the user has disabled tracking but you still attempt to log in using facebook.login_with_permissions()
or its equivalent facebook.login_with_tracking_preference()
with facebook.LOGIN_TRACKING_ENABLED
, you will receive a Facebook Access token.
re information about the changes is available in the official Facebook documentation:
Build fix when using XCode 15.1 and iOS 17.2 sdk
7.2.1 Removed warning of using extern C with the cxx-modules
Added Cocoapod support
NEW: Facebook SDK for iOS now uses Cocoapods to install dependencies
Upgraded build.gradle for compatibility with Gradle 7.x
FIX: The build.gradle is now compatible with Gradle 7.x and above (changing from deprecated compile to implementation)
Updated to Facebook SDK 14.1
Updated the SDK to version 14.1. Thanks @dri-richard !
Build fix for js-web
7.0.1 build fix
Updated to use dmScript::LuaToJson()
Compatible with Defold 1.4.0+
Manually cleanup JNI local references.
Facebook analytics may produce a huge amount of local references which might be a reason for crashes on Android 7.0 and lower because this OS version has a limit of 512 local references.
Added option to enable and disable advertiser tracking on iOS
NEW: Added enable_advertiser_tracking()
and disable_advertiser_tracking()
to set the AdvertiserTrackingEnabled (the 'ATE' flag) on iOS, to inform Audience Network to use the data to deliver personalized ads for users on iOS 14 and above. Thanks @dri-richard for the contribution!