r/FlutterDev • • Aug 24 '20

Discussion Deciding to use Flutter? Read this first.

First of all I hope everyone is safe and sound during these hard times, but you know what? with all this extra time in my hands I went a head and started working on my personal Flutter Project. -side note, I first worked on Flutter about a year ago but stopped using it because 1. It was not as stable as it is now, and 2. I wanted to make an App for both iOS and Android, you can't do so if you don't own an Apple Computer(any Mac will do)-

As it was a personal project I went a head and started working and designing something I am into, which in this case is fitness. After about two months into designing the Fitness App, I went to a local gym I enjoy working out in, and casually proposed that I can make the fitness app an exclusive for the member of this gym. Most importantly, yes, we agreed on me getting payed monthly to maintain and add features to the App, which is something a lot of devs don't like to discuss on public forums, since pay varies so much depending on where you live. As an -amateur- Flutter Dev, it was pretty simple stitching everything you need to make a decent looking app for BOTH iOS and Android, though in all honesty you will have to learn to work a round a few bugs for publishing to iOS.

Long-story short, I was finally able to publish my first Beta testing on TestFlight (is an App Beta tester for iOS devices) yesterday and the experience was wonderful. Knowing I can deliver a decent App with decent functionality in BOTH iOS and Android, can you imagine the hassle I would've had to go thought if I wanted to do each app individually? Nightmare.

I am very thankful for the team that is making Flutter possible since it's such an easy platform to use for making Apps, I genuinely think Flutter will be the "next big thing"in coding a few years from now since it's so easy to work on. If I am not mistaking they are working on Web, Windows and MacOS apps as well.

The takeaway: Flutter is an easy-to-use, framework, you WILL experience a lot of errors, compatibility issues, and architecture problems. But, think about this, I was able to make a fully functional Fitness App (sign-in page, workouts page, trainers page, weight tracker, member ID in dashboard, and an extra page to put info such as class and gym hours).

Just one person,
Coding part time,
No big team,
Only 3 years of coding experience,
With only YouTube videos and the small community, (MTechViral is a big help, thanks man)

I'd like to hear your thoughts on this too.

For those of you asking about the app:

https://youtu.be/6oCudpcAcLU

201 Upvotes

50 comments sorted by

26

u/[deleted] Aug 24 '20

This is very inspirational. I should start working on this again.

2

u/SinValentino Aug 24 '20

Go for it! Share your work too so you inspire others

2

u/SinValentino Aug 30 '20

this video might help you out: https://youtu.be/57-LNxHxDv8

5

u/Amano2 Aug 24 '20

indeed!

11

u/SuccessLuthor Aug 24 '20

Can you please tell me how long it took after the 2 months of designing to make the app ?

Also did you design the app yourself ? What tools do you recommend for designing apps,

And which app did you use for designing, Adobe XD ?

Can I also please get the App link on Play store ? I really wanna check out your App.

You really inspired me,

Please reply, I wanna know more !

2

u/SinValentino Aug 24 '20

I actually made a -pretty amateur- YouTube video explaining more or less!

To answer your question, I personally used a notebook, you could use a Adobe XD or any program on the internet, but my preference is a notebook since I can scratch/take notes/ and do a bunch of stuff. If you want you can watch my Devlog to see more or less my experience.

https://youtu.be/6oCudpcAcLU

Thanks for the support!

0

u/mikeddg Aug 24 '20

He said he is working with a team. Things get easier!

6

u/SinValentino Aug 24 '20

My UX consultant team was my wife and the gym owner haha

2

u/kontumese Aug 24 '20

He work on his own.

5

u/mikeddg Aug 24 '20

Oh! True, I missread that! My apologies

5

u/fabiancrx Aug 24 '20

I don't consider compatibility issues to be a problem that will take you more than 30 minutes in your whole project. I developed using ionic , believe me flutter has no compatibility issues compared to it(don't know RN and Xamarin standpoint on this). Architecture and the big question of state management in the other hand...

7

u/gmatuella Aug 24 '20 edited Aug 24 '20

I have been working in the mobile industry for 6 years and what I can say is: ReactNative was a incredibly better tool/ecosystem, when compared to Xamarin/Cordova, just like Flutter seems an analogous comparison but in relation to ReactNative itself.

I have helped deliver at least 2 production apps in each of these platforms and, even though I’m not taking into account the constant studying/improving as a developer, it seems the barrier to develop an end to end hybrid application is almost none.

