Skip to content

Releases: defold/extension-facebook

Updated to support Defold 1.8.0

15 Apr 08:00
4887293
Compare
Choose a tag to compare

CHANGE: This version works on Defold 1.8.0 and above

FB 17.0.0 and Limited Login APIs

10 Apr 07:21
d4b622e
Compare
Choose a tag to compare
  • 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 before facebook.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

10 Jan 14:08
Compare
Choose a tag to compare
7.2.1

Removed warning of using extern C with the cxx-modules

Added Cocoapod support

18 Jul 20:54
210830a
Compare
Choose a tag to compare

NEW: Facebook SDK for iOS now uses Cocoapods to install dependencies

Upgraded build.gradle for compatibility with Gradle 7.x

11 Jul 05:48
Compare
Choose a tag to compare

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

20 Jun 10:00
e4e7876
Compare
Choose a tag to compare

Updated the SDK to version 14.1. Thanks @dri-richard !

Build fix for js-web

03 Nov 08:33
Compare
Choose a tag to compare
7.0.1

build fix

Updated to use dmScript::LuaToJson()

03 Nov 08:31
8a685a2
Compare
Choose a tag to compare

Compatible with Defold 1.4.0+

Manually cleanup JNI local references.

01 Sep 11:47
7149a08
Compare
Choose a tag to compare

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

15 Feb 13:16
94c411b
Compare
Choose a tag to compare

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!