This example app will demonstrate the usage of the DocCheck App Login SDK for iOS and Android through Ionic and Cordova.
Change the login Id either within the home.page.html
...
<ion-input value="2000000016698" #loginIdInput></ion-input>
...
or within the app in the displayed input field.
Make sure that the apps bundle/application identifier matches the bundle/application identifier used during configuration of your credentials for the DocCheck App Login.
Install all dependencies for the Ionic project through the package manager NPM
npm install
Add the platform of your choice through the ionic or cordova command line tools (approach can vary based on the command line setup)
npx ionic cordova platform add ios # will add the ios platform to the project
npx ionic cordova platform add android # will add the android platform to the project
Build the Ionic project and copy the relevant files to the platform folders
npx ionic cordova preprare ios # will add the files to the ios platform
npx ionic cordova preprare android # will add the files to the android platform
Open the platform specific code editor and build the project for the platform.
xed platform/ios # will use the xcode command line tools to open the project
open platforms/ios/App\ Login\ Test.xcworkspace # manually opens the project in case xcode command line tools are not available
Use Android Studio to open and build the project.