Skip to content

Commit 0ffe8e0

Browse files
authored
Improve credntials templates
1 parent 5477842 commit 0ffe8e0

File tree

4 files changed

+28
-17
lines changed

4 files changed

+28
-17
lines changed
Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
1+
/**
2+
* Copy this template: `cp lib/app_config_template.dart lib/app_config.dart`
3+
* Edit lib/app_config.dart and enter your Supabase and PowerSync project details.
4+
*/
15
class AppConfig {
2-
static const String supabaseUrl = 'https://jrimaqxlgrpjipgssldo.supabase.co';
3-
static const String supabaseAnonKey =
4-
'eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJzdXBhYmFzZSIsInJlZiI6ImpyaW1hcXhsZ3JwamlwZ3NzbGRvIiwicm9sZSI6ImFub24iLCJpYXQiOjE2OTE1ODY5MTAsImV4cCI6MjAwNzE2MjkxMH0.K-Qb-YFz0oVpLshUEezGU-Do-sX08zKqBzVccDoZp_Y';
6+
static const String supabaseUrl = 'https://foo.supabase.co';
7+
static const String supabaseAnonKey = 'foo';
58
}
Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
1+
/**
2+
* Copy this template: `cp lib/app_config_template.dart lib/app_config.dart`
3+
* Edit lib/app_config.dart and enter your Supabase and PowerSync project details.
4+
*/
15
class AppConfig {
2-
static const String supabaseUrl = 'https://jrimaqxlgrpjipgssldo.supabase.co';
3-
static const String supabaseAnonKey =
4-
'eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJzdXBhYmFzZSIsInJlZiI6ImpyaW1hcXhsZ3JwamlwZ3NzbGRvIiwicm9sZSI6ImFub24iLCJpYXQiOjE2OTE1ODY5MTAsImV4cCI6MjAwNzE2MjkxMH0.K-Qb-YFz0oVpLshUEezGU-Do-sX08zKqBzVccDoZp_Y';
6+
static const String supabaseUrl = 'https://foo.supabase.co';
7+
static const String supabaseAnonKey = 'foo';
58
}
Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
1+
/**
2+
* Copy this template: `cp lib/app_config_template.dart lib/app_config.dart`
3+
* Edit lib/app_config.dart and enter your Supabase and PowerSync project details.
4+
*/
15
class AppConfig {
2-
static const String supabaseUrl = 'https://aaaaaaaaaaaa.supabase.co';
3-
static const String supabaseAnonKey = 'eyeyeyeyeyeye';
4-
static const String powersyncUrl =
5-
'https://65130c9db6679a3682ba380a.powersync.journeyapps.com';
6+
static const String supabaseUrl = 'https://foo.supabase.co';
7+
static const String supabaseAnonKey = 'foo';
8+
static const String powersyncUrl = 'https://foo.powersync.journeyapps.com';
69
}
10+
Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
1+
/**
2+
* Copy this template: `cp lib/app_config_template.dart lib/app_config.dart`
3+
* Edit lib/app_config.dart and enter your Supabase and PowerSync project details.
4+
*/
15
class AppConfig {
2-
static const String supabaseUrl = 'https://jrimaqxlgrpjipgssldo.supabase.co';
3-
static const String supabaseAnonKey =
4-
'eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJzdXBhYmFzZSIsInJlZiI6ImpyaW1hcXhsZ3JwamlwZ3NzbGRvIiwicm9sZSI6ImFub24iLCJpYXQiOjE2OTE1ODY5MTAsImV4cCI6MjAwNzE2MjkxMH0.K-Qb-YFz0oVpLshUEezGU-Do-sX08zKqBzVccDoZp_Y';
5-
static const String powersyncUrl =
6-
'https://64d392172a3c226cddbd5070.powersync.journeyapps.com';
7-
static const String supabaseStorageBucket =
8-
''; // Optional if you want to test out attachments
6+
static const String supabaseUrl = 'https://foo.supabase.co';
7+
static const String supabaseAnonKey = 'foo';
8+
static const String powersyncUrl = 'https://foo.powersync.journeyapps.com';
9+
static const String supabaseStorageBucket = ''; // Optional. Only required when syncing attachments with Supabase Storage. See packages/powersync_attachments_helper.
910
}

0 commit comments

Comments
 (0)