Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Notification being set based on use case to all staffs #85 #117

Merged
merged 19 commits into from
Oct 6, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
19 commits
Select commit Hold shift + click to select a range
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
89 changes: 29 additions & 60 deletions .firebase/hosting.ZGlzdA.cache
Original file line number Diff line number Diff line change
@@ -1,60 +1,29 @@
tables.html,1727592391697,653ee19368aefc00cad4acf716da30a00cfbe4f8923110a10cbc3fa4a00f8766
staffs.html,1727592391706,653ee19368aefc00cad4acf716da30a00cfbe4f8923110a10cbc3fa4a00f8766
profile.html,1727592391697,653ee19368aefc00cad4acf716da30a00cfbe4f8923110a10cbc3fa4a00f8766
orders.html,1727592391697,653ee19368aefc00cad4acf716da30a00cfbe4f8923110a10cbc3fa4a00f8766
menu.html,1727592391697,653ee19368aefc00cad4acf716da30a00cfbe4f8923110a10cbc3fa4a00f8766
inventory.html,1727592391696,653ee19368aefc00cad4acf716da30a00cfbe4f8923110a10cbc3fa4a00f8766
index.html,1727592391696,653ee19368aefc00cad4acf716da30a00cfbe4f8923110a10cbc3fa4a00f8766
favicon.ico,1727592391696,a31dff9ecb6b23a890382d0d5f0b7c38608c0c9124bdd841f6983fa4f5370b45
approve.html,1727592391696,653ee19368aefc00cad4acf716da30a00cfbe4f8923110a10cbc3fa4a00f8766
_sitemap.html,1727592391696,653ee19368aefc00cad4acf716da30a00cfbe4f8923110a10cbc3fa4a00f8766
+not-found.html,1727592391696,653ee19368aefc00cad4acf716da30a00cfbe4f8923110a10cbc3fa4a00f8766
assets/node_modules/react-native-ratings/dist/images/star.004c2bbb035d8d06bb830efc4673c886.png,1727592391714,b5ed7f5d7eed0b602d8576083e9df84ccf267d0386817e2454863bffeabcb29d
assets/node_modules/react-native-ratings/dist/images/rocket.51671417ef20e0bbc32f0a2bc6edfa95.png,1727592391714,91fd149552fc2197a4884ed9a244c1da7f9ff4e002e713a78c74a29d4374cf0f
assets/node_modules/react-native-ratings/dist/images/heart.2327736b3ea09c41abfb69be1221f430.png,1727592391714,f9ad6fa4cb49cdb9bc5d4dbc8015004493632cd7591cdeaae92649e7795f9cae
assets/node_modules/react-native-ratings/dist/images/bell.a7b9dc9de5f8f1fb1afbef917619a5ac.png,1727592391713,58ad0cac2c08a602c18bd6f9ed4923e3225001b874711fe09bab8c5f5851c297
assets/node_modules/react-native-ratings/dist/images/airbnb-star.4bdd6aad790c6c8370a06876ec7d31e1.png,1727592391713,dd168cac0f1ccfa4f6f10b3a74ba51a371c61b4a1cc1099c39cec5cbbfd1e2e6
assets/node_modules/react-native-ratings/dist/images/airbnb-star-selected.4b9cf0cc747e3c1abc541befa05b1e37.png,1727592391706,1063ec55fa1b18ec4643034b506860b0114268cd18092660bed045da361574b9
assets/node_modules/expo-router/assets/pkg.5974eb3e1c5314e8d5a822702d7d0740.png,1727592391713,b2ed1739570551aae643b506ff09f37e55ef61a4fff7c24a1ea5cd780266ab31
assets/node_modules/expo-router/assets/forward.9d9c5644f55c2f6e4b7f247c378b2fe9.png,1727592391711,7757c6e975646950c83d5f7bd322f454176e9fe39fec8050249da47501a86cb1
assets/node_modules/expo-router/assets/file.b6c297a501e289394b0bc5dc69c265e6.png,1727592391714,6d64788ad1441ceaadc998e320d857ed97b3ca2b4261dbeaadfb9ed2a96fdec3
assets/node_modules/expo-router/assets/error.563d5e3294b67811d0a1aede6f601e30.png,1727592391714,cd64c9e28da46173e72b1bbab766b9c79e64ce6351d6445a07bfeaa16c7d61e9
assets/node_modules/@react-navigation/elements/lib/module/assets/back-icon.35ba0eaec5a4f5ed12ca16fabeae451d.png,1727592391756,e11cc01dc26c6e948e89538d2d1080fb9b58676f6a825f3d751ce6a64da817c2
assets/node_modules/@react-navigation/elements/lib/module/assets/back-icon-mask.5223c8d9b0d08b82a5670fb5f71faf78.png,1727592391714,b25c061c147c79ad7492783cd701999b86c265b217e636ff1d82a3f14b540c0d
assets/node_modules/@expo/vector-icons/build/vendor/react-native-vector-icons/Fonts/Zocial.1681f34aaca71b8dfb70756bca331eb2.ttf,1727592391771,ff35d1e472a1453735a01d2e03c45f7914b01c3dc5f1a82a980ab64bd8c57ea9
assets/node_modules/@expo/vector-icons/build/vendor/react-native-vector-icons/Fonts/SimpleLineIcons.d2285965fe34b05465047401b8595dd0.ttf,1727592391771,0008e9d91744a13909a740ae365d32d55027514b357e0c0890164cfc00959cfa
assets/node_modules/@expo/vector-icons/build/vendor/react-native-vector-icons/Fonts/Octicons.f7c53c47a66934504fcbc7cc164895a7.ttf,1727592391771,d0aa926b3011447ad00b9c737bc08a7ed1f0e2124514e59a001f424245159d07
assets/node_modules/@expo/vector-icons/build/vendor/react-native-vector-icons/Fonts/MaterialIcons.4e85bc9ebe07e0340c9c4fc2f6c38908.ttf,1727592391771,eca427bac31d70cd2e7e38c2434f7c2cde864985a68fbfb4aee286bbfa1248bd
assets/node_modules/@expo/vector-icons/build/vendor/react-native-vector-icons/Fonts/MaterialCommunityIcons.b62641afc9ab487008e996a5c5865e56.ttf,1727592391775,1879c3fb53ae114c4573b99104a631e992e57e8bda1d213b93fd461b1e437a59
assets/node_modules/@expo/vector-icons/build/vendor/react-native-vector-icons/Fonts/Ionicons.6148e7019854f3bde85b633cb88f3c25.ttf,1727592391774,6c70e6dc3fdfee51499e456ac626cc79b1ff680473bb9bb4b91ac08005b788d4
assets/node_modules/@expo/vector-icons/build/vendor/react-native-vector-icons/Fonts/Foundation.e20945d7c929279ef7a6f1db184a4470.ttf,1727592391771,c467b886c9d0019dd7c0b82d1708781563cb89d998b23aa17ca90da41085f2d1
assets/node_modules/@expo/vector-icons/build/vendor/react-native-vector-icons/Fonts/Fontisto.b49ae8ab2dbccb02c4d11caaacf09eab.ttf,1727592391771,51605e8f1ccb777d3e0ebd10b6e142c99652d6de911aaf103c7d4e7e45295025
assets/node_modules/@expo/vector-icons/build/vendor/react-native-vector-icons/Fonts/FontAwesome6_Solid.0248ab19e74fc3731de14d647db4687a.ttf,1727592391771,fd550759ea3a271899be106be8ae9e4eacee1eecef9adccfaf30852c6c63932c
assets/node_modules/@expo/vector-icons/build/vendor/react-native-vector-icons/Fonts/FontAwesome6_Regular.675809e48e35c47d51c7d6fcc687ee28.ttf,1727592391771,e2659b66a9ab3f6cecf6a99cf8c80a6c919b43375203a50ceb0ff5158b44f668
assets/node_modules/@expo/vector-icons/build/vendor/react-native-vector-icons/Fonts/FontAwesome6_Brands.bb8cd014d7a55672934233c354e1c4a3.ttf,1727592391773,9019ce89a5d0abbd87aeb1370c2fe6e33eebdba3c866ca0714f6582d40eae157
assets/node_modules/@expo/vector-icons/build/vendor/react-native-vector-icons/Fonts/FontAwesome5_Solid.605ed7926cf39a2ad5ec2d1f9d391d3d.ttf,1727592391770,129f66735be883f6628766a200558ab667cff67034f6d1486bc7118f7163db3f
assets/node_modules/@expo/vector-icons/build/vendor/react-native-vector-icons/Fonts/FontAwesome5_Regular.1f77739ca9ff2188b539c36f30ffa2be.ttf,1727592391771,77f81152d0bfbf039a6cb2fe6bbb0f933ee2083c1dad85a11eda590871bcf889
assets/node_modules/@expo/vector-icons/build/vendor/react-native-vector-icons/Fonts/FontAwesome5_Brands.3b89dd103490708d19a95adcae52210e.ttf,1727592391770,c2d4c07ee002df6a7486a4b6c596efb9b1fbd9142c6891208d9141063c7cf539
assets/node_modules/@expo/vector-icons/build/vendor/react-native-vector-icons/Fonts/FontAwesome.b06871f281fee6b241d60582ae9369b9.ttf,1727592391770,225dc03087123b26cb71296d418705ec2e89e826acd04bfe6fc6353a0f5220c8
assets/node_modules/@expo/vector-icons/build/vendor/react-native-vector-icons/Fonts/Feather.a76d309774d33d9856f650bed4292a23.ttf,1727592391771,925b0da6158e3fcebd8bc6a59a97548afdaf8545a3636399925897eea4436ff3
assets/node_modules/@expo/vector-icons/build/vendor/react-native-vector-icons/Fonts/EvilIcons.140c53a7643ea949007aa9a282153849.ttf,1727592391771,ee74313709d249fba9926b5b3468481055c2270a5dbea76f812dd2b4a97575ea
assets/node_modules/@expo/vector-icons/build/vendor/react-native-vector-icons/Fonts/Entypo.31b5ffea3daddc69dd01a1f3d6cf63c5.ttf,1727592391753,c483e339381ca1240eb6aaa96080b90d590d6fa03c0ff4bb4ddc9c2347ce3334
assets/node_modules/@expo/vector-icons/build/vendor/react-native-vector-icons/Fonts/AntDesign.3a2ba31570920eeb9b1d217cabe58315.ttf,1727592391771,3511d5655ede3265d5d3665d10d468ab3e0392dc44af3b6fa0dc69a3e942f093
assets/assets/images/icon.621dcdbb9e3d7cbc5fc1db1fe90ba641.png,1727592391711,ac9648ac05bc9f1cd2b0c69769f6977beb2749e0893e7ddb616e411951c7ba04
assets/assets/fonts/SpaceMono-Regular.49a79d66bdea2debf1832bf4d7aca127.ttf,1727592391706,81cb13c8e3ad8314e7da7a33b861eb5ed0a21953dfb50d306ca04599490b7b5c
_expo/static/js/web/lottie_worker-Q23FJ6ZR-4bf7a4ff29df6f7058af92645bd6494e.js,1727592391753,ccf08e8c97230a344ffa3de1312ddbc2f8bf1a7ba11866125710f3f01d3826e7
_expo/static/js/web/lottie_svg-MJGYILXD-533774bebc8c55148361f2e6c76ef044.js,1727592391753,044a8200fc8a0376e8c8942d009825adda945ef89d9f321cacbd1853c1670f26
_expo/static/js/web/lottie_light_html-SLCECTRT-ba417e5c850ee5e447d5e0c83de25fcd.js,1727592391752,a834b008ee7b48323b34a2ccc017de1e388d7c780e8374ce814ebd85f29738d9
_expo/static/js/web/lottie_light_canvas-B5UTTNXA-89a55b0783609d80674cbec8d1731272.js,1727592391752,5192c95c219b9415f5fb2a437568dc18dd6737a0dde7c15a8b0ea41c690bba47
_expo/static/js/web/lottie_light-KMJEUZFY-5ecff89c745f9ad3e2187ca417ef34a4.js,1727592391752,8ae4bafd2e03f6d473f66f76ad5a7951ccffbdedc155a6ff119241fdb82a4b59
_expo/static/js/web/lottie_html-X3TYKVQI-c749fc798d1148e9797805f5cc5483ce.js,1727592391752,3a2a72d1511e9f3d600cf5addd5dee39fadeadc116ef48ff4548d08c55672fe6
_expo/static/js/web/lottie_canvas-CDSUBMCL-62d5d6a5e333ba3d69ae160ecbadbbe9.js,1727592391751,27b8c02143df78f322b6a1efaf061023bf5838d69e30b07cbd79a58172477599
_expo/static/js/web/index-d41d8cd98f00b204e9800998ecf8427e.js,1727592391719,f1b651238a58fe290baec6c5e32f3bdb1943dd2bd582f02569231f7a757c7837
_expo/static/js/web/entry-bf6bb9576c3e877c6168e403378e4e3e.js,1727592391775,c28e9c4b6e05af8df7b14015ba1627c4b437962091f413234b6cd066716e57e5
_expo/static/js/web/dotlottie-state-machine-manager-2E7RUGJG-a739ec3ae929f1647a04762ec12b676a.js,1727592391753,0098f82cee0df56d21cd2ca2a822b278752f83cee382e9a1fd7b5903b25687ae
_expo/static/js/web/dotlottie-audio-19af13748b12aff2d208c9b5d5b059fc.js,1727592391712,728ebc6029ea53910298a21faeaab859ffebd33243df45c4d29a2189e6f252ed
(tabs)/tables.html,1727592391696,653ee19368aefc00cad4acf716da30a00cfbe4f8923110a10cbc3fa4a00f8766
(tabs)/profile.html,1727592391696,653ee19368aefc00cad4acf716da30a00cfbe4f8923110a10cbc3fa4a00f8766
(tabs)/orders.html,1727592391697,653ee19368aefc00cad4acf716da30a00cfbe4f8923110a10cbc3fa4a00f8766
(tabs)/menu.html,1727592391696,653ee19368aefc00cad4acf716da30a00cfbe4f8923110a10cbc3fa4a00f8766
(tabs)/index.html,1727592391694,653ee19368aefc00cad4acf716da30a00cfbe4f8923110a10cbc3fa4a00f8766
tables.html,1728202531359,929f8813324a44a3b0c15fc00115881e98d31cb694b3a913c135ec6e5382f272
staffs.html,1728202531358,929f8813324a44a3b0c15fc00115881e98d31cb694b3a913c135ec6e5382f272
profile.html,1728202531358,929f8813324a44a3b0c15fc00115881e98d31cb694b3a913c135ec6e5382f272
orders.html,1728202531358,929f8813324a44a3b0c15fc00115881e98d31cb694b3a913c135ec6e5382f272
menu.html,1728202531358,929f8813324a44a3b0c15fc00115881e98d31cb694b3a913c135ec6e5382f272
inventory.html,1728202531358,929f8813324a44a3b0c15fc00115881e98d31cb694b3a913c135ec6e5382f272
index.html,1728202531358,929f8813324a44a3b0c15fc00115881e98d31cb694b3a913c135ec6e5382f272
favicon.ico,1728202531358,a31dff9ecb6b23a890382d0d5f0b7c38608c0c9124bdd841f6983fa4f5370b45
approve.html,1728202531357,929f8813324a44a3b0c15fc00115881e98d31cb694b3a913c135ec6e5382f272
_sitemap.html,1728202531356,929f8813324a44a3b0c15fc00115881e98d31cb694b3a913c135ec6e5382f272
+not-found.html,1728202531356,929f8813324a44a3b0c15fc00115881e98d31cb694b3a913c135ec6e5382f272
assets/assets/images/icon.621dcdbb9e3d7cbc5fc1db1fe90ba641.png,1728202531395,ac9648ac05bc9f1cd2b0c69769f6977beb2749e0893e7ddb616e411951c7ba04
assets/assets/fonts/SpaceMono-Regular.49a79d66bdea2debf1832bf4d7aca127.ttf,1728202531395,81cb13c8e3ad8314e7da7a33b861eb5ed0a21953dfb50d306ca04599490b7b5c
_expo/static/js/web/lottie_worker-Q23FJ6ZR-1e550b7728eb99cd1e95cc0bc190a579.js,1728202531407,69c7ab593063cec1bf4c1de00e8bb307d7d96c73900a2811ea89d226711b667b
_expo/static/js/web/lottie_svg-MJGYILXD-d43882c6f67d26a8513b61a53da39689.js,1728202531407,ede3e0d3f0734bdfa1ddc16e7295ee0810d5eb44f5cbffbed2d97a130e8c31ba
_expo/static/js/web/lottie_light_html-SLCECTRT-e6412de4650244d7b953ec974c2070fa.js,1728202531407,abbf62ff01f46d20c0515e76e36cf7fb2d6cdc3a04bc587f6225528fd4601884
_expo/static/js/web/lottie_light_canvas-B5UTTNXA-9323a81d3160cd02a121a36c3e6ef903.js,1728202531407,c40151a393bc5e4f1f30861055e0c8b6205a5185a12b01b09909bd92a70257b2
_expo/static/js/web/lottie_light-KMJEUZFY-662308cde9bb23a0d07e976d2713db24.js,1728202531407,a5ec3be40c17e8267d96425f0156a540a189b47ce4d75b2652d11e1d867c0e2b
_expo/static/js/web/lottie_html-X3TYKVQI-950a261d6aa1c5a74b6bd5c3bdab783e.js,1728202531407,db914b63459f28600f570ba235e16e85c2f37adefb3cf7bccda883ef19fbf7fa
_expo/static/js/web/lottie_canvas-CDSUBMCL-1a19e4232c0acbf606ca79a410dfefa1.js,1728202531407,144bbf068ab02e6abdb3b384c6b53aa9106dcd3c7565816817f8d4a36818e4dc
_expo/static/js/web/index-d41d8cd98f00b204e9800998ecf8427e.js,1728202531405,f1b651238a58fe290baec6c5e32f3bdb1943dd2bd582f02569231f7a757c7837
_expo/static/js/web/entry-df21cfef5dd268ebce7ef603e49d4773.js,1728202531417,1c743224f8cb5d4184691036f44288526c02d6a783fb0808d3ba12131ce094f0
_expo/static/js/web/dotlottie-state-machine-manager-2E7RUGJG-44c8eee7ead885f4758c7be2b893bb98.js,1728202531407,8ee83c1819b8e63be3206338286301bf9046890a7f97b23a394be66206cb5753
_expo/static/js/web/dotlottie-audio-ada9398a7619c97782d77ec69aa720b0.js,1728202531397,a2d81913fed5a2ff105ab8cbb9a08555ec19ed17ec5735d81681984ecc2c7066
(tabs)/tables.html,1728202531357,929f8813324a44a3b0c15fc00115881e98d31cb694b3a913c135ec6e5382f272
(tabs)/profile.html,1728202531356,929f8813324a44a3b0c15fc00115881e98d31cb694b3a913c135ec6e5382f272
(tabs)/orders.html,1728202531356,929f8813324a44a3b0c15fc00115881e98d31cb694b3a913c135ec6e5382f272
(tabs)/menu.html,1728202531358,929f8813324a44a3b0c15fc00115881e98d31cb694b3a913c135ec6e5382f272
(tabs)/index.html,1728202531355,929f8813324a44a3b0c15fc00115881e98d31cb694b3a913c135ec6e5382f272
46 changes: 44 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
node_modules/
.expo/
.vscode/
dist/
.idea/
npm-debug.*
*.jks
*.p8
Expand All @@ -10,12 +10,54 @@ npm-debug.*
*.mobileprovision
*.orig.*
web-build/
android/
dist/
ios/
*.aab


