Wednesday, November 18, 2020

I change IDE Android Studio to Visual Code on Mac Big Sur

 
Visual Code on Mac Big Sur


It's been a month since I used Visual Code as new editor to create or develop flutter apps. I really like it because of the lightweight that I feel mostly. I haven't had a problem so far, but some little issue where I can't add widget using shortcut key like Android Studio does using alt+enter. So I need to do it manually with clicking hint lamp symbol then I choose adding parent widget or stream builder or removing it from parent tree. It's a little bit annoying but for me the performence is more important. I haven't searched the way Android did but later maybe.

And the second thing is about Mac Big Sur that I've installed on my macbook air '17. Before I run Mac OS Catalina of course. There's one headache issue about NVRM SSD. It's when my mac will restart randomly when doing heavy things like compiling or opening many tab browser. It's so weird I tried to reinstall my mac many times. And the result is the same, I think I need to replace the SSD with old one because Now the SSD is updated 256GB and different type I forget the name. But the old one that this macbook own is Samsung SSD. but It's already solved with removing RAM and inserting again.

BTW I still installed Android Studio because I need it for Android testing purpose and emulator. What I feel when upgrading Mac Big Sur is the compile time a little bit more fast. I don't install games or editor video or photo. So the size space only for development and it doesn't take much space so far. 

Tuesday, October 20, 2020

How I handle admob on iOS 14 about IDFA permission


Ok, so first of all we know that iOS 14 is available on iPhone. Starting from iPhone 6s that's my iPhone to test my app until latest iPhone 12. It's quite fun to see a new update that brings something about IDFA. What's IDFA actually? The source I got from the internet said IDFA is Identifier for Advertisers. So basically The IDFA is used for tracking and identifying a user (without revealing personal information).

It's used by Admob to show ads that's relevant to users. So Apple needs permission from iPhone users to allow third party to track their activity. What if iPhone users doesn't allow it maybe third party cannot show ads and It's bad for us who get paid from advertasing. Maybe in the future there'll be a pop up message in the apps that need to active IDFA before using the app. It's something like on website right now. We can't see the content if we don't disable our adblock plugin.

Fortunately We're lucky enough because Apple will delay Its IDFA changes on iOS 14 until early next year. So we have time to prepare implementation in our App. But actually it's not so hard to implement it. You just need to show the permission before showing ads that I'll explain later. I've done it in my native iOS app and cross platform app that use flutter.

Saturday, September 5, 2020

My Two Apps Got Submission Rejected from Play Store

 


Aug 31, 2020 that's the date when I decided to add my screenshots for 7-inch and 10-inch tablet and video preview of my app for all my apps on Play Store. I have 8 apps on Play Store right now. My most download apps is counting workout. It has 2k active users. So my first app that I updated to add the screenshots and video is counting workout. It doesn't have any issues. Everything works fine, you can check it now, there's new screenshots for 7-inch 10-inch tablets and video from my youtube channel.

And the second app that I updated is "Catatakan Keuangan - Expenses". After I updated the screenshots and the video, I got email from Play Store that has title "Action Required: Your app is not compliant with Google Play Policies (Catatan Keuangan - Expenses)". I was shocked what I have done to violate Google Play Policies. Then I remembered that I only changed "Full Description". It's just a little text that I edited.

I was thinking that maybe it's because of the words that break the Google Play Policies. But I don't think so, I'm sure it's because of bot that wrongly checked my app. And the message that I got from email is not clear what should I change. It just says "We identify risk of abuse using various items such as previous violation history, user feedback, and use of popular brands, characters, and other assets.". It's not spesific like what assets that my app breaks.

Thursday, August 20, 2020

Create Landing Page for My App Food Today Using Firebase Hosting


Hello guys, I'm excited this month because my app Food Today now has landing page. The best thing is usually I used to host my website using heroku like kontaku app. Today I'm gonna share how I create my landing page easy way. First you need to go to console firebase. Make sure you have your own project. It's ok for now if you don't have any apps.

Get your own template for landing page. I used Nova Free Theme for my landing page. I found it free and beatiful, so I used it. I don't have much pages, it's only three actually. There are home, privacy policy and term & conditions. And I design my home page as simple as I could. One screenshoot of my app and title text and description. Two images logo to download my app App Store and Google Play.

After that create your own directory for your landing page. Instal firebase CLI then in your command prompt run firebase init choose hosting. There's a folder called Public, that's where you insert your html files. Last thing to do is firebase deploy. Taraaa now you can check in URL given by firebase like this https://food-today-63582.web.app/. For detail explanation you can check here

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.