This repo demonstrates a diverse development combining different language skills from different engineering departments to deliver app features on time by utilizing the best of all a diverse team has to offer without sacrificing or recreating their work.
The resulting app deployment consists of a iOS/Android app, HipPortals
, consuming:
- Swift work done by an iOS team
- Java work done by an Android team
- @capacitor/google-maps work done by a web team by utilizing Portals via @nativescript/ionic-portals
Prerequisites:
- node 16+, npm 7+
- yarn
- nativescript 8.2+
- To use the Google Maps SDK on any platform, API keys associated with an account with billing enabled are required. These can be obtained from the Google Cloud Console. This is required for all three platforms, Android, iOS, and JavaScript. Additional information about obtaining these API keys can be found in the Google Maps documentation for each platform.
- Find/replace
<ios-google-maps-key>
with your own. - Find/replace
<android-google-maps-key>
with your own. - Must be run on an actual physical device for iOS if using Mac M1 (due to Google Maps ommission of arm64 sim binaries)
- Find/replace
<portal-api-key>
with your own, can get on here.
- Install workspace dependencies
yarn
- Build Ionic Portal for use:
// ios:
yarn nx run ionic-map:build:ios
// android:
yarn nx run ionic-map:build:android
- Run NativeScript app:
// ios:
yarn nx run nativescript-hip:ios
// android:
yarn nx run nativescript-hip:android
Development made efficient by Nx workspace.
Technologies used:
Plugins used:
Credits:
Created by Nathan Walker of nStudio for Ioniconf 2022.