# macOS
.DS_Store

# @generated expo-cli sync-2b81b286409207a5da26e14c78851eb30d8ccbdb

# @generated expo-cli sync-8d4afeec25ea8a192358fae2f8e2fc766bdce4ec
# The following patterns were generated by expo-cli

# Learn more https://docs.github.com/en/get-started/getting-started-with-git/ignoring-files

# dependencies
node_modules/

# Expo
.expo/
dist/
web-build/

# Native
*.orig.*
*.jks
*.p8
*.p12
*.key
*.mobileprovision

# Metro
.metro-health-check*

# debug
npm-debug.*
yarn-debug.*
yarn-error.*

# macOS
.DS_Store
*.pem

# local env files
.env*.local

# typescript
*.tsbuildinfo

expo-env.d.ts
# @end expo-cli
30 changes: 30 additions & 0 deletions GoogleService-Info.plist
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>API_KEY</key>
<string>AIzaSyC-9wDAC1_KiINK-qldwnCeHUw62laPch4</string>
<key>GCM_SENDER_ID</key>
<string>699328756162</string>
<key>PLIST_VERSION</key>
<string>1</string>
<key>BUNDLE_ID</key>
<string>com.thatninjaguyspeaks.Waiter</string>
<key>PROJECT_ID</key>
<string>waiter-dev-ca07d</string>
<key>STORAGE_BUCKET</key>
<string>waiter-dev-ca07d.appspot.com</string>
<key>IS_ADS_ENABLED</key>
<false></false>
<key>IS_ANALYTICS_ENABLED</key>
<false></false>
<key>IS_APPINVITE_ENABLED</key>
<true></true>
<key>IS_GCM_ENABLED</key>
<true></true>
<key>IS_SIGNIN_ENABLED</key>
<true></true>
<key>GOOGLE_APP_ID</key>
<string>1:699328756162:ios:3b5bd9d1a10e2981d23e5b</string>
</dict>
</plist>
8 changes: 8 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@ This project is a comprehensive React Native application for managing a restaura
```

4. **Install EAS CLI:**

```sh
npm install -g eas-cli
```
Expand Down Expand Up @@ -126,6 +127,13 @@ ngrok http 8081
};
```

