Releases: jeduan/cordova-plugin-facebook4
Fix Android access token expiration detection
Fix
- Android: add a check to test if the access token is expired in order to fetch a new one if that would be the case (#853)
Cocoapods CDN, Facebook SDKs and sample repo
Features
- iOS: Updating to CocoaPods CDN (#848)
- iOS: Update Facebook iOS SDK v5.15.0 (Facebook iOS SDK changelog | Released: January 21 2020)
- Android: Set per default usage of Facebook Android SDK v5.13.0 (Facebook Android SDK changelog | Released: December 11 2019)
Note: I have upgraded the default Facebook Android SDK to v5.13.0 and not to its last available version, v5.15.0, as this most recent version contains a bug (see facebook-android-sdk#655).
Docs
- sample repo: If you are looking to test the plugin, would like to reproduce a bug or build issues, there is now a demo project for such purpose: cordova-plugin-facebook4-lab
Cocoapods and update Facebook SDKs
6.2.0
Features
- iOS: Update Facebook iOS SDK v5.7.0 (Facebook iOS SDK changelog | Released: September 30 2019)
- Android: Set per default usage of Facebook Android SDK v5.5.2 (Facebook Android SDK changelog | Released: October 4 2019)
Docs
- Document two known errors related to Cocoapods, Facebook iOS SDK and their related solutions
6.1.0
Features
- iOS: Update Facebook iOS SDK v5.6.0 (Facebook iOS SDK changelog | Released: July 15 2019)
- Android: Set per default usage of Facebook Android SDK v5.5.1 (Facebook Android SDK changelog | Released: July 29 2019)
Thx Francesco Tonini for the PR 👍
6.0.0
Breaking change
- iOS: use the CocoaPods dependency manager in order to satisfy the iOS Facebook SDK library dependencies (#639)
Notes
See iOS documentation for some notes about installation with Cocoapods.
Features
- iOS: Update Facebook iOS SDK v5.2.3 (Facebook iOS SDK changelog | Released: July 15 2019)
- Android: Set per default usage of Facebook Android SDK v5.2.0 (Facebook Android SDK changelog | Released: July 29 2019)
Facebook SDK v5.0.2
Features
- iOS: Update Facebook iOS SDK v5.0.2 (#751 | Facebook iOS SDK changelog | Released: June 5 2019)
- Android: Set per default usage of Facebook Android SDK v5.0.20 (#751 | Facebook Android SDK changelog | Released: June 7 2019)
Kudos
Thx Guy Lando for your amazing work and PR 👍
Fix iOS enableHybridAppEvents (re)initialization
Fix
- iOS: fix iOS crash when
enableHybridAppEvents
has already been enabled (#745)
Kudos
Thx Regev Brody for the PR 👍
Facebook SDK v4.40.0
Features
- iOS: Update Facebook iOS SDK v4.40.0 (#743, #740 | Facebook iOS SDK changelog | Released: January 22 2019)
- Android: Set per default usage of Facebook Android SDK v4.40.0 (#743, #740 | Facebook Android SDK changelog | Released: January 22 2019)
AppEvents from the pixel
Features
- Facebook: Allow hybrid apps to send AppEvents from the pixel (#678)
Kudos
Thx Mehmet Sencer Karadayi for the PR 👍
Support for cordova-android >= v7 without any workaround
Features
Breaking change
If you already have the workaround in the config.xml
of your application, you have to remove it respectively you need to remove the following piece of code of your config.xml
:
<config-file parent="/resources" target="./res/values/strings.xml">
<string name="fb_app_id">123456789</string>
<string name="fb_app_name">myApplication</string>
</config-file>
Side notes
Also note that this improvements is backwards compatible, if you use cordova-android < v7 you should still be able to use the plugin.
Kudos
Thank you Adrian Pascu for the PR and support 👍
Facebook SDK v4.38.1
Features
- iOS: Update Facebook iOS SDK v4.38.1 (#725 | Facebook iOS SDK changelog | Released: 1st November 2018)
- Android: Set per default usage of Facebook Android SDK v4.38.1 (#725 | Facebook Android SDK changelog | Released: 1st November 2018)
Facebook SDK v4.37.0
Features
- iOS: Update Facebook iOS SDK v4.37.0 (#713 | Facebook iOS SDK changelog | Released: 27th September 2018)
- Android: Set per default usage of Facebook Android SDK v4.37.0 (#713 | Facebook Android SDK changelog | Released: 27th September 2018)