2 posts tagged

react native

 No comments   2021   google   infosec   links   mobile   muscles   react native

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   2020   android   family   firebase   mobile   react   react native   tech