## Generating native folders and running the gradle build locally

- npx expo prebuild - Not working for ios as ios is improperly configured. But running it, still does the work for android.
- npx expo install expo-dev-client
- eas build --platform android --local
- npx expo run:android

## Contributing

```sh
Expand Down
27 changes: 27 additions & 0 deletions android-manifest.plugin.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
const { withAndroidManifest } = require("@expo/config-plugins");

module.exports = function androidManifestPlugin(config) {
return withAndroidManifest(config, async (config) => {
const androidManifest = config.modResults.manifest;

// Add tools namespace if not present
if (!androidManifest.$["xmlns:tools"]) {
androidManifest.$["xmlns:tools"] = "http://schemas.android.com/tools";
}

// Find and modify the meta-data element
const application = androidManifest.application;
if (application && application[0] && application[0]["meta-data"]) {
application[0]["meta-data"].forEach((metaData) => {
if (
metaData.$["android:name"] ===
"com.google.firebase.messaging.default_notification_color"
) {
metaData.$["tools:replace"] = "android:resource";
}
});
}

return config;
});
};
59 changes: 53 additions & 6 deletions app.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,34 +17,81 @@
},
"assetBundlePatterns": ["**/*"],
"ios": {
"buildNumber": "1.0.0",
"supportsTablet": true,
"bundleIdentifier": "com.thatninjaguyspeaks.Waiter",
"infoPlist": {
"UIFileSharingEnabled": true,
"LSSupportsOpeningDocumentsInPlace": true
}
"LSSupportsOpeningDocumentsInPlace": true,
"UIBackgroundModes": ["remote-notification"],
"NSCameraUsageDescription": "This app uses the camera to scan QR codes.",
"NSPhotoLibraryUsageDescription": "This app requires access to the photo library to upload images.",
"NSMicrophoneUsageDescription": "This app uses the microphone for voice commands."
},
"googleServicesFile": "./GoogleService-Info.plist"
},
"android": {
"versionCode": 1,
"adaptiveIcon": {
"foregroundImage": "./assets/images/icon.png",
"backgroundColor": "#ffffff"
},
"googleServicesFile": "./google-services.json",
"package": "com.thatninjaguyspeaks.Waiter",
"permissions": [
"INTERNET",
"WRITE_EXTERNAL_STORAGE",
"READ_EXTERNAL_STORAGE",
"RECEIVE_BOOT_COMPLETED",
"VIBRATE",
"WAKE_LOCK",
"RECEIVE_BOOT_COMPLETED",
"NOTIFICATIONS"
"POST_NOTIFICATIONS"
]
},
"web": {
"bundler": "metro",
"output": "static",
"favicon": "./assets/images/icon.png"
"favicon": "./assets/images/icon.png",
"name": "Waiter",
"shortName": "Waiter",
"description": "A CRM for managing your restaurant",
"build": {
"babel": {
"include": ["@firebase/messaging"]
}
}
},
"plugins": ["expo-router"],
"plugins": [
"./android-manifest.plugin.js",
"expo-router",
"@react-native-firebase/app",
"@react-native-firebase/auth",
[
"@react-native-firebase/messaging",
{
"auto-initialization": true,
"messaging_android_notification_color": "#FFFFFF"
}
],
[
"expo-notifications",
{
"icon": "./assets/images/icon.png",
"color": "#ffffff"
}
],
[
"expo-build-properties",
{
"android": {
"usesCleartextTraffic": true
},
"ios": {
"useFrameworks": "static"
}
}
]
],
"experiments": {
"typedRoutes": true
},
Expand Down
2 changes: 0 additions & 2 deletions app/_layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ import { useEffect } from "react";
import "react-native-reanimated";

import { useColorScheme } from "@/hooks/useColorScheme";
import NotificationComponent from "@/components/Notifications/Notification";
import { AuthProvider } from "@/components/Authentication/AuthProvider";

// Prevent the splash screen from auto-hiding before asset loading is complete.
Expand Down Expand Up @@ -46,7 +45,6 @@ export default function RootLayout() {
/>
</Stack>
</AuthProvider>
<NotificationComponent />
</ThemeProvider>
);
}
2 changes: 1 addition & 1 deletion app/approve.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import React from "react";
import ApproveSignUpRequestsScreen from "@/components/Authentication/ApproveSignUpRequestsScreen";
import ApproveSignUpRequestsScreen from "@/screens/ApproveSignUpRequestsScreen/ApproveSignUpRequestsScreen";

export default function ApproveSignupRequests() {
return <ApproveSignUpRequestsScreen />;
Expand Down
Loading
Loading