How to integrate 3rd party Cordova plug-in within IBM MFP (Worklight) Hybrid App : Please assist us by sharing your experience to integrate 3rd party Cordova plug-in within IBM MFP (Worklight) Hybrid App. So far we tried 3 integration options as follows. 
**IBM MFP version : v 7.1.x
Cordova Plug-in version : 6.3.1**

1. Via Eclipse (added 3rd party provided Cordova plug-ins within Eclipse based IBM Worklight Studio).
Issue- Resources embedded into AAR files are not reachable from JAR files. Through JAR, tried to invoke class file of Camera activity, which is throwing exception showing R$layout doesn't exist
 [CameraActivity][1]

2. Via command line as normal Cordova
No issue, as a standalone Cordova project the plug-in is working fine

3. Via IBM MFP CLI
Issue- Same as option 1 above

Additional information about the integration is as follows.

Brief background of the Datacap plugin you are using.
The Cordova plug-in(s) are used to integrate Hybrid mobile application which is developed using IBM WorkLight(MFP), with IBM Datacap's OCR (optical character recognition). 

Is this Cordova plugin created by you incorporating the DataCap functionality or is it provided as part of IBM product or is it third party developed plugin that you are trying to integrate. Any link you can provide about this plugin for further readup.

This plug-in is developed , leveraging IBM DataCap SDK.
Cordova Plug-in version : 6.3.1
**Capture
Signature 
batch.capture(successCallback, errorCallback, pageType, captureConfig)
Capture function can be used to recognize text from a document. Calling this method opens the following activities:
Camera -> ImageEnhance -> RecognitionProgress
On Camera screen users can capture a document. After taking a photo ImageEnhance screen appears where users can modify captured image (Brightness/Contrast, Cropping, Rotate). Saving the edited image a Progress screen appears. When recognition finished Progress screen closes and the proper callback function will be called (success or error).
Arguments
•	pageType: the type of the page. Every capture image must have an unique type. If the method is called twice with the same type, then the previous page will be overwritten.
•	config: a CaptureConfig object (see below).
Callback value
A CaptureResult object (see below).**


Is this issue specific to any OS such as iOS or Android etc
For now we are trying on Android first

Please create a pure Cordova application and add the IBM Datacap Cordova plugin and let us know if you encounter the same issues.
We have followed the steps given in link below.
http://www.ibm.com/support/knowledgecenter/en/SSHS8R_7.1.0/com.ibm.worklight.dev.doc/dev/t_creating_cordova_app_cli.html


  [1]: https://i.stack.imgur.com/b55QZ.jpg