2 posts tagged

android

Housekeeping now includes catching up with React Native updates

Prior to wedding with my lovely wife, I have created a React/Firebase family wish list, so relatives and friends could choose some gifts.

It was the most basic React to-do app that stored items on Firebase, which provided the reactivity to all clients (so in case two people visited the page at the same time, choosing the same gift was quite improbable).

At some point I decided to move adding new items to a mobile app. It was more as an experiment with React Native, rather than a security concern. So another pretty basic to-do list was created. I copied most logic over from web version, and in total created maybe 3 files. Also I only built it for Android. Didn’t really renewing Apple developer license weekly for an app that I barely use most of the time.

...

Fast forward 3 years, and I want to add a couple smaller features, refactor some if-conditions with router, etc.

By this time I have upgraded Android Studio on my machine, along with some of its build tools. I have very surface knowledge of mobile build pipeline and how all of the components interact. Also React Native app creator adds quite an opaque layer on top of it — I never had to configure any of those build scenarios.

So in short I created a new project with react-native CLI and copied old files over.
Thankfully my project is very small and I only had to update a couple of things in the components for it to work.

Together with this I created a Github actions workflow, so I don’t stuck with building this in future.

React Native looks much more unified for both iOS and Android now than 3 years ago, so it’s a plus.

Github Release
 No comments   3 mon   android   family   firebase   mobile   react   react native   tech

Arduino Bluetooth Car Controller

Arduino 4WD Car Kit

My wife has recently presented me an Arduino 4WD Car Kit.

The kit is great, produced by keyestudio, and based on l298n motor driver.

It took me a while to assemble and make it work, but I got so much fun in the process.

The app

The kit producer provides an Android app, but it’s quite buggy, so I looked for alternatives.

I found a simple app code by Boldi Zopcsak and tweaked a little bit tot include the MAC address input field which was hard-coded before.

Also the app now tries to connect to Bluetooth device on start.

What I’m especially happy is that I set up the Github Action to build the app on every commit. It also stores the app builds, very handy.

Check out Repo on Github.

Builds: Android CI

 No comments   11 mon   android   arduino   bluetooth   DIY   projects