Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updates from upstream + MABS compatibility #2

Open
wants to merge 108 commits into
base: master
Choose a base branch
from

Conversation

izambasiron
Copy link

This PR is to update to the latest from upstream.

Mabs compatibility:

  1. Set min Android SDK to 21.
  2. Replace tags with to comply with Cordova CLI 7.1

simokhalil and others added 30 commits November 23, 2016 23:21
Fix the `Attribute activity#com.facebook.FacebookActivity@theme` error 

    Its better to just remove android:theme="@android:style/Theme.Translucent.NoTitleBar" from the <activity> xml tag since the latest Facebook SDK 4.16.1 already includes it.
source:  http://stackoverflow.com/a/39786339/1211174
upgrade to the last facebook sdk + a fix
README: Updated outdated link to repo/docs
Avoid FB prompt if required permission declined
Added function in iOS to check if a passed array of permissions have been granted
* Added hashtag support

* Typo fix

* Misplaced the command earlier -- rather than typo

* Added hashtag for share dialog options example
Not returning boolean in application:openURL has an undefined behaviour.
* Updated logPurchase to handle decimal values correctly.

* Updated logPurchase to handle decimal values correctly.
* Update facebook-browser.js

* Commens and improvement on FB.login functon

Added comments and improved logic to check for response first then or response.status.
* Update FacebookSDKs-iOS-4.31.1

* contentTitle, imageURL and contentDescription have been deprecated in Facebook API 2.9

* Update README according deprecation
peterpeterparker and others added 30 commits January 17, 2019 07:48
* Update FacebookConnectPlugin.m

Fix jeduan#750

* Update README.md

* Upgraded facebook sdk to 5.0.2

* Fix calls to deprecated facebook sdk functions on android which caused runtime crash when called.

* Removing Bolts framework ios dependency which is not used in ios sdk v5 facebook/facebook-ios-sdk@0bdd850

* Modernized FBSDKLoginKit usage according to
facebook/facebook-ios-sdk@6c4ac12
facebook/facebook-ios-sdk@5eae2d7:

1. Replaced FBSDKLoginManagerRequestTokenHandler by FBSDKLoginManagerLoginResultBlock
2. Replaced logInWithReadPermissions and logInWithPublishPermissions by logInWithPermissions

Modernized FBSDKShareKit usage according to facebook/facebook-ios-sdk@9b682bb:

1. Updated FBSDKShareOpenGraphAction init to actionWithType
2. Replaced FBSDKGraphRequestHandler by FBSDKGraphRequestBlock

* removed irrelevant files
* Bump iOS SDK version to 5.6.0

* Bump Android SDK version to 5.5.1
When an access token is expired this plugin would not
fetch a new one. This is invalid behaviour and resulted
in failed login attempts because the token was expired,
but still passed to the javascript code as a valid token.

This patch adds a check if the token is expired as well.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.