Skip to content

Commit

Permalink
specify that firestore can only be accessed by shorebird employees
Browse files Browse the repository at this point in the history
  • Loading branch information
bryanoltman committed Nov 13, 2024
1 parent 63043e3 commit a0a9112
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
8 changes: 7 additions & 1 deletion progressive_rollout_demo/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ rollout using Shorebird's tracks feature.

The guide for this can be found at [TODO](link here).

## Getting Started
## Running the app (Shorebird employees only)

### Download Firebase Config files

Expand All @@ -22,3 +22,9 @@ Download `GoogleService-Info.plist` for the iOS app at
https://console.firebase.google.com/u/0/project/progressive-rollout-demo/settings/general/ios:dev.shorebird.progressive-rollout-demo

This file should be placed at `ios/Runner/GoogleService-Info.plist`.

### Updating Release Percentages

The Cloud Firestore used by this app is at
https://console.firebase.google.com/u/0/project/progressive-rollout-demo/firestore/databases/-default-/data/~2Frollouts~2Frollouts
You can view and edit the rollouts collection there.
2 changes: 1 addition & 1 deletion progressive_rollout_demo/lib/main.dart
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ class _MyHomePageState extends State<MyHomePage> {
/// Fetches the rollout percentage for the current release version
/// (e.g., 1.0.0+1) from Firestore.
///
/// You can view the Firestore data in the console at:
/// Shorebird employees can view the Firestore data in the console at:
/// https://console.firebase.google.com/u/0/project/progressive-rollout-demo/firestore/databases/-default-/data/~2Frollouts~2Frollouts
Future<int?> _fetchRolloutPercentage() async {
final collection = await FirebaseFirestore.instance
Expand Down

0 comments on commit a0a9112

Please sign in to comment.