Skip to content

Commit b7d1dd0

Browse files
Update Firebase codelabs (#1583)
## Pre-launch Checklist - [x] I read the [Effective Dart: Style] _recently_, and have followed its advice. - [x] I signed the [CLA]. - [x] I updated/added relevant documentation (doc comments with `///`). - [ ] All existing and new tests are passing. If you need help, consider asking for advice on the #hackers-devrel channel on [Discord]. <!-- Links --> [Effective Dart: Style]: https://dart.dev/guides/language/effective-dart/style [CLA]: https://cla.developers.google.com/ [Discord]: https://github.com/flutter/flutter/wiki/Chat
1 parent f5011e7 commit b7d1dd0

File tree

215 files changed

+6673
-668
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

215 files changed

+6673
-668
lines changed

firebase-auth-flutterfire-ui/codelab_rebuild.yaml

Lines changed: 4921 additions & 0 deletions
Large diffs are not rendered by default.

firebase-auth-flutterfire-ui/complete/.gitignore

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,9 +32,6 @@ migrate_working_dir/
3232
.pub/
3333
/build/
3434

35-
# Web related
36-
lib/generated_plugin_registrant.dart
37-
3835
# Symbolication related
3936
app.*.symbols
4037

firebase-auth-flutterfire-ui/complete/analysis_options.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@ include: ../../analysis_options.yaml
33
linter:
44
rules:
55
avoid_print: false
6-
constant_identifier_names: false
6+
constant_identifier_names: false

firebase-auth-flutterfire-ui/complete/android/app/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ android {
4646
// TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html).
4747
applicationId "com.example.complete"
4848
// You can update the following values to match your application needs.
49-
// For more information, see: https://docs.flutter.dev/deployment/android#reviewing-the-build-configuration.
49+
// For more information, see: https://docs.flutter.dev/deployment/android#reviewing-the-gradle-build-configuration.
5050
minSdkVersion flutter.minSdkVersion
5151
targetSdkVersion flutter.targetSdkVersion
5252
versionCode flutterVersionCode.toInteger()

firebase-auth-flutterfire-ui/complete/android/build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
buildscript {
2-
ext.kotlin_version = '1.6.10'
2+
ext.kotlin_version = '1.7.10'
33
repositories {
44
google()
55
mavenCentral()
66
}
77

88
dependencies {
9-
classpath 'com.android.tools.build:gradle:7.1.2'
9+
classpath 'com.android.tools.build:gradle:7.2.0'
1010
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
1111
}
1212
}
Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
1-
#Fri Jun 23 08:50:38 CEST 2017
21
distributionBase=GRADLE_USER_HOME
32
distributionPath=wrapper/dists
43
zipStoreBase=GRADLE_USER_HOME
54
zipStorePath=wrapper/dists
6-
distributionUrl=https\://services.gradle.org/distributions/gradle-7.4-all.zip
5+
distributionUrl=https\://services.gradle.org/distributions/gradle-7.5-all.zip

firebase-auth-flutterfire-ui/complete/ios/Flutter/AppFrameworkInfo.plist

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,6 @@
2121
<key>CFBundleVersion</key>
2222
<string>1.0</string>
2323
<key>MinimumOSVersion</key>
24-
<string>9.0</string>
24+
<string>11.0</string>
2525
</dict>
2626
</plist>

firebase-auth-flutterfire-ui/complete/ios/Podfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Uncomment this line to define a global platform for your project
2-
# platform :ios, '9.0'
2+
# platform :ios, '11.0'
33

44
# CocoaPods analytics sends network stats synchronously affecting flutter build latency.
55
ENV['COCOAPODS_DISABLE_STATS'] = 'true'

firebase-auth-flutterfire-ui/complete/ios/Runner.xcodeproj/project.pbxproj

Lines changed: 7 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,11 @@
33
archiveVersion = 1;
44
classes = {
55
};
6-
objectVersion = 50;
6+
objectVersion = 54;
77
objects = {
88

99
/* Begin PBXBuildFile section */
1010
1498D2341E8E89220040F4C2 /* GeneratedPluginRegistrant.m in Sources */ = {isa = PBXBuildFile; fileRef = 1498D2331E8E89220040F4C2 /* GeneratedPluginRegistrant.m */; };
11-
19D58F2B289476D60051E914 /* GoogleService-Info.plist in Resources */ = {isa = PBXBuildFile; fileRef = 19D58F2A289476D60051E914 /* GoogleService-Info.plist */; };
1211
3B3967161E833CAA004F5970 /* AppFrameworkInfo.plist in Resources */ = {isa = PBXBuildFile; fileRef = 3B3967151E833CAA004F5970 /* AppFrameworkInfo.plist */; };
1312
74858FAF1ED2DC5600515810 /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 74858FAE1ED2DC5600515810 /* AppDelegate.swift */; };
1413
97C146FC1CF9000F007C117D /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 97C146FA1CF9000F007C117D /* Main.storyboard */; };
@@ -32,7 +31,6 @@
3231
/* Begin PBXFileReference section */
3332
1498D2321E8E86230040F4C2 /* GeneratedPluginRegistrant.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = GeneratedPluginRegistrant.h; sourceTree = "<group>"; };
3433
1498D2331E8E89220040F4C2 /* GeneratedPluginRegistrant.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = GeneratedPluginRegistrant.m; sourceTree = "<group>"; };
35-
19D58F2A289476D60051E914 /* GoogleService-Info.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; path = "GoogleService-Info.plist"; sourceTree = "<group>"; };
3634
3B3967151E833CAA004F5970 /* AppFrameworkInfo.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; name = AppFrameworkInfo.plist; path = Flutter/AppFrameworkInfo.plist; sourceTree = "<group>"; };
3735
74858FAD1ED2DC5600515810 /* Runner-Bridging-Header.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "Runner-Bridging-Header.h"; sourceTree = "<group>"; };
3836
74858FAE1ED2DC5600515810 /* AppDelegate.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = "<group>"; };
@@ -88,7 +86,6 @@
8886
97C146F01CF9000F007C117D /* Runner */ = {
8987
isa = PBXGroup;
9088
children = (
91-
19D58F2A289476D60051E914 /* GoogleService-Info.plist */,
9289
97C146FA1CF9000F007C117D /* Main.storyboard */,
9390
97C146FD1CF9000F007C117D /* Assets.xcassets */,
9491
97C146FF1CF9000F007C117D /* LaunchScreen.storyboard */,
@@ -164,7 +161,6 @@
164161
files = (
165162
97C147011CF9000F007C117D /* LaunchScreen.storyboard in Resources */,
166163
3B3967161E833CAA004F5970 /* AppFrameworkInfo.plist in Resources */,
167-
19D58F2B289476D60051E914 /* GoogleService-Info.plist in Resources */,
168164
97C146FE1CF9000F007C117D /* Assets.xcassets in Resources */,
169165
97C146FC1CF9000F007C117D /* Main.storyboard in Resources */,
170166
);
@@ -175,6 +171,7 @@
175171
/* Begin PBXShellScriptBuildPhase section */
176172
3B06AD1E1E4923F5004D2608 /* Thin Binary */ = {
177173
isa = PBXShellScriptBuildPhase;
174+
alwaysOutOfDate = 1;
178175
buildActionMask = 2147483647;
179176
files = (
180177
);
@@ -189,6 +186,7 @@
189186
};
190187
9740EEB61CF901F6004384FC /* Run Script */ = {
191188
isa = PBXShellScriptBuildPhase;
189+
alwaysOutOfDate = 1;
192190
buildActionMask = 2147483647;
193191
files = (
194192
);
@@ -276,7 +274,7 @@
276274
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
277275
GCC_WARN_UNUSED_FUNCTION = YES;
278276
GCC_WARN_UNUSED_VARIABLE = YES;
279-
IPHONEOS_DEPLOYMENT_TARGET = 9.0;
277+
IPHONEOS_DEPLOYMENT_TARGET = 11.0;
280278
MTL_ENABLE_DEBUG_INFO = NO;
281279
SDKROOT = iphoneos;
282280
SUPPORTED_PLATFORMS = iphoneos;
@@ -353,7 +351,7 @@
353351
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
354352
GCC_WARN_UNUSED_FUNCTION = YES;
355353
GCC_WARN_UNUSED_VARIABLE = YES;
356-
IPHONEOS_DEPLOYMENT_TARGET = 9.0;
354+
IPHONEOS_DEPLOYMENT_TARGET = 11.0;
357355
MTL_ENABLE_DEBUG_INFO = YES;
358356
ONLY_ACTIVE_ARCH = YES;
359357
SDKROOT = iphoneos;
@@ -402,7 +400,7 @@
402400
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
403401
GCC_WARN_UNUSED_FUNCTION = YES;
404402
GCC_WARN_UNUSED_VARIABLE = YES;
405-
IPHONEOS_DEPLOYMENT_TARGET = 9.0;
403+
IPHONEOS_DEPLOYMENT_TARGET = 11.0;
406404
MTL_ENABLE_DEBUG_INFO = NO;
407405
SDKROOT = iphoneos;
408406
SUPPORTED_PLATFORMS = iphoneos;
@@ -482,4 +480,4 @@
482480
/* End XCConfigurationList section */
483481
};
484482
rootObject = 97C146E61CF9000F007C117D /* Project object */;
485-
}
483+
}

0 commit comments

Comments
 (0)