Socket
Socket
Sign inDemoInstall

cordova-plugin-facebook-connect

Package Overview
Dependencies
0
Maintainers
1
Versions
15
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install
2Next

3.2.0

Diff

noahcooper
published 3.1.1 •

Changelog

Source

3.1.1 (2021-09-07)

Breaking Changes

  • Updated plugin.xml to indicate that cordova-android >= 9 is required (closes #90)

<a name="3.1.0"></a>

noahcooper
published 3.1.0 •

Changelog

Source

3.1.0 (2021-08-31)

Features

  • Updated the showDialog method to allow for sharing photos (closes #54)
  • Added new setDataProcessingOptions method to allow for setting Data Processing Options as part of compliance with the California Consumer Privacy Act (CCPA) (closes #57)
  • Added new setUserData and clearUserData methods to enable the use of Advanced Matching (closes #56)

Bug Fixes

  • Fixed an issue that could break the Cordova resume event on Android, which in turn could cause problems with elements like <input type="file" /> (closes #68)
  • Fixed an issue that would cause Facebook dialogs to open in a webview on Android (closes #81)

Documentation

  • Updated README to document the getDeferredApplink method, and the process necessary to use it on iOS (closes #42)

<a name="3.0.0"></a>

noahcooper
published 3.0.0 •

Changelog

Source

3.0.0 (2021-08-17)

Breaking Changes

  • Dropped support for cordova-ios 5 (closes #40)
  • Dropped support for iOS 8 and below (closes #41)
  • Updated the login method error callback to return an object on iOS as on Android (closes #19)

Features

  • Updated the Facebook SDK to 11.2.0 for Android and 11.1.0 for iOS
  • Updated the Facebook JavaScript SDK used by the browser platform to v11.0
  • Updated the object returned by methods such as login to remove the secret, session_key, and sig properties, and add the new data_access_expiration_time property (closes #49)
  • Added new getApplicationId, setApplicationId, getApplicationName, and setApplicationName methods to allow for dynamically switching between app IDs in code (closes #61)
  • Added new OTHER_APP_SCHEMES variable which is required for iOS when using setApplicationId to switch between multiple app IDs

Bug Fixes

  • Fixed an issue that would cause the *-Info.plist file to have a null value if FACEBOOK_URL_SCHEME_SUFFIX was null (closes #77)

<a name="2.3.0"></a>

noahcooper
published 2.3.0 •

Changelog

Source

2.3.0 (2021-04-21)

Features

  • Updated the Facebook SDK to 9.1.1 for Android and 9.2.0 for iOS
  • Added new loginWithLimitedTracking method to allow for using Limited Login on iOS (closes #51)
  • Added new getCurrentProfile method to support retrieving profile information for the currently logged in user

<a name="2.2.0"></a>

noahcooper
published 2.2.0 •

Changelog

Source

2.2.0 (2021-04-06)

Features

  • Updated the Facebook SDK to 9.1.0 for Android and iOS

Bug Fixes

  • Added a hook to allow variables to be replaced in Podfile when using cordova-ios 5 (closes #52)

Documentation

  • Updated README to make it clear that an access token must be included when using the api method (closes #50)

<a name="2.1.0"></a>

noahcooper
published 2.1.0 •

Changelog

Source

2.1.0 (2021-03-06)

Features

  • Updated the getLoginStatus method to add the force parameter, which allows for fetching fresh data from Facebook rather than using previously cached login information (closes #47)
  • Added new isDataAccessExpired and reauthorizeDataAccess methods to allow for detecting when data access has expired, and to then request reauthorization from the user (closes #46)

Bug Fixes

  • Updated the setAutoLogAppEventsEnabled, setAdvertiserIDCollectionEnabled, and setAdvertiserTrackingEnabled methods on iOS to properly handle booleans passed in the enabled argument
  • Updated the getAccessToken and api methods on the browser platform to fix an issue that caused errors when the plugin was used before the Facebook SDK was available

<a name="2.0.0"></a>

noahcooper
published 2.0.0 •

Changelog

Source

2.0.0 (2021-02-25)

Breaking Changes

  • Removed the deprecated browserInit method on the browser platform; this method which was previously a no-op is no longer defined (closes #26)
  • Dropped support for cordova-android 6 and below (closes #23)
  • Dropped support for cordova-ios 4 and below (closes #24)

Features

  • Updated the Facebook SDK to 9.0.0 for Android and 9.0.1 for iOS (closes #15)
  • Updated the login method to remove unnecessary checks for read/publish permissions; the plugin will no longer prevent developers from requesting read and publish permissions at the same time, and will rely on the Facebook SDK's own internal logic instead (closes #34)
  • Updated the showDialog method to remove the deprecated caption, description, and picture properties (closes #28)
  • Added a new setAdvertiserTrackingEnabled method to allow for enabling advertiser tracking on iOS 14+

Bug Fixes

  • Updated the getAccessToken method to be consistent on all platforms and return the error message "Session not open." if the user has no current access token
  • Updated the logout method to be consistent on all platforms and call the success callback even if the user has no current access token (closes #20)

Documentation

  • Updated README to remove outdated information that suggested that Facebook login uses the native Facebook app, which is no longer true on iOS (#30)

<a name="1.2.1"></a>

noahcooper
published 1.2.1 •

Changelog

Source

1.2.1 (2021-02-18)

Bug Fixes

  • Fixed an issue that caused the setAdvertiserIDCollectionEnabled method to be undefined (closes #36)

<a name="1.2.0"></a>

noahcooper
published 1.2.0 •

Changelog

Source

1.2.0 (2021-02-05)

Features

  • Added the FACEBOOK_IOS_SDK_VERSION preference to override the default iOS SDK version
  • Added the FACEBOOK_ADVERTISER_ID_COLLECTION preference and a new setAdvertiserIDCollectionEnabled method to allow for disabling collection of advertiser-id (closes #22)
  • Updated the checkHasCorrectPermissions method so that it is now supported on all platforms (closes #25)

Bug Fixes

  • Updated the activateApp method to use the callbacks passed to it (closes #18)
  • Fixed an issue that would cause the showDialog method to fail on iOS if the method property was set to "apprequests" but the actionType property was not defined; actionType is now optional on all platforms (closes #29)

Documentation

  • Updated README to include objectID property in example configuration object for the checkHasCorrectPermissions method; objectID is required by the Facebook SDK if actionType is non-null (and vice versa)

<a name="1.1.1"></a>

2Next
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc