Skip to content

Commit 3780045

Browse files
committed
Update in_app_purchases
1 parent 96c1336 commit 3780045

File tree

15 files changed

+40
-44
lines changed

15 files changed

+40
-44
lines changed

in_app_purchases/codelab_rebuild.yaml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,9 @@ steps:
99
- name: Make flutter app
1010
path: steps
1111
flutter: create app --project-name dashclicker --empty --platforms android,ios
12+
- name: Strip DEVELOPMENT_TEAM
13+
strip-lines-containing: DEVELOPMENT_TEAM =
14+
path: steps/app/ios/Runner.xcodeproj/project.pbxproj
1215
- name: Patch .gitignore
1316
path: steps/app/.gitignore
1417
patch-u: |
@@ -17223,7 +17226,7 @@ steps:
1722317226
void main() {
1722417227
runApp(const MyApp());
1722517228
}
17226-
@@ -67,6 +81,7 @@ class _MyHomePageState extends State<MyHomePage> {
17229+
@@ -66,6 +80,7 @@ class _MyHomePageState extends State<MyHomePage> {
1722717230
create: (context) => DashPurchases(
1722817231
context.read<DashCounter>(),
1722917232
),
@@ -17538,7 +17541,7 @@ steps:
1753817541
patch-u: |
1753917542
--- b/in_app_purchases/step_09/app/lib/main.dart
1754017543
+++ a/in_app_purchases/step_09/app/lib/main.dart
17541-
@@ -80,6 +80,7 @@ class _MyHomePageState extends State<MyHomePage> {
17544+
@@ -79,6 +79,7 @@ class _MyHomePageState extends State<MyHomePage> {
1754217545
ChangeNotifierProvider<DashPurchases>(
1754317546
create: (context) => DashPurchases(
1754417547
context.read<DashCounter>(),
@@ -18160,7 +18163,7 @@ steps:
1816018163
patch-u: |
1816118164
--- b/in_app_purchases/step_10/app/lib/main.dart
1816218165
+++ a/in_app_purchases/step_10/app/lib/main.dart
18163-
@@ -81,6 +81,7 @@ class _MyHomePageState extends State<MyHomePage> {
18166+
@@ -80,6 +80,7 @@ class _MyHomePageState extends State<MyHomePage> {
1816418167
create: (context) => DashPurchases(
1816518168
context.read<DashCounter>(),
1816618169
context.read<FirebaseNotifier>(),

in_app_purchases/complete/app/lib/main.dart

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,6 @@ class MyApp extends StatelessWidget {
3636
title: 'Dash Clicker',
3737
theme: ThemeData(
3838
colorScheme: ColorScheme.fromSeed(seedColor: Colors.deepPurple),
39-
4039
),
4140
home: const MyHomePage(title: 'Dash Clicker'),
4241
);

in_app_purchases/complete/app/pubspec.yaml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,15 +9,15 @@ environment:
99
dependencies:
1010
flutter:
1111
sdk: flutter
12-
cloud_firestore: ^5.6.2
12+
cloud_firestore: ^5.6.3
1313
cupertino_icons: ^1.0.8
14-
firebase_auth: ^5.4.1
15-
firebase_core: ^3.10.1
14+
firebase_auth: ^5.4.2
15+
firebase_core: ^3.11.0
1616
google_sign_in: ^6.2.2
1717
http: ^1.3.0
18-
intl: ^0.20.1
18+
intl: ^0.20.2
1919
provider: ^6.1.2
20-
in_app_purchase: ^3.2.0
20+
in_app_purchase: ^3.2.1
2121

2222
dev_dependencies:
2323
flutter_test:

in_app_purchases/step_00/app/lib/main.dart

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@ class MyApp extends StatelessWidget {
2222
title: 'Dash Clicker',
2323
theme: ThemeData(
2424
colorScheme: ColorScheme.fromSeed(seedColor: Colors.deepPurple),
25-
2625
),
2726
home: const MyHomePage(title: 'Dash Clicker'),
2827
);

in_app_purchases/step_00/app/pubspec.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,13 +9,13 @@ environment:
99
dependencies:
1010
flutter:
1111
sdk: flutter
12-
cloud_firestore: ^5.6.2
12+
cloud_firestore: ^5.6.3
1313
cupertino_icons: ^1.0.8
14-
firebase_auth: ^5.4.1
15-
firebase_core: ^3.10.1
14+
firebase_auth: ^5.4.2
15+
firebase_core: ^3.11.0
1616
google_sign_in: ^6.2.2
1717
http: ^1.3.0
18-
intl: ^0.20.1
18+
intl: ^0.20.2
1919
provider: ^6.1.2
2020

2121
dev_dependencies:

in_app_purchases/step_03/app/lib/main.dart

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@ class MyApp extends StatelessWidget {
2222
title: 'Dash Clicker',
2323
theme: ThemeData(
2424
colorScheme: ColorScheme.fromSeed(seedColor: Colors.deepPurple),
25-
2625
),
2726
home: const MyHomePage(title: 'Dash Clicker'),
2827
);

in_app_purchases/step_03/app/pubspec.yaml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,15 +9,15 @@ environment:
99
dependencies:
1010
flutter:
1111
sdk: flutter
12-
cloud_firestore: ^5.6.2
12+
cloud_firestore: ^5.6.3
1313
cupertino_icons: ^1.0.8
14-
firebase_auth: ^5.4.1
15-
firebase_core: ^3.10.1
14+
firebase_auth: ^5.4.2
15+
firebase_core: ^3.11.0
1616
google_sign_in: ^6.2.2
1717
http: ^1.3.0
18-
intl: ^0.20.1
18+
intl: ^0.20.2
1919
provider: ^6.1.2
20-
in_app_purchase: ^3.2.0
20+
in_app_purchase: ^3.2.1
2121

2222
dev_dependencies:
2323
flutter_test:

in_app_purchases/step_07/app/lib/main.dart

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,6 @@ class MyApp extends StatelessWidget {
3636
title: 'Dash Clicker',
3737
theme: ThemeData(
3838
colorScheme: ColorScheme.fromSeed(seedColor: Colors.deepPurple),
39-
4039
),
4140
home: const MyHomePage(title: 'Dash Clicker'),
4241
);

in_app_purchases/step_07/app/pubspec.yaml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,15 +9,15 @@ environment:
99
dependencies:
1010
flutter:
1111
sdk: flutter
12-
cloud_firestore: ^5.6.2
12+
cloud_firestore: ^5.6.3
1313
cupertino_icons: ^1.0.8
14-
firebase_auth: ^5.4.1
15-
firebase_core: ^3.10.1
14+
firebase_auth: ^5.4.2
15+
firebase_core: ^3.11.0
1616
google_sign_in: ^6.2.2
1717
http: ^1.3.0
18-
intl: ^0.20.1
18+
intl: ^0.20.2
1919
provider: ^6.1.2
20-
in_app_purchase: ^3.2.0
20+
in_app_purchase: ^3.2.1
2121

2222
dev_dependencies:
2323
flutter_test:

in_app_purchases/step_08/app/lib/main.dart

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,6 @@ class MyApp extends StatelessWidget {
3636
title: 'Dash Clicker',
3737
theme: ThemeData(
3838
colorScheme: ColorScheme.fromSeed(seedColor: Colors.deepPurple),
39-
4039
),
4140
home: const MyHomePage(title: 'Dash Clicker'),
4241
);

0 commit comments

Comments
 (0)