Skip to content

Latest commit

 

History

History
255 lines (147 loc) · 13 KB

CHANGELOG.md

File metadata and controls

255 lines (147 loc) · 13 KB

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)

Features

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

Features

Docs

  • Document two known errors related to Cocoapods, Facebook iOS SDK and their related solutions

Features

Thx Francesco Tonini for the PR 👍

Breaking change

Notes

See iOS documentation for some notes about installation with Cocoapods.

Features

Features

Kudos

Thx Guy Lando for your amazing work and PR 👍

Fix

  • iOS: fix iOS crash when enableHybridAppEvents has already been enabled (#745)

Kudos

Thx Regev Brody for the PR 👍

Features

Features

  • Facebook: Allow hybrid apps to send AppEvents from the pixel (#678)

Kudos

Thx Mehmet Sencer Karadayi for the PR 👍

Features

  • Android: Support for cordova-android >= v7 without any workaround (#716, #599)

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 👍

Features

Features

Features

  • Android: Update Facebook Android SDK reference to v4.36.0 (drop greedy v4.+ reference) (#708)

Disclaimer

This release does not contains that much but we bumped up it to a major release because as of now, each release will always be published with a synchronized Facebook SDK version for iOS and for Android

Breaking change

  • Android: ANDROID_SDK_VERSION was renamed to FACEBOOK_ANDROID_SDK_VERSION to avoid misunderstood. This variable is use to set the Facebook SDK version for Android not the Android SDK version (#706)

Documentation

  • Doc: Add a note in the README regarding the Graph API version which is not set by the plugin itself

Features

Features

Features

Features

  • iOS: Update of the Facebook SDK v4.33.0 for iOS 11 (#653)

Bug fixes

  • Android: Fix null pointer exception leading to app crashing after a second login (flow example: login -> graphApi -> logout -> login -> crash) (#568)

Breaking change: As of February 5, 2018, Facebook doesn't support anymore App Invites, therefore these methods have been removed.

This version introduce also a new optional variable for the Android installation.

Features

  • iOS: App Invites support removed (#645)

  • Android: Add optional installation variable ANDROID_SDK_VERSION (#550)(#646)

Side note

I did consider removing the methods for App Invites as a breaking change, even if these weren't already supported from Facebook since months.

I followed the semantic versioning idea the Ionic team recently published in their blog

@peterpeterparker

v1.10.1 Fix an issue regarding the versioning (v1.10 was missing in plugin.xml)

v1.10.0 introduces the last Facebook SDK for iOS

Features

  • iOS: Update of the Facebook SDK v4.31.1 for iOS 11 (#631) (#634)

  • Android: Add a note in the README and Android Guide about the compatibility with cordova-android >= v7.0.0

Disclaimer

The introduction of the new Facebook SDK for iOS 11 add a new confirm modal to the login flow.

This is the expected design flow defined by Apple which Facebook implemented. The cordova-plugin-facebook4 can't modify this behavior (as far as I know, @peterpeterparker).

iOS 11.3

On iOS 11.3, the user won't have the choice anymore between using the Facebook App or using Email/Phone number for Facebook login process but will go straight to the "Facebook - Accept permissions" screen.

Therefore, with this version, the user will still face only one modal during the login flow.

iOS >= 11 < 11.3

Because of the introduction of the new modal, the user might face two modals during the login flow. One asking him/her if he/she want to open Facebook and one again asking him/her as before if he/she want to open the Facebook App.

About the subject, you could for example have a look to this stackoverflow's post.

This is improved with iOS 11.3.