Goal
The goal of this guide is to show how MobileSDKv3 can be integrated and used at apps built with Cordova/PhoneGap/Ionic framework. This guides only work for MobileSDKv3, not for version v2 or older of the MobileSDK. If you are interested in integrating CameraManager MobileSDK into you mobile apps its required to support MobileSDKv3.
This guide assumes that the reader has basic knowledge of Cordova/PhoneGap/Ionic frameworks and familiar with their building process.
Apache Cordova is an open-source mobile development framework using HTML, CSS, JavaScript. Adobe PhoneGap framework is an open source distribution of Apache Cordova. Ionic is a complete open-source SDK for hybrid mobile app development build on top of Apache Cordova. The CameraManager MobileSDK is a native component. This guides explains how to incorporate the native components into the Cordova framework.
Building process is very similar for Cordova/PhoneGap/Ionic frameworks therefore below you can find instructions for MobileSDK plugin integration into Cordova project.
Follow same steps to integrate MobileSDK plugin into PhoneGap/Ionic projects.
To use sample app perform all the steps above for your target platform.
Sample app implements very basic JS-to-native-code and vice-versa interactions.
Sample app does not contain access token retrieving logic.
For quick iOS or Android applications test hardcode access token retrieved by you at iOSMobileSDKv3.m or CMMobileSdkPlugin.java respectively and set valid camera id at index.js file at setupStreamerButton function at CMMobileSDK.checkStreamer() method invocation (method takes two parameters: camera id and streaming frame coordinates).
Feel free to improve and extend sample app for your needs.
Cordova plugin
Version |
Download |
---|---|
1.0.1 | cordova-plugin-v101.zip |
1.0.2 | cordova-plugin-v102.zip |
1.0.3 | cordova-plugin-v103.zip |
1.0.4 | cordova-plugin-v104.zip |
Version |
Download |
---|---|
1.0.1 | cordova-sample-app-v101.zip |
v1.0.4
v1.0.3
v1.0.2
v1.0.1
v1.0.0