My favorite part comes at 7:23 😂 Also if you need to deploy an app first make sure to check these: Deploy Play Store: ua-cam.com/video/NFTaWkUtD34/v-deo.html Deploy App Store: ua-cam.com/video/NT-W5sAarco/v-deo.html
Oh trust me. The struggle never goes away, but you do get faster at solving easy problems, but then sometimes get hit with a hard problem that takes a while. But the most important thing to remember is that given enough time you can solve any problem
Love your videos! 1 question: Do you have any guidelines on how to write proper error handling for functions? Because right now everyone in the team just write try-catch for every single functions in both viewmodels and services. Is this good practice? Would love to hear your input.
So my personal opinion is that every Future should be wrapped in a try catch, and I think that is the best way to do it. As far as everything that is a bit overkill. And I think you just have to stay conscious of what part of the app you are in. But you should probably check where you have the necessary data to display before entering a view. This is a really good question. I think I need to do a little research to give you a more educated answer! But for myself I mostly check the futures and then I would just have unit/widget tests to cover the viewmodels
Hi buddy, try-catch is a good approach for error handling, even though, for functions that returns future, it's recommended to use: myFunc().then(v)=>doSomthingWith(v)).catchError(e). Check this on Dart Docs: dart.dev/guides/libraries/futures-error-handling
I don't have a Mac. I published my first Google Play app manually (following your great tutorial, by the way!) and want to publish it to App Store as well. Can I use this? You mentioned you need to have a published app but how can I do so without a mac?
If I remember correctly, I think you don’t need to have “published” an app. You just need to have an app created in the console. I would double check on that though
When we make a code base for iOS(Swift or Objective C), will flutter generate the swift code for iOS or Objective C code or both? Can we specify whether like to have Swift code? If not, what kind of code will be generated for iOS and Android, please? Any help is appreciated.
Hey Tadas, how has your experience been with Code Magic? I have done a lot of setup work, managing 4 apps on it now and when it works its amazing, but finding it hard to maintain and fix any errors, it's so hard o troubleshoot. Are there any alternatives?
I think that’s just a pain with CICD in general, you have to wait until it goes through the process before you find something out. If you are talking about errors in the code like linting or building I have some GitHub actions that run to check all those things before it goes to Codemagic. But for deployment errors I think it’s something you’ll have to deal with everywhere
I've made a flutter application but for android and have never used codemagic. I now need codemagic since one of my college courses requires an ios app. If I build my ios using code magic can I view it on an emulator or how does that work?
Michael Amir because. Now it is set up and i can send out updates to both app stores with a simple push to master! You only have to get it running once and then you’re done! (Also it was my first time doing CICD. I’m sure others have an easier time)
My favorite part comes at 7:23 😂
Also if you need to deploy an app first make sure to check these:
Deploy Play Store: ua-cam.com/video/NFTaWkUtD34/v-deo.html
Deploy App Store: ua-cam.com/video/NT-W5sAarco/v-deo.html
As a junior developer, seeing developers who have more experience having some hard times in their development gives me motivation to keep going .
Oh trust me. The struggle never goes away, but you do get faster at solving easy problems, but then sometimes get hit with a hard problem that takes a while. But the most important thing to remember is that given enough time you can solve any problem
Put on dark theme, because we are developers; hilarious 😂😂
haha you gotta use dark theme always :)
@@tadaspetra I do, I actually create my most of the flutter apps focused on dark theme :D
I published my first flutter android app at google play store based in your videos. Thank you a lot.
Luis Barqueira wow that’s awesome! What’s the app? I don’t have an android but I want to at least see the listing 😊
Luis Barqueira that’s awesome! Great article too! Hopefully it’s the first of many apps published 😊
@@lbarq nice article ,btw you spelled achievement wrong on the playstore. I hope to publish my first app too
@@MrArrex Thanks for alerting me. I`m glad you liked it.
Love your videos!
1 question:
Do you have any guidelines on how to write proper error handling for functions?
Because right now everyone in the team just write try-catch for every single functions in both viewmodels and services.
Is this good practice?
Would love to hear your input.
So my personal opinion is that every Future should be wrapped in a try catch, and I think that is the best way to do it. As far as everything that is a bit overkill. And I think you just have to stay conscious of what part of the app you are in. But you should probably check where you have the necessary data to display before entering a view.
This is a really good question. I think I need to do a little research to give you a more educated answer! But for myself I mostly check the futures and then I would just have unit/widget tests to cover the viewmodels
Hi buddy, try-catch is a good approach for error handling, even though, for functions that returns future, it's recommended to use:
myFunc().then(v)=>doSomthingWith(v)).catchError(e).
Check this on Dart Docs:
dart.dev/guides/libraries/futures-error-handling
Nice video!
Code Magic is COOL
I should incorporate for the benefit, in the long run, Sensei!
Dummy Dummy definitely! You only need to set it up once and you’re golden!
I like your videos, as they're straight forward, keep doing the good work to the community bro.
Thank you so much 😊
Great job!
Mitch Koko thanks man!
Loved this video just for the humour 😂😂😂 Cant we all relate? We cant all play games all day right 🤠😂
First thing: use dark theme -> instant like
Great Job sir
Mg Kaung thank you
Great explanation ! Very usefull! Keep rocking!
Thanks a lot
Very nice, thanks!
Anaximandro Andrade thanks for watching
I don't have a Mac. I published my first Google Play app manually (following your great tutorial, by the way!) and want to publish it to App Store as well. Can I use this? You mentioned you need to have a published app but how can I do so without a mac?
If I remember correctly, I think you don’t need to have “published” an app. You just need to have an app created in the console. I would double check on that though
@@tadaspetra Awesome, thanks a lot man and again great job on the fantastic tutorials!
0:36. You are a programmer. you don't use light theme.
😂😂😂
Dummy Dummy haha if I see someone coding in light theme it makes me cringe
@@tadaspetra
💯
I'm da bot, sensei!
@@tadaspetra So funny!! hahaha
When we make a code base for iOS(Swift or Objective C), will flutter generate the swift code for iOS or Objective C code or both? Can we specify whether like to have Swift code? If not, what kind of code will be generated for iOS and Android, please? Any help is appreciated.
Dark theme
Mitzuko Davis you're not a real developer if you don't use dark theme 😂
Hi! Thanks for your content!
One question is for iOS, how do the build number and version gets updated?
You can update it in the pubspec.yaml file. But check the code magic documentation, there is a way to automate all that
@@tadaspetra thanks! 🍾✌🏻Will look into it.
Amen
Thanks so much lol
Great video! Can anyone help me, why there's no setting icon on my codemagic? Thanks
That's really weird. But you can reach out to their customer service
@@tadaspetra thanks!
Hey Tadas, how has your experience been with Code Magic? I have done a lot of setup work, managing 4 apps on it now and when it works its amazing, but finding it hard to maintain and fix any errors, it's so hard o troubleshoot. Are there any alternatives?
I think that’s just a pain with CICD in general, you have to wait until it goes through the process before you find something out. If you are talking about errors in the code like linting or building I have some GitHub actions that run to check all those things before it goes to Codemagic. But for deployment errors I think it’s something you’ll have to deal with everywhere
Thx
Hope it helps!! 😊
How works with flavors in codemagic?
can I setup firebase fcm through codemagic ? or do I need a mac to run xcode at some point or any reason?
is this safe to provide app manager role key to codemagic?
I've made a flutter application but for android and have never used codemagic. I now need codemagic since one of my college courses requires an ios app. If I build my ios using code magic can I view it on an emulator or how does that work?
If you have an iOS emulator available then it should be able to run the app. You can put it into test flight and then try it out from there
so, i could test an ios app on a real device without ever using a mac?
Yes! And codemagic also allows for you to use a remote Mac for debugging!
@@tadaspetra so, you need a mac at some point during the development/testing, or using a mac is optional?
nuniezjorge if you use codemagic you should need it! They have remote machines you can use to log in and check why your build failed 😊
If this takes such a long time, then why would I use it?! Doing things manually would be faster.
Michael Amir because. Now it is set up and i can send out updates to both app stores with a simple push to master! You only have to get it running once and then you’re done! (Also it was my first time doing CICD. I’m sure others have an easier time)
Copy the plist file from where? Kkk
runner.app is very large you know why?
Not sure, but you can take a look at this flutter.dev/docs/perf/app-size