Skip to content

Commit cc1757f

Browse files
committed
Final parity changes
1 parent 6a442a0 commit cc1757f

File tree

3 files changed

+8
-10
lines changed

3 files changed

+8
-10
lines changed
Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
# Replace the credentials below with your Supabase, PowerSync and Expo project details.
22
EXPO_PUBLIC_SUPABASE_URL=https://foo.supabase.co
33
EXPO_PUBLIC_SUPABASE_ANON_KEY=foo
4-
EXPO_PUBLIC_SUPABASE_BUCKET= # Optional. Only required when syncing attachments and using Supabase Storage. See packages/powersync-attachments.
54
EXPO_PUBLIC_POWERSYNC_URL=https://foo.powersync.journeyapps.com
65
EXPO_PUBLIC_EAS_PROJECT_ID=foo # Optional. Only required when using EAS.

demos/react-native-supabase-group-chat/app.config.ts

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@ dotenvConfig({
1111
const projectId = process.env.EXPO_PUBLIC_EAS_PROJECT_ID;
1212

1313
const config: ExpoConfig = {
14-
name: 'react-native-supabase-group-chat',
15-
slug: 'react-native-supabase-group-chat',
14+
name: 'PowerChat',
15+
slug: 'powerchat',
1616
version: '1.0.0',
1717
orientation: 'portrait',
1818
icon: './assets/icon.png',
@@ -32,14 +32,14 @@ const config: ExpoConfig = {
3232
bundleIdentifier: 'com.powersync.powerchat'
3333
},
3434
android: {
35+
package: 'com.powersync.powerchat',
3536
adaptiveIcon: {
3637
foregroundImage: './assets/adaptive-icon.png',
3738
backgroundColor: '#cb62ff'
38-
},
39-
package: 'com.powersync.powerchat'
39+
}
4040
},
4141
web: {
42-
bundler: 'metro',
42+
bundler: 'metro'
4343
},
4444
extra: {
4545
eas: {

demos/react-native-supabase-group-chat/src/tamagui.config.ts

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,19 @@
1-
import { createTamagui } from '@tamagui/core';
2-
import { shorthands } from '@tamagui/shorthands';
31
import { createInterFont } from '@tamagui/font-inter';
2+
import { shorthands } from '@tamagui/shorthands';
43
import { themes, tokens } from '@tamagui/themes';
54
import { config } from '@/lib/config';
5+
import { createTamagui } from '@tamagui/core';
66

77
const headingFont = createInterFont();
88
const bodyFont = createInterFont();
99

10-
export const appConfig = createTamagui({
10+
const appConfig = createTamagui({
1111
themes,
1212
defaultTheme: 'dark',
1313
tokens: {
1414
...tokens,
1515
color: {
1616
...tokens.color,
17-
// Add PowerSync brand colours
1817
brand1: config.brand1,
1918
brand2: config.brand2
2019
}

0 commit comments

Comments
 (0)