Socket
Socket
Sign inDemoInstall

cordova-plugin-facebook4

Package Overview
Dependencies
Maintainers
4
Versions
51
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cordova-plugin-facebook4 - npm Package Compare versions

Comparing version 2.4.0 to 2.5.0

11

CHANGELOG.md

@@ -0,1 +1,12 @@

<a name="2.5.0"></a>
# [2.5.0](https://github.com/jeduan/cordova-plugin-facebook4/releases/tag/v2.5.0)
## 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](https://github.com/jeduan/cordova-plugin-facebook4/issues/706))
## Documentation
* **Doc:** Add a note in the `README` regarding the Graph API version which is not set by the plugin itself
<a name="2.4.0"></a>

@@ -2,0 +13,0 @@ # [2.4.0](https://github.com/jeduan/cordova-plugin-facebook4/releases/tag/v2.4.0)

9

docs/android/README.md

@@ -26,3 +26,3 @@ # Facebook Requirements and Set-Up [Android]

In order to be compatible with older Cordova CLI version than v7, the property `ANDROID_SDK_VERSION` has to be specified in the config.xml (because otherwise it won't pick the default value, see [#650](https://github.com/jeduan/cordova-plugin-facebook4/issues/650)).
In order to be compatible with older Cordova CLI version than v7, the property `FACEBOOK_ANDROID_SDK_VERSION` has to be specified in the config.xml (because otherwise it won't pick the default value, see [#650](https://github.com/jeduan/cordova-plugin-facebook4/issues/650)).

@@ -44,3 +44,3 @@ You could add the property manually or specify it when you install the plugin, see the cmd below in section "In case of conflict"

If you would face conflicts with other plugins use in your project while installing `cordova-plugin-facebook4`, you would be able to specify a specific Android SDK version while using the variable `ANDROID_SDK_VERSION`
If you would face version conflicts regarding the Facebook SDK with other plugins used in your project while installing `cordova-plugin-facebook4`, you would be able to specify a specific Facebook SDK version for ANDROID using the variable `FACEBOOK_ANDROID_SDK_VERSION`

@@ -50,5 +50,6 @@ Important note: Use this option at **your own risk**

```sh
$ cordova plugin add https://github.com/jeduan/cordova-plugin-facebook4 --save --variable APP_ID="123456789" --variable APP_NAME="myApplication" --variable ANDROID_SDK_VERSION="X.YY.Z"
$ cordova plugin add https://github.com/jeduan/cordova-plugin-facebook4 --save --variable APP_ID="123456789" --variable APP_NAME="myApplication" --variable FACEBOOK_ANDROID_SDK_VERSION="X.YY.Z"
```
where `X.YY.Z` could be for example 4.25.0
where `X.YY.Z` could be for example 4.25.0. More information about the Facebook SDK for Android and list of their versions in the [Facebook documentation](https://developers.facebook.com/docs/android)
{
"name": "cordova-plugin-facebook4",
"version": "2.4.0",
"version": "2.5.0",
"description": "Cordova Facebook SDK 4 Plugin",

@@ -5,0 +5,0 @@ "cordova": {

@@ -191,3 +191,8 @@ # cordova-plugin-facebook4

### Note regarding the Graph API version
Please note that this plugin itself does not specify which Graph API version is used. The Graph API version is set by the Facebook SDK for iOS and Android.
If you are able to reverse engineer the Facebook SDKs in order to find which Graph API version is used by which SDK or if you find any clear information about that particular subject in the Facebook documentation, don't hesitate to ping any maintainers.
# Events

@@ -194,0 +199,0 @@

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc