Quickstart w/ Gluestack
Let’s get you started in 5 minutes with Gluestack.
Super Fast Resources for Shipping:
For Email SMTP Service:
BrevoFirst, you need to create your Supabase project.
Open your terminal and run the following command:
Don’t start before you finish the Supabase setup.
Warning: Google Sign In, In App Purchase, Admob, and some features will not work.
After you develop your app, you should create a development build or eas build for these features.
But we are not done yet. We need to set up the app.json file.
First open your app.json
file and find these lines:
Find an app name for yourself. For example: Ship Mobile Fast
.
Then create a slug for your app. For example: ship-mobile-fast
.
Then create a bundle identifier for your app. For example: com.shipmobilefast.app
.
I am using both same like: com.shipmobilefast.app
.
Then replace the values with your own.
Result should look like this:
I am using shipmobilefast.com
as my domain. If you don’t have one, you can delete the associatedDomains
and data
sections.
Supabase
Now we need to set up Supabase.
Now we need to set up the environment variables one by one. Start with Supabase.
Copy the URL
and ANON KEY
and paste them into the .env
file.
Warning 1: Don’t forget to check .env
file in the .gitignore
file.
Now go to the Authentication section and add your app id: like: com.shipmobilefast.app
.
Now open your codebase and let’s start.
- Open your terminal and run the following command:
Get started with Expo Go.
Or you can create a development build with EAS & prebuild.
Open your codebase and run the following command: (step 10-11-12 for development build)
Add this code into eas.json
file:
Now run the following command again:
or
Now your app is ready to be built. 🎉
Troubleshooting
If you don’t set your Supabase URL and ANON KEY in the .env
file, your app will crash.
Watchman Error
If you are using macOS, you can also install watchman
using Homebrew.
Was this page helpful?