2

u/SinValentino Aug 24 '20

I know right! A couple of years ago cross-platform coding was not very common and you'd have to dig deep to find good repos, tutorials and docs

2

u/SinValentino Aug 24 '20

I completely agree, personally my problem rose when I started adding a LOT of imports and dependencies, which can get tricky overtime since you have you check up on each one every couple of weeks to see if they updated something that might make your app crash.

4

u/JoeJoe_Nguyen Aug 24 '20

Some focus so much on goal while forget the most valueable part is the journey. You don't know what you could do without at least try one time.

3

u/SinValentino Aug 24 '20

10000% agree. I have refreshed a lot of my coding skills, as well as had a good project to keep me distracted from everything that is happening. Though I feel it is my responsibility to stay aware of what is happening in order to be a better. person, sometimes the influx of information and bad things happening can feel overwhelming.

4

u/cmprogrammers Aug 24 '20

What about the backend side of the app? What framework/language are you using?

2

u/SinValentino Aug 24 '20

Personally I used firebase, it works alright for what I needed.

Currently I am studying Java and learning about managing databases.

3

u/mikeddg Aug 24 '20

You can use flutter packages like Sqflite, Moor, Hive for loval storage and Firebase for cloud storage. Sqflite and Girebase are mantained by the Dart Devs!!

2

u/cmprogrammers Aug 24 '20

Did you use Firebase? Did you find any problem? How was your experience with it?

3

u/mikeddg Aug 24 '20

Well, for example, one of my first projects was a Family Shopping List, so to say, for my family. Since I wanted to use a cloud backend and I decided to use Firebase Firestore.

It is quite easy to implement and you already have the authentication (you can use email, Google, and many others) which you can find tons of Youtube tutorials. I did not have much trouble mantaining the code and updating the app.

However, the other apps I've designed most of them use local storage (pretty simple apps or things for myself).

If I were to choose a local database: Moor, since it is reactive. And for a cloud dabatse: Firestore.

3

u/SinValentino Aug 24 '20

great advice, exactly what I'd recommend

2

u/SinValentino Aug 24 '20

Yes I did use firebase! It's great of you don't intend to scale your app or if you want to make small build for a couple of your friends / co workers, or in my case a local Gym.

4

u/ONE_HYPERIUM Aug 24 '20

Thanks for this, It's encouraging for me as I am in the same situation!

Except few step before because I'm still learning the backend to release the App...

The UI is done, and work flawlessy, but Being a talented designer can make you only focus on the frontend part which can be a problem when you try for the first time the backend.

I'm finally starting to wrap my head around BLoC but man... There's so much state management option...

Can I use Btw BLoC with firebase? I mean I have to right?

2

u/SinValentino Aug 24 '20

You can design it any way you want! I made my own architecture and firebase code. I encourage you to read the firebase docs and watch YouTube videos to help you work on the back-end, I know that was also a big learning curve for me

3

u/A12C4 Aug 24 '20

What were your publishing problems on Apple Store ?

2

u/SinValentino Aug 24 '20

Dependency issues with firebase, they recently updated their classes making mine depreciated and no longer working, as well as getting my developer account approved.

Apple has a pretty complicated process for you to even have an App tester on a physical device. Is has to get approved and the process they have in the documentations is pretty vague

2

u/SinValentino Aug 24 '20

I used a regular textformfield and used a controller to save the numbers as a string. Whenever you need the numbers you can use a cast to change it from a String to an Int. P.s. you can use validator to make sure no one puts any letters

2

u/SinValentino Aug 30 '20

I made a video about this post if you want to check it out!
https://youtu.be/57-LNxHxDv8

2

u/uelsimon Aug 24 '20

I wanna see the app. I kept reading waiting for the big ‘but unfortunately’. So glad there wasn’t any. Sure it’s still not fully smooth process but sounds like all in all it was better than the norm which is exciting

3

u/SinValentino Aug 24 '20

Sure it’s still not fully smooth

I'm still working on it but if you'd like to see the app I made a Devlog about it:

https://youtu.be/6oCudpcAcLU

I hope after I am done with my local gym project I can make a free fitness app for everyone to use. The gym app is a great way to learn and start building on top of it.

2

u/thkp_jon Aug 24 '20

