Skip to content

Commit e3dbca5

Browse files
authored
Various release updates (#1194)
1 parent 1262e17 commit e3dbca5

10 files changed

+42
-31
lines changed

FirebaseAnonymousAuthUI.podspec

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ Pod::Spec.new do |s|
1818

1919
s.public_header_files = 'FirebaseAnonymousAuthUI/Sources/Public/FirebaseAnonymousAuthUI/*.h'
2020
s.source_files = 'FirebaseAnonymousAuthUI/Sources/**/*.{h,m}'
21-
s.dependency 'FirebaseAuthUI'
21+
s.dependency 'FirebaseAuthUI', '>= 14.2'
2222
s.dependency 'FirebaseAuth', '>= 8.0', '< 12.0'
2323
s.dependency 'FirebaseCore'
2424
s.resource_bundles = {

FirebaseAuthUI/Sources/FUIAuthBaseViewController.m

+1-1
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ + (UIActivityIndicatorView *)addActivityIndicator:(UIView *)view {
131131
}
132132
UIActivityIndicatorView *activityIndicator =
133133
[[UIActivityIndicatorView alloc]
134-
initWithActivityIndicatorStyle:UIActivityIndicatorViewStyleWhiteLarge];
134+
initWithActivityIndicatorStyle:UIActivityIndicatorViewStyleLarge];
135135
UIView *tintView = [[UIView alloc] initWithFrame:CGRectInset(activityIndicator.frame,
136136
-kActivityIndiactorPadding,
137137
-kActivityIndiactorPadding)];

FirebaseAuthUI/Sources/FUIAuthPickerViewController.m

+1-8
Original file line numberDiff line numberDiff line change
@@ -171,14 +171,7 @@ - (void)viewDidLayoutSubviews {
171171
+ kButtonContainerBottomMargin + kTOSViewBottomMargin;
172172
CGFloat contentViewWidth = CGRectGetWidth(self.view.bounds);
173173
_scrollView.frame = self.view.frame;
174-
CGFloat scrollViewHeight;
175-
if (@available(iOS 11.0, *)) {
176-
scrollViewHeight = CGRectGetHeight(_scrollView.frame) - _scrollView.safeAreaInsets.top;
177-
} else {
178-
scrollViewHeight = CGRectGetHeight(_scrollView.frame)
179-
- CGRectGetHeight(self.navigationController.navigationBar.frame)
180-
- CGRectGetHeight([UIApplication sharedApplication].statusBarFrame);
181-
}
174+
CGFloat scrollViewHeight = CGRectGetHeight(_scrollView.frame) - _scrollView.safeAreaInsets.top;
182175
CGFloat contentViewY = scrollViewHeight - contentViewHeight;
183176
if (contentViewY < 0) {
184177
contentViewY = 0;

FirebaseEmailAuthUI.podspec

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ Pod::Spec.new do |s|
2020
s.source_files = 'FirebaseEmailAuthUI/Sources/**/*.{h,m}'
2121
s.dependency 'FirebaseAuth'
2222
s.dependency 'FirebaseCore'
23-
s.dependency 'FirebaseAuthUI'
23+
s.dependency 'FirebaseAuthUI', '>= 14.2'
2424
s.dependency 'GoogleUtilities/UserDefaults'
2525
s.resource_bundles = {
2626
'FirebaseEmailAuthUI' => ['FirebaseEmailAuthUI/Sources/Resources/*.{xib,png}']

FirebaseFacebookAuthUI.podspec

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ Pod::Spec.new do |s|
2222
s.source_files = 'FirebaseFacebookAuthUI/Sources/**/*.{h,m}'
2323
s.dependency 'FirebaseAuth'
2424
s.dependency 'FirebaseCore'
25-
s.dependency 'FirebaseAuthUI'
25+
s.dependency 'FirebaseAuthUI', '>= 14.2'
2626
s.dependency 'FBSDKLoginKit', '>= 11.0', '< 17.0'
2727
s.dependency 'FBSDKCoreKit_Basics'
2828
s.resource_bundles = {

FirebaseGoogleAuthUI.podspec

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ Pod::Spec.new do |s|
2020
s.source_files = 'FirebaseGoogleAuthUI/Sources/**/*.{h,m}'
2121
s.dependency 'FirebaseAuth'
2222
s.dependency 'FirebaseCore'
23-
s.dependency 'FirebaseAuthUI'
23+
s.dependency 'FirebaseAuthUI', '>= 14.2'
2424
s.dependency 'GoogleSignIn', '~> 7.0'
2525
s.resource_bundles = {
2626
'FirebaseGoogleAuthUI' => ['FirebaseGoogleAuthUI/Sources/{Resources,Strings}/*.{png,lproj}']

FirebasePhoneAuthUI.podspec

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ Pod::Spec.new do |s|
1919
s.public_header_files = 'FirebasePhoneAuthUI/Sources/Public/FirebasePhoneAuthUI/*.h'
2020
s.source_files = 'FirebasePhoneAuthUI/Sources/**/*.{h,m}'
2121
s.dependency 'FirebaseAuth'
22-
s.dependency 'FirebaseAuthUI'
22+
s.dependency 'FirebaseAuthUI', '>= 14.2'
2323
s.resource_bundles = {
2424
'FirebasePhoneAuthUI' => ['FirebasePhoneAuthUI/Sources/{Resources,Strings}/*.{xib,json,lproj,png}']
2525
}

FirebaseUI.podspec

+11-11
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Pod::Spec.new do |s|
22
s.name = 'FirebaseUI'
3-
s.version = '14.1.0'
3+
s.version = '14.2.0'
44
s.summary = 'UI binding libraries for Firebase.'
55
s.homepage = 'https://github.com/firebase/FirebaseUI-iOS'
66
s.license = { :type => 'Apache 2.0', :file => 'LICENSE' }
@@ -19,43 +19,43 @@ Pod::Spec.new do |s|
1919
}
2020

2121
s.subspec 'Database' do |database|
22-
database.dependency 'FirebaseDatabaseUI', '~> 14.0'
22+
database.dependency 'FirebaseDatabaseUI', '~> 14.2'
2323
end
2424

2525
s.subspec 'Firestore' do |firestore|
26-
firestore.dependency 'FirebaseFirestoreUI', '~> 14.0'
26+
firestore.dependency 'FirebaseFirestoreUI', '~> 14.2'
2727
end
2828

2929
s.subspec 'Storage' do |storage|
30-
storage.dependency 'FirebaseStorageUI', '~> 14.0'
30+
storage.dependency 'FirebaseStorageUI', '~> 14.2'
3131
end
3232

3333
s.subspec 'Auth' do |auth|
34-
auth.dependency 'FirebaseAuthUI', '~> 14.0'
34+
auth.dependency 'FirebaseAuthUI', '~> 14.2'
3535
end
3636

3737
s.subspec 'Anonymous' do |anonymous|
38-
anonymous.dependency 'FirebaseAnonymousAuthUI', '~> 14.0'
38+
anonymous.dependency 'FirebaseAnonymousAuthUI', '~> 14.2'
3939
end
4040

4141
s.subspec 'Email' do |email|
42-
email.dependency 'FirebaseEmailAuthUI', '~> 14.0'
42+
email.dependency 'FirebaseEmailAuthUI', '~> 14.2'
4343
end
4444

4545
s.subspec 'Facebook' do |facebook|
46-
facebook.dependency 'FirebaseFacebookAuthUI', '~> 14.0'
46+
facebook.dependency 'FirebaseFacebookAuthUI', '~> 14.2'
4747
end
4848

4949
s.subspec 'Google' do |google|
50-
google.dependency 'FirebaseGoogleAuthUI', '~> 14.0'
50+
google.dependency 'FirebaseGoogleAuthUI', '~> 14.2'
5151
end
5252

5353
s.subspec 'OAuth' do |oauth|
54-
oauth.dependency 'FirebaseOAuthUI', '~> 14.0'
54+
oauth.dependency 'FirebaseOAuthUI', '~> 14.2'
5555
end
5656

5757
s.subspec 'Phone' do |phone|
58-
phone.dependency 'FirebasePhoneAuthUI', '~> 14.0'
58+
phone.dependency 'FirebasePhoneAuthUI', '~> 14.2'
5959
end
6060

6161
end

release.sh

+6-6
Original file line numberDiff line numberDiff line change
@@ -3,28 +3,28 @@
33
set -euxo pipefail
44

55
pod spec lint FirebaseDatabaseUI.podspec && \
6-
pod spec lint FirebaseAuthUI.podspec && \
6+
pod spec lint --allow-warnings FirebaseAuthUI.podspec && \
77
pod spec lint FirebaseStorageUI.podspec && \
88
pod spec lint FirebaseFirestoreUI.podspec
99

1010
pod trunk push FirebaseDatabaseUI.podspec && \
11-
pod trunk push FirebaseAuthUI.podspec && \
11+
pod trunk push --allow-warnings FirebaseAuthUI.podspec && \
1212
pod trunk push FirebaseStorageUI.podspec && \
1313
pod trunk push FirebaseFirestoreUI.podspec
1414

1515
pod spec lint FirebaseAnonymousAuthUI.podspec && \
16-
pod spec lint FirebaseEmailAuthUI.podspec && \
16+
pod spec lint --allow-warnings FirebaseEmailAuthUI.podspec && \
1717
pod spec lint FirebaseFacebookAuthUI.podspec && \
1818
pod spec lint FirebaseGoogleAuthUI.podspec && \
1919
pod spec lint FirebaseOAuthUI.podspec && \
20-
pod spec lint FirebasePhoneAuthUI.podspec
20+
pod spec lint --allow-warnings FirebasePhoneAuthUI.podspec
2121

2222
pod trunk push FirebaseAnonymousAuthUI.podspec && \
23-
pod trunk push FirebaseEmailAuthUI.podspec && \
23+
pod trunk push --allow-warnings FirebaseEmailAuthUI.podspec && \
2424
pod trunk push FirebaseFacebookAuthUI.podspec && \
2525
pod trunk push FirebaseGoogleAuthUI.podspec && \
2626
pod trunk push FirebaseOAuthUI.podspec && \
27-
pod trunk push FirebasePhoneAuthUI.podspec
27+
pod trunk push --allow-warnings FirebasePhoneAuthUI.podspec
2828

2929
pod spec lint FirebaseUI.podspec && \
3030
pod trunk push FirebaseUI.podspec

staging.sh

+18
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
#!/usr/bin/env bash
2+
3+
set -euxo pipefail
4+
5+
pod repo push --use-json spec-staging FirebaseDatabaseUI.podspec && \
6+
pod repo push --use-json --allow-warnings spec-staging FirebaseAuthUI.podspec && \
7+
pod repo push --use-json spec-staging FirebaseStorageUI.podspec && \
8+
pod repo push --use-json spec-staging FirebaseFirestoreUI.podspec
9+
10+
pod repo push --use-json spec-staging FirebaseAnonymousAuthUI.podspec && \
11+
pod repo push --use-json --allow-warnings spec-staging FirebaseEmailAuthUI.podspec && \
12+
pod repo push --use-json spec-staging FirebaseFacebookAuthUI.podspec && \
13+
pod repo push --use-json spec-staging FirebaseGoogleAuthUI.podspec && \
14+
pod repo push --use-json spec-staging FirebaseOAuthUI.podspec && \
15+
pod repo push --use-json --allow-warnings spec-staging FirebasePhoneAuthUI.podspec
16+
17+
pod spec lint FirebaseUI.podspec && \
18+
pod repo push --use-json spec-staging FirebaseUI.podspec

0 commit comments

Comments
 (0)