Skip to content

Commit

Permalink
Merge pull request #978 from firebase/mc/fb
Browse files Browse the repository at this point in the history
Update Facebook to 11
  • Loading branch information
morganchen12 authored Jul 1, 2021
2 parents fc7c27f + e9a9cf2 commit bdfd754
Show file tree
Hide file tree
Showing 7 changed files with 83 additions and 66 deletions.
6 changes: 3 additions & 3 deletions FirebaseFacebookAuthUI.podspec
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Pod::Spec.new do |s|
s.name = 'FirebaseFacebookAuthUI'
s.version = '11.0.3'
s.version = '11.1.3'
s.summary = 'A Facebook auth provider for FirebaseAuthUI.'
s.homepage = 'https://github.com/firebase/FirebaseUI-iOS'
s.license = { :type => 'Apache 2.0', :file => 'LICENSE' }
Expand All @@ -22,8 +22,8 @@ Pod::Spec.new do |s|
s.dependency 'FirebaseAuth'
s.dependency 'FirebaseCore'
s.dependency 'FirebaseAuthUI'
s.dependency 'FBSDKLoginKit', '~> 9.0'
s.dependency 'FBSDKCoreKit'
s.dependency 'FBSDKLoginKit', '~> 11.0'
s.dependency 'FBSDKCoreKit_Basics'
s.resource_bundles = {
'FirebaseFacebookAuthUI' => ['FirebaseFacebookAuthUI/Sources/{Resources,Strings}/*.{png,lproj}']
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -772,7 +772,7 @@
"$(inherited)",
"@executable_path/Frameworks",
"@loader_path/Frameworks",
"\"${PODS_CONFIGURATION_BUILD_DIR}/FBSDKCoreKit\"",
"\"${PODS_CONFIGURATION_BUILD_DIR}/FBSDKCoreKit_Basics\"",
"\"${PODS_CONFIGURATION_BUILD_DIR}/FBSDKLoginKit\"",
"\"${PODS_CONFIGURATION_BUILD_DIR}/FirebaseAuth\"",
"\"${PODS_CONFIGURATION_BUILD_DIR}/FirebaseCore\"",
Expand All @@ -784,6 +784,7 @@
"\"${PODS_CONFIGURATION_BUILD_DIR}/PromisesObjC\"",
"\"${PODS_CONFIGURATION_BUILD_DIR}/nanopb\"",
"\"$(PODS_CONFIGURATION_BUILD_DIR)/FirebaseAuthUI\"",
"\"${PODS_CONFIGURATION_BUILD_DIR}/FBSDKCoreKit\"",
);
OTHER_LDFLAGS = (
"$(inherited)",
Expand Down Expand Up @@ -822,7 +823,7 @@
"$(inherited)",
"@executable_path/Frameworks",
"@loader_path/Frameworks",
"\"${PODS_CONFIGURATION_BUILD_DIR}/FBSDKCoreKit\"",
"\"${PODS_CONFIGURATION_BUILD_DIR}/FBSDKCoreKit_Basics\"",
"\"${PODS_CONFIGURATION_BUILD_DIR}/FBSDKLoginKit\"",
"\"${PODS_CONFIGURATION_BUILD_DIR}/FirebaseAuth\"",
"\"${PODS_CONFIGURATION_BUILD_DIR}/FirebaseCore\"",
Expand All @@ -834,6 +835,7 @@
"\"${PODS_CONFIGURATION_BUILD_DIR}/PromisesObjC\"",
"\"${PODS_CONFIGURATION_BUILD_DIR}/nanopb\"",
"\"$(PODS_CONFIGURATION_BUILD_DIR)/FirebaseAuthUI\"",
"\"${PODS_CONFIGURATION_BUILD_DIR}/FBSDKCoreKit\"",
);
OTHER_LDFLAGS = (
"$(inherited)",
Expand Down
2 changes: 1 addition & 1 deletion FirebaseFacebookAuthUI/Podfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ target 'FirebaseFacebookAuthUI' do
# The facebook pods generate an unreasonable number of warnings.
inhibit_all_warnings!

pod 'FBSDKLoginKit', '~> 9.0'
pod 'FBSDKLoginKit', '~> 11.0'
pod 'FBSDKCoreKit'

pod 'FirebaseAuthUI', :path => '../'
Expand Down
32 changes: 18 additions & 14 deletions FirebaseFacebookAuthUI/Podfile.lock
Original file line number Diff line number Diff line change
@@ -1,14 +1,16 @@
PODS:
- FBSDKCoreKit (9.3.0):
- FBSDKCoreKit/Basics (= 9.3.0)
- FBSDKCoreKit/Core (= 9.3.0)
- FBSDKCoreKit/Basics (9.3.0)
- FBSDKCoreKit/Core (9.3.0):
- FBSDKCoreKit/Basics
- FBSDKLoginKit (9.3.0):
- FBSDKLoginKit/Login (= 9.3.0)
- FBSDKLoginKit/Login (9.3.0):
- FBSDKCoreKit (~> 9.3.0)
- FBSDKCoreKit (11.0.1):
- FBSDKCoreKit/Core (= 11.0.1)
- FBSDKCoreKit/Core (11.0.1):
- FBSDKCoreKit_Basics (~> 11.0.1)
- FBSDKCoreKit_Basics (11.0.1):
- FBSDKCoreKit_Basics/Basics (= 11.0.1)
- FBSDKCoreKit_Basics/Basics (11.0.1)
- FBSDKLoginKit (11.0.1):
- FBSDKLoginKit/Login (= 11.0.1)
- FBSDKLoginKit/Login (11.0.1):
- FBSDKCoreKit (~> 11.0.1)
- FBSDKCoreKit_Basics (~> 11.0.1)
- FirebaseAuth (8.2.0):
- FirebaseCore (~> 8.0)
- GoogleUtilities/AppDelegateSwizzler (~> 7.4)
Expand Down Expand Up @@ -56,13 +58,14 @@ PODS:

DEPENDENCIES:
- FBSDKCoreKit
- FBSDKLoginKit (~> 9.0)
- FBSDKLoginKit (~> 11.0)
- FirebaseAuthUI (from `../`)
- OCMock

SPEC REPOS:
https://github.com/CocoaPods/Specs.git:
- FBSDKCoreKit
- FBSDKCoreKit_Basics
- FBSDKLoginKit
- FirebaseAuth
- FirebaseCore
Expand All @@ -79,8 +82,9 @@ EXTERNAL SOURCES:
:path: "../"

SPEC CHECKSUMS:
FBSDKCoreKit: 0d1ae58388a458b8222f72025804cdc84eb5d0c3
FBSDKLoginKit: aea68df6121c5e165ccae2fabfdc83c4644ee40f
FBSDKCoreKit: 38c9e29a3f1436362acacff6486d3a28628c288f
FBSDKCoreKit_Basics: 06780a4a12e16596bde8406add02c6aa1bf38616
FBSDKLoginKit: 8243e04c590c38b85c69fcf09d1234514d2475c3
FirebaseAuth: 4c4fb0ba1a169f3acb4aa5b724f7ae7c0999ee44
FirebaseAuthUI: 3f6dcb6f9e1af8e889916e2e0f0f971a70c2d303
FirebaseCore: 3a83f24c3de69ec9f9a426e2598125ea51f3a2ce
Expand All @@ -92,6 +96,6 @@ SPEC CHECKSUMS:
OCMock: 29f6e52085b4e7d9b075cbf03ed7c3112f82f934
PromisesObjC: 3113f7f76903778cf4a0586bd1ab89329a0b7b97

PODFILE CHECKSUM: 37de2e61722878ccc8e5a1f1debb0333503e90c0
PODFILE CHECKSUM: 99ac75a904a7560900a9eec61c273bfb283b6ff4

COCOAPODS: 1.10.1
6 changes: 3 additions & 3 deletions FirebaseFacebookAuthUI/Sources/FUIFacebookAuth.m
Original file line number Diff line number Diff line change
Expand Up @@ -205,9 +205,9 @@ - (void)signInWithDefaultValue:(nullable NSString *)defaultValue
[self completeSignInFlowWithAccessToken:nil error:newError];
} else {
// Retrieve email.
[[[FBSDKGraphRequest alloc] initWithGraphPath:@"me" parameters:@{ @"fields" : @"email" }]
startWithCompletionHandler:^(FBSDKGraphRequestConnection *connection, id result,
NSError *error) {
[[[FBSDKGraphRequest alloc] initWithGraphPath:@"me" parameters:@{ @"fields" : @"email" }] startWithCompletion:^(id<FBSDKGraphRequestConnecting> connection,
id result,
NSError *error) {
self->_email = result[@"email"];
}];
[self completeSignInFlowWithAccessToken:result.token.tokenString
Expand Down
2 changes: 1 addition & 1 deletion Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ let package = Package(
.package(
name: "Facebook",
url: "https://github.com/facebook/facebook-ios-sdk.git",
from: "9.0.0"
from: "11.0.0"
),
.package(
name: "Firebase",
Expand Down
95 changes: 53 additions & 42 deletions samples/swift/Podfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -223,50 +223,56 @@ PODS:
- BoringSSL-GRPC/Implementation (0.0.7):
- BoringSSL-GRPC/Interface (= 0.0.7)
- BoringSSL-GRPC/Interface (0.0.7)
- FBSDKCoreKit (9.3.0):
- FBSDKCoreKit/Basics (= 9.3.0)
- FBSDKCoreKit/Core (= 9.3.0)
- FBSDKCoreKit/Basics (9.3.0)
- FBSDKCoreKit/Core (9.3.0):
- FBSDKCoreKit/Basics
- FBSDKLoginKit (9.3.0):
- FBSDKLoginKit/Login (= 9.3.0)
- FBSDKLoginKit/Login (9.3.0):
- FBSDKCoreKit (~> 9.3.0)
- FBSDKCoreKit (11.0.1):
- FBSDKCoreKit/Core (= 11.0.1)
- FBSDKCoreKit/Core (11.0.1):
- FBSDKCoreKit_Basics (~> 11.0.1)
- FBSDKCoreKit_Basics (11.0.1):
- FBSDKCoreKit_Basics/Basics (= 11.0.1)
- FBSDKCoreKit_Basics/Basics (11.0.1)
- FBSDKLoginKit (11.0.1):
- FBSDKLoginKit/Login (= 11.0.1)
- FBSDKLoginKit/Login (11.0.1):
- FBSDKCoreKit (~> 11.0.1)
- FBSDKCoreKit_Basics (~> 11.0.1)
- FirebaseAnonymousAuthUI (11.0.3):
- FirebaseAuth (~> 8.0)
- FirebaseAuthUI
- FirebaseCore
- FirebaseAuth (8.0.0):
- FirebaseAuth (8.2.0):
- FirebaseCore (~> 8.0)
- GoogleUtilities/AppDelegateSwizzler (~> 7.4)
- GoogleUtilities/Environment (~> 7.4)
- GTMSessionFetcher/Core (~> 1.5)
- FirebaseAuthUI (11.0.3):
- FirebaseAuth (~> 8.0)
- FirebaseCore
- FirebaseCore (8.0.0):
- FirebaseCore (8.2.0):
- FirebaseCoreDiagnostics (~> 8.0)
- GoogleUtilities/Environment (~> 7.4)
- GoogleUtilities/Logger (~> 7.4)
- FirebaseCoreDiagnostics (8.0.0):
- FirebaseCoreDiagnostics (8.2.0):
- GoogleDataTransport (~> 9.0)
- GoogleUtilities/Environment (~> 7.4)
- GoogleUtilities/Logger (~> 7.4)
- nanopb (~> 2.30908.0)
- FirebaseDatabase (8.0.0):
- FirebaseDatabase (8.2.0):
- FirebaseCore (~> 8.0)
- leveldb-library (~> 1.22)
- FirebaseDatabaseUI (11.0.3):
- FirebaseDatabase (~> 8.0)
- FirebaseEmailAuthUI (11.0.3):
- FirebaseAuth
- FirebaseAuthUI
- FirebaseCore
- GoogleUtilities/UserDefaults
- FirebaseFacebookAuthUI (11.0.3):
- FirebaseFacebookAuthUI (11.1.3):
- FBSDKCoreKit
- FBSDKLoginKit (~> 9.0)
- FBSDKLoginKit (~> 11.0)
- FirebaseAuth
- FirebaseAuthUI
- FirebaseFirestore (8.0.0):
- FirebaseCore
- FirebaseFirestore (8.2.0):
- abseil/algorithm (= 0.20200225.0)
- abseil/base (= 0.20200225.0)
- abseil/memory (= 0.20200225.0)
Expand All @@ -281,14 +287,17 @@ PODS:
- FirebaseFirestoreUI (11.0.3):
- FirebaseFirestore (~> 8.0)
- FirebaseGoogleAuthUI (11.0.3):
- FirebaseAuth
- FirebaseAuthUI
- FirebaseCore
- GoogleSignIn (~> 5.0)
- FirebaseOAuthUI (11.0.3):
- FirebaseAuth (~> 8.0)
- FirebaseAuthUI
- FirebasePhoneAuthUI (11.0.3):
- FirebaseAuth
- FirebaseAuthUI
- FirebaseStorage (8.0.0):
- FirebaseStorage (8.2.0):
- FirebaseCore (~> 8.0)
- GTMSessionFetcher/Core (~> 1.5)
- FirebaseStorageUI (11.0.3):
Expand Down Expand Up @@ -325,30 +334,30 @@ PODS:
- FirebasePhoneAuthUI (~> 11.0)
- FirebaseUI/Storage (11.0.3):
- FirebaseStorageUI (~> 11.0)
- GoogleDataTransport (9.0.0):
- GoogleDataTransport (9.0.1):
- GoogleUtilities/Environment (~> 7.2)
- nanopb (~> 2.30908.0)
- PromisesObjC (~> 1.2)
- GoogleSignIn (5.0.2):
- AppAuth (~> 1.2)
- GTMAppAuth (~> 1.0)
- GTMSessionFetcher/Core (~> 1.1)
- GoogleUtilities/AppDelegateSwizzler (7.4.1):
- GoogleUtilities/AppDelegateSwizzler (7.4.3):
- GoogleUtilities/Environment
- GoogleUtilities/Logger
- GoogleUtilities/Network
- GoogleUtilities/Environment (7.4.1):
- GoogleUtilities/Environment (7.4.3):
- PromisesObjC (~> 1.2)
- GoogleUtilities/Logger (7.4.1):
- GoogleUtilities/Logger (7.4.3):
- GoogleUtilities/Environment
- GoogleUtilities/Network (7.4.1):
- GoogleUtilities/Network (7.4.3):
- GoogleUtilities/Logger
- "GoogleUtilities/NSData+zlib"
- GoogleUtilities/Reachability
- "GoogleUtilities/NSData+zlib (7.4.1)"
- GoogleUtilities/Reachability (7.4.1):
- "GoogleUtilities/NSData+zlib (7.4.3)"
- GoogleUtilities/Reachability (7.4.3):
- GoogleUtilities/Logger
- GoogleUtilities/UserDefaults (7.4.1):
- GoogleUtilities/UserDefaults (7.4.3):
- GoogleUtilities/Logger
- "gRPC-C++ (1.28.2)":
- "gRPC-C++/Implementation (= 1.28.2)"
Expand Down Expand Up @@ -377,7 +386,7 @@ PODS:
- GTMAppAuth (1.2.2):
- AppAuth/Core (~> 1.4)
- GTMSessionFetcher/Core (~> 1.5)
- GTMSessionFetcher/Core (1.5.0)
- GTMSessionFetcher/Core (1.6.1)
- leveldb-library (1.22.1)
- nanopb (2.30908.0):
- nanopb/decode (= 2.30908.0)
Expand Down Expand Up @@ -408,6 +417,7 @@ SPEC REPOS:
- AppAuth
- BoringSSL-GRPC
- FBSDKCoreKit
- FBSDKCoreKit_Basics
- FBSDKLoginKit
- FirebaseAuth
- FirebaseCore
Expand Down Expand Up @@ -455,32 +465,33 @@ SPEC CHECKSUMS:
abseil: 6c8eb7892aefa08d929b39f9bb108e5367e3228f
AppAuth: 31bcec809a638d7bd2f86ea8a52bd45f6e81e7c7
BoringSSL-GRPC: 8edf627ee524575e2f8d19d56f068b448eea3879
FBSDKCoreKit: 0d1ae58388a458b8222f72025804cdc84eb5d0c3
FBSDKLoginKit: aea68df6121c5e165ccae2fabfdc83c4644ee40f
FBSDKCoreKit: 38c9e29a3f1436362acacff6486d3a28628c288f
FBSDKCoreKit_Basics: 06780a4a12e16596bde8406add02c6aa1bf38616
FBSDKLoginKit: 8243e04c590c38b85c69fcf09d1234514d2475c3
FirebaseAnonymousAuthUI: 64de9383870378e8f16ef428d73e8c18e74ce5cc
FirebaseAuth: b8cd992fca5b53dc6eec09e873a3f375f000c5a1
FirebaseAuth: 4c4fb0ba1a169f3acb4aa5b724f7ae7c0999ee44
FirebaseAuthUI: 3f6dcb6f9e1af8e889916e2e0f0f971a70c2d303
FirebaseCore: 3f09591d51292843e2a46f18358d60bf4e996255
FirebaseCoreDiagnostics: a31d987ba0fe16d59886a5dbadc2f1de871f88c8
FirebaseDatabase: 363961e25451425be8b14bb8801a592515ec58f2
FirebaseCore: 3a83f24c3de69ec9f9a426e2598125ea51f3a2ce
FirebaseCoreDiagnostics: 61384f54989065b15c36b5922b65112e86811d3c
FirebaseDatabase: 9c231733363229ac26a55ee9ae9031e94cdb9a7d
FirebaseDatabaseUI: 4db2acaaee3c1a73e0daf31e926a8b7212941607
FirebaseEmailAuthUI: ff51c964f327eb38ed1f3ac27057c090d4955b01
FirebaseFacebookAuthUI: a8407d457cef6b1996de11c0ecde03b9a9dc1691
FirebaseFirestore: 7f6576eaca9f821e864c3e917d68aa99f4e6b613
FirebaseEmailAuthUI: 9d3ef1a6b89049079baaaea254f30c205176ceea
FirebaseFacebookAuthUI: fa945e464b3ec751b5768f03f97f3479b99111c5
FirebaseFirestore: 844182d64f052a8177d1766d14332e3af4726f3c
FirebaseFirestoreUI: 24a7a35da1a570e8aabd592f60de9438f6959a4c
FirebaseGoogleAuthUI: 95ac66fd249c6f6d47b53b6b578d3fe5a940db5c
FirebaseGoogleAuthUI: d5dce74c7ae76b1fb18ece8a3be17c2fb6d47319
FirebaseOAuthUI: 9f2f90a6cf72f1345473d205ff2071b994a071d8
FirebasePhoneAuthUI: f494446c505cea2530b4d2dc44a7918be2836fb7
FirebaseStorage: 61bcd27880fa17362f68be67d3683d04bfd7b1c7
FirebasePhoneAuthUI: 12bb994905add3399eb0e48f64080d2b916309bb
FirebaseStorage: 001a1f6b1ec45ed60ff9689390d23988e4b95a61
FirebaseStorageUI: d66a62c897de1d0f279ec80c7ece6b8afc9c5913
FirebaseUI: d2777b3abcb3fa40ea9eea9e40db5a154df608d3
GoogleDataTransport: 11e3a5f2c190327df1a4a5d7e7ae3d4d5b9c9e4c
GoogleDataTransport: 04c3e9a480bbcaa2ec3f5d27f1cdeb6a92f20c8d
GoogleSignIn: 7137d297ddc022a7e0aa4619c86d72c909fa7213
GoogleUtilities: f8a43108b38a68eebe8b3540e1f4f2d28843ce20
GoogleUtilities: 45dbb24a7f351d69d0a601482b39ad6c32e30dab
"gRPC-C++": 13d8ccef97d5c3c441b7e3c529ef28ebee86fad2
gRPC-Core: 4afa11bfbedf7cdecd04de535a9e046893404ed5
GTMAppAuth: ad5c2b70b9a8689e1a04033c9369c4915bfcbe89
GTMSessionFetcher: b3503b20a988c4e20cc189aa798fd18220133f52
GTMSessionFetcher: 36689134877faeb055b27dfa4ccc9ceaa42e029e
leveldb-library: 50c7b45cbd7bf543c81a468fe557a16ae3db8729
nanopb: a0ba3315591a9ae0a16a309ee504766e90db0c96
PromisesObjC: 3113f7f76903778cf4a0586bd1ab89329a0b7b97
Expand Down

0 comments on commit bdfd754

Please sign in to comment.