Nice work, thanks for sharing! I agree that frameworks like flutter that allow for cross-platform development really go a long way towards reducing the barrier to entry for app development. There'll probably also be a huge improvement to Android apps because oftentimes, and especially in environments with fewer development resources, Android ends up being somewhat of an afterthought.

3

u/SinValentino Aug 24 '20

Funny thing about this is that, for an iOS app to run w/out crashing, you can spend about a week or so fixing bugs, as apposed to android it’ll run even if you stop coding halfway through a class haha

2

u/Similar-Ad6056 Aug 29 '20

flutter is good architecture

portals such as pub dot dev are very very useful, to experiment with flutter

2

u/SinValentino Aug 30 '20

I very much agree! I recently had trouble with the new firebase updates. Was a bit difficult to update my code through

4

u/jetkingjp Aug 24 '20

I had built an APP with Flutter, it's very qucicklly to development for both IOS/Android, and I very like the "hot reload" feature of it.

But there are still some thing is missed in Flutter, 1. Supports for Android/IOS TV 2. Supports for Windows Desktop , it's will be great if Flutter can really done the supports.

2

u/SinValentino Aug 24 '20

If I am not mistaking they are halfway done with the windows desktop. and I hope so too!

3

u/NaiveRefrigerator2 Aug 24 '20

Is there any skill I need to know before going into flutter? I am currently a freshman majoring in Software Engineering. I know a few language fundamental like Python, Java, JavaScript. Only fundamental not the advance stuff, tho. And I'm actually thinking of learning React too but since React require a little advance JavaScript knowledge that's why I'm kinda want to learn flutter instead.

3

u/SinValentino Aug 24 '20

Definitely won't be a problem, just for woking with backend services you'd need a bit of coding experience, but in your defense, a 30mts YouTube video could teach you the basics of what you need too.

4

u/definitely_robots Aug 24 '20

It is probably worth it to try and see what you think.

3

u/[deleted] Aug 24 '20

Just try it, start with official flutter, dart tutorials and you are free to to go. Try and learn. You can then read about state management techniques.

3

u/[deleted] Aug 24 '20

I made not one but two flutter apps within a few months for our delivery startup (one app for ecommerce side, another to track couriers' locations, and matchmaking tasks) for iOS and Android without owning apple computer.

And I started coding them after learning flutter for about a week. No past experience with flutter. Previously I was coding with React Native which hurt me so much because of dependency hell issues. Even facebook's own dependencies crashed sometimes. Also It had so much limitations about UI design. Using Flutter from React Native was like going to heaven from hell. I'm not saying Flutter does everything perfect, but it does good which is enough for some cases like ours.

And, about publishing to AppStore on Windows machine:

I have used my previous CI/CD experience to build and deliver Flutter apps for both platforms on cloud environment. I also used VMware to run MacOS emulator and fix some iOS related issues. (I know running MacOS VM is against MacOS license, but who cares, I don't wanted to spend extra 1-2k$ which I don't have, f**u Apple (╯°□°)╯︵ ┻━┻ ). I am currently using Microsoft's DevOps tool (AppCenter) to build Flutter app which is created by Google for Apple's AppStore.

3

u/Doroc0 Aug 24 '20 edited Aug 25 '20

Two questions:

1.- What did you do with the state management?

2.- The backend, what did you did?

2

u/bigjoeystud Aug 24 '20

I’m kind of on the same path as you! I started with a existing open source Flutter app and am trying to add some features to it.

Does your app look native on both platforms or just look good on both? Did you have to put a bunch of if’s in your code to do that? That just seems messy, but I seems like the only way.

How did you make a nice looking UI? Are you artistically talented already?

2

u/miltux Aug 24 '20

Is great thanks!!!

2

u/MeerkatArray Aug 24 '20

How did you get around number fields on iOS? I remember having trouble with that when implementing a zip code form on iOS. I also had issues when trying to implement "tap to dismiss keyboard" on iOS

1

u/imthepk Sep 22 '20

Thanks for mentioning. Glad to help

0

u/[deleted] Aug 25 '20

[deleted]

2

u/SinValentino Aug 30 '20

Sounds amazing! being able to develop and deploy your stuff in-house!

I definitely agree with you, flutter does have some features that I found extremely helpful.

And I will definitely check out get_it as well.

By any chance do you have some screenshots to share your app? I think this community would very much like to see your work too.

2

u/[deleted] Aug 24 '20

[removed] — view removed comment

3

u/SinValentino Aug 24 '20

I will address this in my next video coming up in two days, stay tunned