Online Tutorials & Training Materials | STechies.com
Register Login
Advertisement

Step to Install Kapsel Plugins in Cordova

|| 1

Step to Install Kapsel Plugins in Cordova
Stechies

1) Open up a command prompt and "cd" to the root directory where SDK 3.0.3 Kapsel plugins are installed, for example:

  • cd C:SAPMobileSDK3KapselSDKplugins (Windows)
  • cd ~/SMP30Dev/SMP303_SDK/KapselSDK/plugins (Mac)

2) Run the following command to add the Kapsel plugins into Cordova/git repository:

git init

3) You can ensure step 2 resolved the issue by two ways:

3.1) Next time you build your Kapsel hybrid application (via AppBuilder or directly via Cordova line-command), you will see the following list and no errors any longer:

[ 'org.apache.cordova.console',
'com.sap.mp.cordova.plugins.corelibs',
'org.apache.cordova.inappbrowser',
'org.apache.cordova.device',
'org.apache.cordova.device-orientation' ]

3.2) From within same command prompt session, after executing step 2, run this command:

cordova plugins

You will also get same list from step 3.1. The list ensures now Cordova understands Kapsel plugins are inside repository.


Comments

  • 01 Dec 2015 6:53 am

    Hello guys,

     

    Im new on SMP and Kapsel, Version of SMP is  3.0 SP 08, and i have the same issue, i cannot install plugins correclty . should this fix on this version too?


    Regards


Advertisement
Advertisement
Advertisement