Socket
Socket
Sign inDemoInstall

cordova-plugin-facebook4

Package Overview
Dependencies
0
Maintainers
4
Versions
51
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 6.1.0 to 6.2.0

12

CHANGELOG.md

@@ -0,1 +1,13 @@

<a name="6.2.0"></a>
# [6.2.0](https://github.com/jeduan/cordova-plugin-facebook4/releases/tag/v6.1.0)
## Features
* **iOS:** Update Facebook iOS SDK v5.7.0 ([Facebook iOS SDK changelog](https://github.com/facebook/facebook-objc-sdk/blob/master/CHANGELOG.md) | Released: September 30 2019)
* **Android:** Set per default usage of Facebook Android SDK v5.5.2 ([Facebook Android SDK changelog](https://github.com/facebook/facebook-android-sdk/blob/master/CHANGELOG.md) | Released: October 4 2019)
## Docs
* Document two known errors related to Cocoapods, Facebook iOS SDK and their related solutions
<a name="6.1.0"></a>

@@ -2,0 +14,0 @@ # [6.1.0](https://github.com/jeduan/cordova-plugin-facebook4/releases/tag/v6.1.0)

22

docs/ios/README.md

@@ -33,3 +33,3 @@ # Facebook Requirements and Set-Up [iOS]

```
```bash
sudo gem install cocoapods-dependencies

@@ -39,1 +39,21 @@ cd platforms/ios/

```
#### Error: pod: Command failed with exit code 31
If you install the plugin and face the error `Failed to install 'cordova-plugin-facebook4': Error: pod: Command failed with exit code 31`, it probably means that your local Pod repo is not up-to-date. In order to solve the problem, prior the installation, run th following command in your platform to update your Pod repo:
```bash
pod update
```
#### 'FBSDKCoreKit/FBSDKCoreKit.h' file not found
If you are using Cordova iOS < v5, you might face the error `'FBSDKCoreKit/FBSDKCoreKit.h' file not found`. To overcome this problem, edit the `plugin.xml` of the plugin in order to fetch de Facebook iOS SDK by adding the following `framework` references:
```
<framework src="FBSDKCoreKit" type="podspec" spec="X.Y.Z" />
<framework src="FBSDKLoginKit" type="podspec" spec="X.Y.Z" />
<framework src="FBSDKShareKit" type="podspec" spec="X.Y.Z" />
```
Replace `X.Y.Z` with the Facebook iOS SDK and remove and add your platform again.

2

package.json
{
"name": "cordova-plugin-facebook4",
"version": "6.1.0",
"version": "6.2.0",
"description": "Cordova Facebook SDK 4 Plugin",

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

Sorry, the diff of this file is not supported yet

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