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

Help with setup #17

Closed
ritam749 opened this issue Jun 11, 2021 · 13 comments
Closed

Help with setup #17

ritam749 opened this issue Jun 11, 2021 · 13 comments

Comments

@ritam749
Copy link

Hey i am new to Supabase. I love your project and want to improve on it. Could you please provide a very detail doc or video as I could understand it better . The doc or vid should contain stuff like columns adding,add code etc. Overall a comprehensive to setup the spot. PLEASE REPLY AS IT WOULD BE REALLY HELPFULL FOR COLEEGE PROJECT

@dshukertjr
Copy link
Owner

dshukertjr commented Jun 11, 2021

Hi @ritam749 !

I am so glad that you like this app! Yeah, detailed doc of how to get started is definitely something I would have to work on. In the mean while, I have created a video explaining how to get started with it. I hope it helps, but please don't hesitate to let me know if anything is unclear! I hope you ace your college project 🚀🚀🚀

The quality is not great, because I am using the free version of loom, but I hope it's good enough!
https://www.loom.com/share/60e23d1fb61b443eb10743bc71877471

@ritam749
Copy link
Author

Than You Very Much!

@dshukertjr
Copy link
Owner

@ritam749
I had totally forgotten about google map API keys and Firebase.

You can change the google map's API key on Android here and iOS here.

Talking about Firebase, this project only uses Firebase for analytics at this point, so having to configure the correct firebase project is not necessary for running the app, but if you want to hook up your own Firebase project, you should be able to do so by replacing this file for iOS and this file for Android.

Changing those two files should be good enough to run it locally. This app is using flavors, and the description above is how to change firebase project connected to the development flavor. You can read more about flavors here, but if you want to change the production flavor as well, you will need to swap this file for iOS and this file for Android.

@ritam749
Copy link
Author

Hey just just another question which api in google map console should i use. There are many such as geolocation, maps sdk ,roads api etc.

@dshukertjr
Copy link
Owner

@ritam749
I am using the following APIs!
Screen Shot 2021-06-13 at 14 03 11

@ritam749
Copy link
Author

@dshukertjr
sorry for troubling you again, I just want to know if you know can help me with me some super base flutter resources to get started. Such as videos on YouTube or website etc. Actually I wanted to create a logout button but could not find many resources to help. It would be helpful if you could tell me some resources which helped you so I can improve upon the project

@dshukertjr
Copy link
Owner

Hey @ritam749 !

Great point. While there are some of videos and articles out there that talk about using Supabase inside a Flutter project, I like to stick to the original source, that is the official Supabase documentation that you can find here. While this documentation only covers the JavaScript SDK of Supabase, the syntax for everything in it is very similar in Dart SDK as well, so you will most likely be able to guess how to write it in Dart.

If you get stuck with anything, you can always reach out to me or to the Supabase community!

@ritam749
Copy link
Author

@dshukertjr
I am really sorry for troubling you again and again. Some how when I am changing the production bundle id(which you have written above), and changing the firebase project and google maps api for both development and production flavor, I get a million errors. It's so big I can't even paste the whole thing in GitHub . It would be helpful if you could make a video or md file to help out. Showing how to do the above things from the start such as google map api in cloud developer platform and firebase from console up to configuring them in the project. Actually I don't use flavors much that's why it is getting confusing. Sorry for troubling you again and again. Actually I want to ace the college project, and find your project as the perfect base to improve upon to impress them.

@dshukertjr
Copy link
Owner

@ritam749
Sure, I can make a video! I am a bit busy today, so it might be tomorrow, but would that be okay?

Also, is this for Android only, or do you want to do iOS as well? I strongly recommend to sticking to Android only as iOS tend to have so much errors in general with Flutter and Firebase. In addition to that, which version of Flutter are you using on your computer?

Actually I don't use flavors much that's why it is getting confusing.

Yeah, this is normal. Flavors are confusing and only necessary when you are building multiple environments. I get confused a lot as well lol

@ritam749
Copy link
Author

Yes! tomorrow is okay! Thank you again.

My OS is windows so I would want it for android only. My flutter version is:
Flutter 2.2.2 • channel stable • https://github.com/flutter/flutter.git Framework • revision d79295af24 (3 days ago) • 2021-06-11 08:56:01 -0700 Engine • revision 91c9fc8fe0 Tools • Dart 2.13.3

@dshukertjr
Copy link
Owner

I am so sorry for the delay @ritam749 !

Here are the videos explaining how to hook up your own firebase project and google map key for Spot. I am using a free version of loom (video capturing tool), which allows 5 min videos at max, so I had to break it into 3 videos, but hopefully this helps you! Let me know if you still see any errors or if I am missing anything.

https://www.loom.com/share/c14a9389a8a04829b618331a3ad4e100
https://www.loom.com/share/ede5d7d979a74aa59b9ccec65bdf2a92
https://www.loom.com/share/f9546c54e74441e693a72ec78d9b1db7

@ritam749
Copy link
Author

Thank you!

@dshukertjr
Copy link
Owner

@ritam749 No problem! I'm going to close this issue, but please feel free to reopen it any time you need help!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants