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

feat: update Facebook SDK to 5.x, fix iOS 13 login crash #103

Merged
merged 20 commits into from
Sep 13, 2019

Conversation

hansemannn
Copy link
Contributor

@hansemannn hansemannn commented May 5, 2019

JIRA: https://jira.appcelerator.org/browse/MOD-2534

iOS and Android are working, docs have been updated. Ready for review!

Native SDK builds:

  • iOS: 5.5.0
  • Android: 5.4.0

…acebook into feature/fb-sdk-5.0.0

# Conflicts:
#	ios/Classes/Messenger Button/FacebookMessengerButton.h
#	ios/Classes/Messenger Button/FacebookMessengerButton.m
#	ios/Classes/Messenger Button/FacebookMessengerButtonProxy.m
#	ios/titanium.xcconfig
@build
Copy link

build commented Jun 19, 2019

Messages
📖

💾 Here are the artifacts produced:

📖

✅ All tests are passing
Nice one! All 112 tests are passing.

Dependencies with modified semantic versioning:

Generated by 🚫 dangerJS against 1eea535

@hansemannn hansemannn changed the title feat: update Facebook SDK to 5.0.0 (work in progress) feat: update Facebook SDK to 5.x Jun 23, 2019
@hansemannn
Copy link
Contributor Author

@vijaysingh-axway @janvennemann Can someone review this? We use it in production since ages.

@hansemannn hansemannn changed the title feat: update Facebook SDK to 5.x feat: update Facebook SDK to 5.x, fix iOS 13 login crash Aug 26, 2019
@hansemannn
Copy link
Contributor Author

@vijaysingh-axway Another ping to include this to 8.2.0 so FB apps continue to work

@vijaysingh-axway
Copy link
Contributor

@sgtcoolguy Build is failing due to "[ERROR] : �� �Unable to find any Xcode installations that supports iOS Simulator 13.0.". I guess need to use XCode 11 here as well.

Copy link
Contributor

@vijaysingh-axway vijaysingh-axway left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good. Please check a minor comment @hansemannn.

@hansemannn
Copy link
Contributor Author

@vijaysingh-axway The build issue is not module related and was fixed in ioslib 1.7.9+. I hope this can be merged

@sgtcoolguy
Copy link
Contributor

I think it failed because it tried to build on an Xcode 11 beta 6 node with SDK 7.5.2.GA which doesn't work with Xcode 11. I'm updating the PR to try to build against 8.1.0.GA and see if that helps.

@sgtcoolguy
Copy link
Contributor

Well we're getting closer. Now the iOS tests are hanging - and the karma runner doesn't really surface the logs as the app runs, so it's hard to tell what's going on. Maybe @janvennemann knows?

@@ -16,6 +16,7 @@
#import "TiBase.h"
#import "TiHost.h"
#import "TiUtils.h"
#import "TiBlob.h"
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm curious why this does not cause issues for us right now. Maybe it works if the symbol is linked by other modules? Good catch in any case!

Copy link
Contributor

@vijaysingh-axway vijaysingh-axway left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

CR passed.

@sgtcoolguy
Copy link
Contributor

I think ultimately our attempts to retain backwards compatibility were infeasible, so we'll go with this original PR where we bump the major version on iOS and break backwards compatibility - since Facebook has essentially killed off the messenger button.

One note: I think e should then remove the messenger button code from the example app inside the module here.

@keerthi1032
Copy link
Contributor

FR Passed. Tested with Kitchensink apps Facebook and example app in facebook module.Login with facebook ,sharing and logout functionality works fine.

Test Environment:
Name = Mac OS X
Version = 10.14.6
Architecture = 64bit
Node.js
Node.js Version = 10.16.2
npm Version = 6.9.0
Titanium CLI
CLI Version = 5.2.1
Titanium SDK
SDK Version = 8.2.0.v20190912104344
facebook module -7.0.0
Device -iPhone X iOS 11,iphone xr iOS 13.1
Simulator-iphone 11 iOS 13,iphone x iOS 12,iphone 6 iOS 11

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants