jbkim / creatable-iot

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Creatable IoT

The purpose of this mobile application is to communicate with the Creatable IoT server (based on Adafruit's cloud solution) which, in turn, controls a hardware device. This app is simply the mobile app frontend to that server.

Technologies used for this project

Dependency Installation

# Make sure you have Node and npm installed (https://nodejs.org/en/)
$ npm install -g ionic # Install the Ionic CLI and toolchain
# Navigate into the root directory for this project
$ npm i # install all node modules for this project

Running the app in development mode

# Make sure you receive config.json from your admin
# Move config.json into this location: src/app/home/config.json
# You need the config.json file in the right location for this app to work
$ ionic serve

Building the app for deployment

I ran into some incompatibility issues with the latest version of Xcode and the Cordova framework. I resolved these issues by forcing the Cordova build system to use the legacy Xcode build system instead of the newest one. This issue is not unique to this app, and can easily be found in the Cordova forums.

$ sudo ionic cordova build ios --prod --release  -- --buildFlag="-UseModernBuildSystem=0"
# Code signing and certificates can be handled in Xcode

Deploying the app for specific users

Archive and distribute the app via Xcode (please refer to the screen shots below)

xcode-1 xcode-2 xcode-3 xcode-4 xcode-5 xcode-6 xcode-7 xcode-8 xcode-9 xcode-10 xcode-11 xcode-12 xcode-13

About


Languages

Language:TypeScript 65.4%Language:HTML 17.8%Language:CSS 12.4%Language:JavaScript 4.4%