I can’t remember if there is a “coding” community at SLMS.
Anyway, while the SLMS was shut I learn how to make a mobile app. I’ll be back soon to make something out of wood I am sure!
Being a drinking game the mobile app is quite simple idea and seemed like an ideal first project.
However it turned out to be anything but easy!
I made the app in React-Native. I chose this for the ability to use one code source to make apps in both Ios and Android
Enabling in app purchases turned out to be one of the hardest aspects of the project. The first library (Expo in app purchases) I tried doesn’t work so spent a fair bit on time spinning my wheels there.
To validate purchases on Android it has to been done server side. To do this I had to set up a bunch of stuff in the google cloud, work out how to request purchase information from the google api from a Flask app (that i hosted on firebase) and then send the response back to the mobile app.
The whole in app purchase process wasn’t well documented so nearly took as much time as making the rest of the app in its self!
The app is now on the google store (I should probably pre-warn that it is a drinking app and isn’t really aimed at those aiming to have a sophisticated night in .i.e. could contain potentially offensive content to some people):
I will start working on an iphone version but Apple make it quite difficult as it requires Xcode which is only available on MacOs