Skip to content

Commit

Permalink
Merge pull request #937 from firebase/morganchen/p
Browse files Browse the repository at this point in the history
Fix dependency version
  • Loading branch information
morganchen12 committed Jan 29, 2021
2 parents 747e1a7 + 58cc2a9 commit a6a46e1
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 14 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -102,10 +102,12 @@ - (void)testSuccessfullLogin {
id mockToken = OCMPartialMock(token);

NSSet *emptySet = [NSSet set];
FBSDKLoginManagerLoginResult *result = [[FBSDKLoginManagerLoginResult alloc] initWithToken:mockToken
isCancelled:NO
grantedPermissions:emptySet
declinedPermissions:emptySet];
FBSDKLoginManagerLoginResult *result =
[[FBSDKLoginManagerLoginResult alloc] initWithToken:mockToken
authenticationToken:nil
isCancelled:NO
grantedPermissions:emptySet
declinedPermissions:emptySet];
XCTAssertNil(_provider.accessToken);
[self.provider configureLoginManager:result withError:nil];

Expand Down Expand Up @@ -156,10 +158,12 @@ - (void)testLegacyInitSuccessfulLogin {
id mockToken = OCMPartialMock(token);

NSSet *emptySet = [NSSet set];
FBSDKLoginManagerLoginResult *result = [[FBSDKLoginManagerLoginResult alloc] initWithToken:mockToken
isCancelled:NO
grantedPermissions:emptySet
declinedPermissions:emptySet];
FBSDKLoginManagerLoginResult *result =
[[FBSDKLoginManagerLoginResult alloc] initWithToken:mockToken
authenticationToken:nil
isCancelled:NO
grantedPermissions:emptySet
declinedPermissions:emptySet];
XCTAssertNil(_provider.accessToken);
[self.provider configureLoginManager:result withError:nil];

Expand Down Expand Up @@ -202,10 +206,12 @@ - (void)testCancelLogin {
refreshDate:nil
dataAccessExpirationDate:nil];
id mockToken = OCMPartialMock(token);
FBSDKLoginManagerLoginResult *result = [[FBSDKLoginManagerLoginResult alloc] initWithToken:mockToken
isCancelled:YES
grantedPermissions:[NSSet set]
declinedPermissions:[NSSet set]];
FBSDKLoginManagerLoginResult *result =
[[FBSDKLoginManagerLoginResult alloc] initWithToken:mockToken
authenticationToken:nil
isCancelled:YES
grantedPermissions:[NSSet set]
declinedPermissions:[NSSet set]];
[self.provider configureLoginManager:result withError:nil];

XCTestExpectation *expectation = [self expectationWithDescription:@"logged in"];
Expand Down
4 changes: 2 additions & 2 deletions FirebaseUI.podspec
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Pod::Spec.new do |s|
s.name = 'FirebaseUI'
s.version = '10.0.1'
s.version = '10.0.2'
s.summary = 'UI binding libraries for Firebase.'
s.homepage = 'https://github.com/firebase/FirebaseUI-iOS'
s.license = { :type => 'Apache 2.0', :file => 'LICENSE' }
Expand Down Expand Up @@ -65,7 +65,7 @@ Pod::Spec.new do |s|
'Auth/FirebaseAuthUI/FUIAuthTableViewCell.h',
'Auth/FirebaseAuthUI/FUIAuthTableHeaderView.h']
auth.source_files = ['Auth/FirebaseAuthUI/**/*.{h,m}', 'Auth/FirebaseAuthUI/*.{h,m}']
auth.dependency 'Firebase/Auth'
auth.dependency 'Firebase/Auth', '>= 7.2.0'
auth.dependency 'GoogleUtilities/UserDefaults'
auth.resource_bundle = {
'FirebaseAuthUI' => ['Auth/FirebaseAuthUI/**/*.{xib,png,lproj}']
Expand Down

0 comments on commit a6a46e1

Please sign in to comment.