Skip to content

Commit 1281670

Browse files
committed
Rename googlePlayProjectName to googleCloudProjectId
1 parent eaf0e5a commit 1281670

File tree

31 files changed

+64
-64
lines changed

31 files changed

+64
-64
lines changed

in_app_purchases/codelab_rebuild.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16731,7 +16731,7 @@ steps:
1673116731
const appStoreKeyId = 'App Store Keu ID';
1673216732
const appStoreSharedSecret = "App Store shared secret";
1673316733
const bundleId = 'your iOS bundle ID';
16734-
const googlePlayProjectName = "Google Cloud project name";
16734+
const googleCloudProjectId = "Google Cloud project ID";
1673516735
const googlePlayPubsubBillingTopic = "play_billing"; // change if necessary
1673616736
```
1673716737

@@ -16788,7 +16788,7 @@ steps:
1678816788
const appStoreKeyId = 'App Store Key ID';
1678916789
const appStoreSharedSecret = 'App Store shared secret';
1679016790
const bundleId = 'your iOS bundle ID';
16791-
const googlePlayProjectName = 'Google Cloud project name';
16791+
const googleCloudProjectId = 'Google Cloud project ID';
1679216792
const googlePlayPubsubBillingTopic = 'play_billing';
1679316793
- name: Add dart-backend/lib/helpers.dart
1679416794
path: steps/dart-backend/lib/helpers.dart
@@ -18437,7 +18437,7 @@ steps:
1843718437
+ print('Polling Google Play messages');
1843818438
+ final request = pubsub.PullRequest(maxMessages: 1000);
1843918439
+ final topicName =
18440-
+ 'projects/$googlePlayProjectName/subscriptions/$googlePlayPubsubBillingTopic-sub';
18440+
+ 'projects/$googleCloudProjectId/subscriptions/$googlePlayPubsubBillingTopic-sub';
1844118441
+ final pullResponse = await pubsubApi.projects.subscriptions.pull(
1844218442
+ request,
1844318443
+ topicName,
@@ -18503,7 +18503,7 @@ steps:
1850318503
+ print('ACK Message');
1850418504
+ final request = pubsub.AcknowledgeRequest(ackIds: [id]);
1850518505
+ final subscriptionName =
18506-
+ 'projects/$googlePlayProjectName/subscriptions/$googlePlayPubsubBillingTopic-sub';
18506+
+ 'projects/$googleCloudProjectId/subscriptions/$googlePlayPubsubBillingTopic-sub';
1850718507
+ await pubsubApi.projects.subscriptions.acknowledge(
1850818508
+ request,
1850918509
+ subscriptionName,

in_app_purchases/complete/app/pubspec.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,15 +4,15 @@ publish_to: 'none'
44
version: 0.1.0
55

66
environment:
7-
sdk: ^3.7.0-0
7+
sdk: ^3.7.0
88

99
dependencies:
1010
flutter:
1111
sdk: flutter
12-
cloud_firestore: ^5.6.3
12+
cloud_firestore: ^5.6.5
1313
cupertino_icons: ^1.0.8
14-
firebase_auth: ^5.4.2
15-
firebase_core: ^3.11.0
14+
firebase_auth: ^5.5.1
15+
firebase_core: ^3.12.1
1616
google_sign_in: ^6.2.2
1717
http: ^1.3.0
1818
intl: ^0.20.2

in_app_purchases/complete/dart-backend/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ const appStoreIssuerId = 'App Store Key issuer ID';
88
const appStoreKeyId = 'App Store Keu ID';
99
const appStoreSharedSecret = "App Store shared secret";
1010
const bundleId = 'your iOS bundle ID';
11-
const googlePlayProjectName = "Google Cloud project name";
11+
const googleCloudProjectId = "Google Cloud project ID";
1212
const googlePlayPubsubBillingTopic = "play_billing"; // change if necessary
1313
```
1414

in_app_purchases/complete/dart-backend/lib/constants.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,5 @@ const appStoreIssuerId = 'App Store Key issuer ID';
33
const appStoreKeyId = 'App Store Key ID';
44
const appStoreSharedSecret = 'App Store shared secret';
55
const bundleId = 'your iOS bundle ID';
6-
const googlePlayProjectName = 'Google Cloud project name';
6+
const googleCloudProjectId = 'Google Cloud project ID';
77
const googlePlayPubsubBillingTopic = 'play_billing';

