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>
Also note that this improvements is backwards compatible, if you use cordova-android < v7 you should still be able to use the plugin.
Thank you Adrian Pascu for the PR and support
- 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)
- 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)
- Android: Update Facebook Android SDK reference to v4.36.0 (drop greedy v4.+ reference) (#708)
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
- Android:
ANDROID_SDK_VERSION
was renamed toFACEBOOK_ANDROID_SDK_VERSION
to avoid misunderstood. This variable is use to set the Facebook SDK version for Android not the Android SDK version (#706)
- Doc: Add a note in the
README
regarding the Graph API version which is not set by the plugin itself
- iOS: Update Facebook iOS SDK v4.36.0 (e5c3aba | Facebook changelog | Released: 30th August 2018)
- iOS: Update Facebook iOS SDK v4.35.0 (4bdddc9 | Facebook changelog | Released: 26th July 2018)
- iOS: Update Facebook iOS SDK v4.34.0 (74bccb1 | Facebook changelog)
- iOS: Update of the Facebook SDK v4.33.0 for iOS 11 (#653)
- 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.
-
iOS: App Invites support removed (#645)
-
Android: Add optional installation variable
ANDROID_SDK_VERSION
(#550)(#646)
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
-
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
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).
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.
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.