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
0
votes
2 answers

Mobilefirst 8 - getting error "cp: dest file no such file or directory" while adding browser platform to cordova project

I have created cordova mobilefirst 8 application using CLI with mfp template. Followed below commands MFP version: 8.0.0.00-20171024-121931 cordova create Hello com.example.helloworld HelloWorld --template cordova-template-mfp cd Hello cordova…
prashant
  • 11
  • 5
0
votes
0 answers

mfpdev app pull fails with wrong chars in request URL

When I try to pull the app descriptor from the production server, I get the 400 Bad Request error. Upon inspection, it looks like the command-line tool tries to access the following…
Andrey Ch
  • 193
  • 1
  • 12
0
votes
1 answer

IBM Mobilefirst CLI 7.1.0 mfp push ERROR

I type in "mfp start" into the terminal and get: The server is running. I then type in "mfp push" into the terminal and get: Preparing for push... Error: error code :126 Error: The MobileFirst server that you have configured does not appear to be…
0
votes
2 answers

IBM MobileFirst 8.0 Devkit and 7.1/7.0 CLI installers fail to launch with "Windows error 2 occured while loading the Java VM" message

After updating Oracle Java 8.0 to update 60 and above, IBM MobileFirst 7.0 / 7.1 CLI installers and IBM MobileFirst 8.0 Devkit installers fail to launch on Windows machines with the following error:
Vivin K
  • 2,681
  • 1
  • 11
  • 14
0
votes
1 answer

Push notification - Adapter - MFP Migration from 6.3 to 8.0

I have a sample push notification application and adapter with MFP 6.3 version (download from http://mobilefirstplatform.ibmcloud.com/tutorials/en/foundation/6.3/notifications/push-notifications-hybrid-applications/). I have migrated the mobile…
0
votes
1 answer

TouchID for Android using IBM Mobile First Platform 7.1 and Ionic

Am trying to integrate Touch Id for Hybrid Application, i have done with the iPhone(working) and now am stuck with android application. Here is my query How can i achieve the Touch id integration with Android, these are the sample links i tried to…
0
votes
2 answers

How to use same code for Mobile and Web in IBM MFP 8.0

I am a fresher in IBM Mobile first. I need to know How to use one code for mobile and web application. I have created an IBM MFP Cordova project. My client asking to use the sample Cordova project to the browser(web). I have tried to add the…
0
votes
0 answers

IBM MobileFirst JSONStore is not getting initialized in 7.1 CLI Project

While trying to initialize JSONStore in IBM MobileFirst 7.1 CLI project that use the cordova-plugin-mfp-jsonstore, I am getting this error, Uncaught Error: Failed to call WL.JSONStore.init because JSONStore is missing in the application. Add…
mobworks
  • 39
  • 5
0
votes
1 answer

IBM MobileFirst Adapters with external libraries

is there any restriction for using external libraries with java adapters in IBM MobileFirst 8.0? When I added guava my code have no errors (mfpdev adapter build Success), but when deploying to my server it respond with error: [ERROR] Failed to…
3squad
  • 355
  • 3
  • 14
0
votes
2 answers

Mobilefirst Invoking Protected Ressource Error 400 INVALID_CLIENT

Every time i try to invoke a protected ressource i get this error : "{"errorCode":"invalid_client","errorMsg":"Incorrect JWT format"}" I tried almost all cordova-plgin-mfp versions, I have the latest IFIX for mobilefirst and updated my…
0
votes
1 answer

Reading received sendFormParameters params into JS Adapter method in IBM MobileFirst Platform v8.0

I have javascript WLResourceRequest.POST call at client side and trying to read the received values at server end. At server, I am able to read only "AB". Client side code: var resourceRequest = new…
0
votes
0 answers

IBM MobileFirst Platform (mfp) CLI 7.1 Adapter won't deploy with mfp push command

Same as this issue: MFP CLI 7.1 adapter wont deploy with mfp push command But the stated solution of running mfp deploy is not the best solution I think. Running mfp deploy DOES technically work, but it is deprecated. Why does mfp push not push my…
0
votes
1 answer

MobileFirst Application Centre Apple Approval

I have a question regarding the distribution of apps through the IBM mobilefirst app centre. The mobile client would need to have an apple certificate as it will be place on the store so that users can get access to the application centre via the…
0
votes
1 answer

Unable to make calls to MobileFirst Platform server in preview

I'm having problems debugging/previewing my app in any browser with the command mfp app preview. I don't see any network related calls in the debugger in Chrome. CORS is enabled. Its an Ionic 2 app (cordova). Running the app in the emulator or on a…
gixen
  • 279
  • 4
  • 20
0
votes
1 answer

MobileFirst Container CLI Extensions are not installed

Im trying to create docker MobileFirst Server 7.1 image and i wanna upload to Blumix. so, basically i have installed below things in my windows 10 docker Engine Cloud Foundry CLI IBM Containers Plugin (cf ic) MobileFirst CLI and cf…