in_app_purchases/complete/dart-backend/lib/google_play_purchase_handler.dart

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,7 @@ class GooglePlayPurchaseHandler extends PurchaseHandler {
164164
print('Polling Google Play messages');
165165
final request = pubsub.PullRequest(maxMessages: 1000);
166166
final topicName =
167-
'projects/$googlePlayProjectName/subscriptions/$googlePlayPubsubBillingTopic-sub';
167+
'projects/$googleCloudProjectId/subscriptions/$googlePlayPubsubBillingTopic-sub';
168168
final pullResponse = await pubsubApi.projects.subscriptions.pull(
169169
request,
170170
topicName,
@@ -230,7 +230,7 @@ class GooglePlayPurchaseHandler extends PurchaseHandler {
230230
print('ACK Message');
231231
final request = pubsub.AcknowledgeRequest(ackIds: [id]);
232232
final subscriptionName =
233-
'projects/$googlePlayProjectName/subscriptions/$googlePlayPubsubBillingTopic-sub';
233+
'projects/$googleCloudProjectId/subscriptions/$googlePlayPubsubBillingTopic-sub';
234234
await pubsubApi.projects.subscriptions.acknowledge(
235235
request,
236236
subscriptionName,

in_app_purchases/complete/dart-backend/pubspec.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,10 @@ version: 1.0.0
44
# repository: https://github.com/my_org/my_repo
55

66
environment:
7-
sdk: ^3.7.0-0
7+
sdk: ^3.7.0
88

99
dependencies:
10-
app_store_server_sdk: ^1.2.9
10+
app_store_server_sdk: ^1.2.10
1111
googleapis: ^13.2.0
1212
googleapis_auth: ^1.6.0
1313
http: ^1.3.0

in_app_purchases/step_00/app/pubspec.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,15 +4,15 @@ publish_to: 'none'
44
version: 0.1.0
55

66
environment:
7-
sdk: ^3.7.0-0
7+
sdk: ^3.7.0
88

99
dependencies:
1010
flutter:
1111
sdk: flutter
12-
cloud_firestore: ^5.6.3
12+
cloud_firestore: ^5.6.5
1313
cupertino_icons: ^1.0.8
14-
firebase_auth: ^5.4.2
15-
firebase_core: ^3.11.0
14+
firebase_auth: ^5.5.1
15+
firebase_core: ^3.12.1
1616
google_sign_in: ^6.2.2
1717
http: ^1.3.0
1818
intl: ^0.20.2

in_app_purchases/step_00/dart-backend/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ const appStoreIssuerId = 'App Store Key issuer ID';
88
const appStoreKeyId = 'App Store Keu ID';
99
const appStoreSharedSecret = "App Store shared secret";
1010
const bundleId = 'your iOS bundle ID';
11-
const googlePlayProjectName = "Google Cloud project name";
11+
const googleCloudProjectId = "Google Cloud project ID";
1212
const googlePlayPubsubBillingTopic = "play_billing"; // change if necessary
1313
```
1414

in_app_purchases/step_00/dart-backend/lib/constants.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,5 @@ const appStoreIssuerId = 'App Store Key issuer ID';
33
const appStoreKeyId = 'App Store Key ID';
44
const appStoreSharedSecret = 'App Store shared secret';
55
const bundleId = 'your iOS bundle ID';
6-
const googlePlayProjectName = 'Google Cloud project name';
6+
const googleCloudProjectId = 'Google Cloud project ID';
77
const googlePlayPubsubBillingTopic = 'play_billing';

in_app_purchases/step_00/dart-backend/pubspec.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,10 @@ version: 1.0.0
44
# repository: https://github.com/my_org/my_repo
55

66
environment:
7-
sdk: ^3.7.0-0
7+
sdk: ^3.7.0
88

99
dependencies:
10-
app_store_server_sdk: ^1.2.9
10+
app_store_server_sdk: ^1.2.10
1111
googleapis: ^13.2.0
1212
googleapis_auth: ^1.6.0
1313
http: ^1.3.0

0 commit comments

Comments
 (0)