Questions tagged [mobilefirst-cli]

The IBM MobileFirst Platform Foundation (formerly IBM Worklight Foundation) command-line interface (CLI) tool allows to easily create and manage both native and hybrid apps.

IBM MobileFirst Platform Foundation (formerly IBM Worklight Foundation) provides command-line tools as an alternative to the integrated development environment (IDE) of MobileFirst Studio.

To help developers get a better tools experience, IBM MobileFirst Platform Foundation provides a command-line interface (CLI) tool to easily create and manage both native and hybrid apps. The CLI enables developers to use their preferred text editors or alternative IDEs to create mobile applications.

143 questions
1
vote
1 answer

Ionic 2 with MobileFirst 8

I am new to Ionic 2 with MobileFirst 8, Upto my knowledge i have installed Mobilefirst Server and MFP CLI Globally. I created Ionic project with android platfrom then i installed Cordova-plugin-mfp. When i tried to run ionic cordova emulate android…
jais
  • 105
  • 1
  • 12
1
vote
2 answers

ReferenceError: WL is not defined

enter image description here ReferenceError: WL is not defined mfp 8 version
1
vote
0 answers

IBM MobileFirst app preview return Error: The Cordova command-line interface is not installed on your system path

I followed the IBM migration cookbook to migrate my hybrid apps to MobileFrst 8.0. When I try to run mfpdev app preview, this error return : Error: The Cordova command-line interface is not installed on your system path. I run a check on the…
Tony_Ynot
  • 155
  • 1
  • 14
1
vote
2 answers

How to use IBM MFP 8.0 functions(WL, WLResourceRequest) in ionic 2 development

I am a fresher in IBM MobileFirst 8.0. How to use IBM MFP functions(WL, WLResourceRequest) in ionic 2 projects? I have created an Ionic Project and added MFP plugin and I added the below lines into Home Component TS file.…
1
vote
1 answer

Can I build/deploy wlapp and adapters via ant in MobileFirst 8

We created an ant script for MobileFirst 7 and executed the script via jenkins to create an automated deployment process. Tutorial for creating an ant script in MobileFirst…
black1011
  • 284
  • 3
  • 18
1
vote
3 answers

MFP8.0 Adapter deploy failed

We updated our Developer Kit and QA environment to product version 8.0.0.00-20170220-1900. We try to build the adapters and deploy the adapter to remote server using MFP CLI. But the deploy to server is failed with MAVEN plugin error. Logs: [INFO]…
Ragu
  • 402
  • 1
  • 4
  • 18
1
vote
1 answer

WLAuthorizationManager.obtainAccessToken() works fine in one environment but is broken in another

I am trying to call the WLAuthorizationManager.obtainAccessToken() but it is calling the error function on my Mac but succeeds just fine on my PC. The code sample I am using on both is below: waitingForMFP (renderer: Renderer) { …
1
vote
1 answer

app authentication - Extract public sign key from command line

My client doesn't have MobileFirst plugin for eclipse installed and I need guide him to extract the public sign key for app authentication. Is there a way to extract the public sign key from command line?
1
vote
4 answers

WL.Client.createSecurityCheckChallengeHandler is not a function

Hello im trying to run a security check in a MF8 new app (just download the cordova example app from the mf console and add the android platform), and when i tried to instantiate UserLoginChallengeHandler from app.init(); var…
user2449016
  • 169
  • 1
  • 13
1
vote
2 answers

command not found error on Mac when running mfp from command line

I am getting mfp: command not found error on Mac. I obviously have installed mobilefirst-cli using npm install -g path-to-cli-.tgz-file How can I check/verify if mobilefirst-cli is successfully installed on Mac? I tried to run mfp but got the error…
AADProgramming
  • 6,077
  • 11
  • 38
  • 58
1
vote
1 answer

Build MFP Cordova with android studio : java.lang.NoClassDefFoundError: org.apache.cordova.Whitelist$URLPattern

I have an issue with a MobileFirst Cordova project, when I build it with android studio it works on terminal with android version above 5.0 but for android version < 5.0 i have this issue : 03-16 10:49:29.591 18948-18948/com.ibm.scana…
1
vote
1 answer

Error gradle on mfp cordova run -p android

I have an error with MobileFirst Foundation 7.1, when i want to run my application on my device with command : mfp cordova run -p android : ERROR running one or more of the platforms: Error:…
1
vote
1 answer

How to build an .apk in release mode with mobile first cli and cordova

I'm using MFP Fondation 7.1 to develop an android hybrid application with : mfp cordova create But i wonder how to build my .apk with no emulator or device? Is there an other way than : mfp cordova run mfp cordova emulate ? And is there a way to…
1
vote
1 answer

How to set MFP_CORDOVA_HOME

I'm using MFP 7.1 CLI with cordova, when i add a plugin to my project with : mfp cordova plugin add Toast -d I can see this line in the log : MFP_CORDOVA_PATH has not been set. using internal cordova cli I tried to set this MFP_CORDOVA_PATH but…
1
vote
1 answer

mfp cordova plugin add : plugin not in /platform/android

We are working on a project with MobileFirst Platform 7.1, we are using mobilefirst-cli with cordova to create a project : mfp cordova create. After we add android platform with : mfp cordova platform add android Then we add this plugin :…
1
2
3
9 10