Posts
Unable to upload Crashlytics dSYM file during build phase of a flutter project due to script error
Recently I added Crashlytics into my project on Oct 25, 2022. I encountered this issue and spent a while to fix it. Today I had to figure out how to do it again, and spent a while. I hated to do that again, so here is this article.
The key message is the first one below. It is quite misleading and lead me to wrong direction to change DEBUG_INFORMATION_FORMAT.
Posts
Install release version of mobile application into iOS without testflight
Last three days, I found an issue can only be reproduced in realease mode.The beta testing cycle via testflight takes too long and it definitely is not the option. I debugged my application in iOS before. One thing popped up in my mind whether I can put release mode of my application into iOS using the debug tool of vs code.
I changed my launch.json as below in my project and debug my application.
Posts
Learning Microsoft azure or google cloud
Today when I leant SRE course from cloudskillsboost, the first course is google cloud foundation. SRE is great. cloudskillsboost should be best place to learn SRE as it is originated there.
Posts
SDUI, odoo, metadata driven ui, active data dictionary, data driven ui
Today I re-read Technology Radar Volume 26, SDUI got my attention. In the past, I was very interested in ERP systems, and studied several open source ERP systems such as openerp(now odoo), ofbiz and adempiere. SDUI is quite similar to technologies used in those open sourced ERP systems.
technology
data source
ui complex
SDUI
server end logic decides/graphQL
odoo
Posts
debug flutter iOS application in MacOS
iPhone Enable developer mode:
Setting -→ PPrivacy & Security -→ Developer Mode
IDE Android Studio It is quite straight forward in Android Studio.
Install flutter plugin and restart Android studio
VSCode select the Run and Debug icon in the Activity Bar
Select "Dart & Flutter" in "RUN AND DEBUG" dropdown list Edit flutter iphone setting Change launch.
Posts
Unit test and widget test in flutter
It is quite easy to refactor code using IDEs, however it will be a different story considing to refactor to testable code.
Concerns The refactor functionality in IDE is based on rigor theories and algorithm to make sure the refactors don’t change the behaviours of programs and get it better organized. One of the theories, can be found here
Target Refactor code to testable codes following best practices.
Posts
How to resolve podfile dependency issues of google_mobile_ads in flutter
There are 27 issues with podfile dependency issues of google_mobile_ads in its repository googleads-mobile-flutter at github Here you can find those issues. My team encountered this issue in the past weeks. Today I had the issue again. To save my time in future, I kept my approach here this time.
Use the following search keywords in cs.github.com
path:pubspec.yaml google_mobile_ads firebase_analytics
locate a good candidate with appropriate version of combinations of the following components.
Posts
conditional compiling in flutter project
In the last week, I intermittently worked on how to compile a flutter project conditionally like the way c/c++ in busy daily work schedules. I knew that flavor is the way to go, however there are still serveral issues opened to explore to make it better or to understand the rationale behind the scene.
Dependency Injections using get_it and injectable: Tree Shaking Capability
Pack only neccessary components into the mobile app:
Posts
Binary Search
Serveral months ago, I practiced serveral binary leetcode questions, and I was confused about the following several things: I didn’t pay much attentions to it then, I thought I will get the hang of it after serveral practices. However after serveral practice, I still confused in binary search problems. Latest week an article mentions binary search at https://leetcode.wang/. Little searching, I found more information about this such as lower bound, upper bound, equal-range, open/close range, middle point etc.
Posts
Shift-lefts in kubernetes with datree
Shift-left is a things nowadays. Recently I read an articles about that beyond testing and security. Today I gave it a try using datree and found that there are still a lot of places to improve in one of my clusters. It is not just a small number. There maybe are many new concepts, configurations and best practicies behind the numbers.
kubectl datree test > test.log rg -n ❌ test.