File tree Expand file tree Collapse file tree 3 files changed +8
-10
lines changed
demos/react-native-supabase-group-chat Expand file tree Collapse file tree 3 files changed +8
-10
lines changed Original file line number Diff line number Diff line change 11# Replace the credentials below with your Supabase, PowerSync and Expo project details.
22EXPO_PUBLIC_SUPABASE_URL = https://foo.supabase.co
33EXPO_PUBLIC_SUPABASE_ANON_KEY = foo
4- EXPO_PUBLIC_SUPABASE_BUCKET = # Optional. Only required when syncing attachments and using Supabase Storage. See packages/powersync-attachments.
54EXPO_PUBLIC_POWERSYNC_URL = https://foo.powersync.journeyapps.com
65EXPO_PUBLIC_EAS_PROJECT_ID = foo # Optional. Only required when using EAS.
Original file line number Diff line number Diff line change @@ -11,8 +11,8 @@ dotenvConfig({
1111const projectId = process . env . EXPO_PUBLIC_EAS_PROJECT_ID ;
1212
1313const 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 : {
Original file line number Diff line number Diff line change 1- import { createTamagui } from '@tamagui/core' ;
2- import { shorthands } from '@tamagui/shorthands' ;
31import { createInterFont } from '@tamagui/font-inter' ;
2+ import { shorthands } from '@tamagui/shorthands' ;
43import { themes , tokens } from '@tamagui/themes' ;
54import { config } from '@/lib/config' ;
5+ import { createTamagui } from '@tamagui/core' ;
66
77const headingFont = createInterFont ( ) ;
88const 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 }
You can’t perform that action at this time.
0 commit comments