Saturday, August 1, 2020

App runs fine on debug mode but when releasing on Play Store force close Flutter


It's been almost two weeks, I released my app Food Today on Play Store and App Store and I created my landing page too using firebase hosting foodtoday.ungapps.com. It's quite fun to do everthing with firebase and flutter. It's like creating start up. I still need an idea to improve this app better again. 

I have an expierence where I need to analayze my code that's on Play Store. Because the error only happened when I installed my app on Play Store. Fortunely I can check my app internally through Play Store developer. So I didn't need to release it to play store because It will much time waiting to be reviewed. 

Now I've been waiting my app reviewed, It's almost two days. I think it's my first time waiting my app to be reviewed for almost more than one day. The update that I did is to add ML kit feature to detect food when user is trying to add food photo in discover food. Updated now it's been updated on Play Store. I usually write my blog a few days. So yesterday my app was still reviewed and now it's approved on Play Store. You can check it to know about the feature ML kit on discover food feature.

Friday, July 10, 2020

Finally Release My Own app Food Today on App Store and Play Store



I have an idea to create an app to photo your food and It will save your food photo in grid mode. In every photo there's time where you take the food photo on right bottom. And below all of it there's date to tell that photo is food today. Then you can share it on your social media or you can just simply save the photo. Before saving photo you can edit the photo like flip, rotate and adjustment about the color.

It's all made using flutter. I design by myself like Icon. UI colors that I chose. It's so fun to use flutter because of hot reload that helped a lot. I'm not best at design but I can easily change color if it's not ok. I used many packages that I learned on the internet. It's almost covering all of I want in this app. 

You know what, I just made this app to release in app store and play store in just three days. It's so fast than I thought. Although the first release is not fully features like know. But I'm glad I can release them so fast so that I don't be afraid to be declined again.

Saturday, June 27, 2020

My first flutter app on Playstore but rejected on AppStore



It's been a month to learn flutter and I really like the idea of designing user interface. No heavy storyboard in Xcode. No more many xml that is on Android Studio. But everything is using dart class. Design and code logic. That's painful for me is bloc pattern that I used. It's good for MVVM pattern I think but I need to create three dart class to handle one screen one bloc. But fortunately It worked on Android and iOS and that's cool.

Okay the app that I created it's called "Helper for Instagram". Basically it helps you to repost, download photo or video and copy caption, hashtag and username and selectable caption. It gives you to "history" to show you what link you have inserted and "save" for favourite post that you want to save. And they will be in app as long as you don't uninstall the app.

For Android the size of the app is 10 MB that I think it's very good because it's native. But for iOS it's 30 MB. It's not bad though. If you're in debug the size will reach almost 100 MB and as I read on the internet it's fine. Debug size certainly is more than Release size. I have ads for my app and app in purchase three of them. I made it to have expierence more, it's usually I only have one in app in purchase. But that's awesome in flutter there's package called "in_app_purchase" and I amazed I can easily add one more.

Monday, June 1, 2020

My Impression about Learning Flutter from scratch




It's a busy month for me to learn new stuff. I'm hungry for knowledge about flutter things haha. I have already learned about android and iOS native long time ago. And it's still awesome to learn. It's been a great long journey though. Now I maybe have learned anything about flutter about two weeks. Learning it from video tutorial is awesome. Don't worry what you learned, it will make your skill more sharp when you learn it everyday. 

First, I confused when to start to learn flutter. That's why I tried to learn directly from flutter documentation. But I need real world example flutter project from case study. That's when I found a good tutorial and easy to understand. It's Flutter course from londonappbrewery. It's free actually because of google. 

But if you need to grasp all of flutter course bootcamp you need to spend 10 bucks. It's very good I think you will learn flutter until Flutter State Management. It's important aspect to create project using flutter. You need to handle state for your apps. It's different from iOS and Android native. If you need to change something directly when your apps is running. You can't make UI changed without using states eventhough your variables changed in console.

Friday, May 15, 2020

Create Button Auth Facebook FBLoginButton Full Width


In my app Dog Master, I have authentication to log in from two platform that are Google and Facebook. Basically I used the login button that is created by Google Firebase and Facebook. These two button are in different width. As you know the google button sign in is easy to be designed in storyboard. But Facebook it's fixed width if we want to make it full width in each edge of screen, it would make space padding.

In this post, I don't talk about how to auth with facebook. But for additional information I used authentication with Firebase auth. It's easy to use if you follow the tutorial given by Firebase documentation. If you have any issue about it maybe I can help you. Just comment below this post.

As you can see above screenshoot image, the facebook login button is basically only the facebook icon and "Continue with Facebook" text. Without blue background behind it. I customized it using UIView and I added tap handler to click FBLoginButton. I created this button on UITableViewCell, so it's basically same with UIViewController.