Platform is not visible when register app on MobileFirst Server 8 - ibm-mobilefirst

Hi I recently updated MobileFirst Version from 7 to 8 and the application working perfectly on MobileFirst Development Kit Server (with Android, iOS, Browser Environment).
But after I have deploy to on premise MobileFirst Server version 8. What happened is the only environment or platform that visible on server is iOS as you can see in screenshot below.I have successful deploy all 3 platform but the other two platform not visible
We couldn't find any information on IBM knowledge Center website
Thank you.

This happens if, during installation of IBM MobileFirst Platform Server 8.0 ( using Installation Manager), you select the option "Install IBM MobileFirst Platform Foundation for iOS" in the General settings panel. If this option is chosen, iOS will be the only platform visible in the MobileFirst Operations Console.
Once the choice has been made during installation, you cannot reset it later. You will have to uninstall and re-install , and choose not to select "for iOS" option. Keep the default option (No) as-is in the Install IBM MobileFirst Platform Foundation for iOS section of the General settings panel.
Details on each step during installation, can be found in this link.

Related

Where is hybrid model in MobileFirst 8

I am starting to learn MobileFirst development and have a question regarding Hybrid development model.
I was looking at version 7.1 which supports Hybrid development that allows you to create applications that work on all supported devices.
But then I found out that there is a latest version of MobileFirst Foundation available called 8.0 but strangely Hybrid model is not there. Has it been replaced by something else?
By the way shall I go with version 7.1 or 8?
There is no longer a concept of "hybrid application" in MobileFirst Platform Foundation 8.0 (in the way that you are accustomed to in 7.1 and prior versions). Instead, you would create a Cordova application using your preferred Cordova development tools, and add the MobileFirst SDK to it. See the tutorial at https://mobilefirstplatform.ibmcloud.com/tutorials/en/foundation/8.0/product-overview/release-notes/whats-new/ (in the "What's new in building apps" section) for additional details.

IBM Worklight/Mobilefirst migration from worklight 6.1 to mobilefirst 7.1

I am planning to migrate an existing worklight 6.1 application to mobilefirst 7.1.Currently three versions of application are running.
I am following this as my reference :
http://www.ibm.com/support/knowledgecenter/SSHS8R_7.1.0/com.ibm.worklight.upgrade.doc/devenv/c_upgrade_to_srvr_in_production_env.html
But I am going to do some process change in this process because I have a fresh server for mobilefirst 7.1.
As in mobilefirst 7.1, there are many changes in workligth db in compare to worklight 6.1, I will create a configuration first on mf server using server configuration tool. Then I will create a runtime environment for my application with lates mobilefirst 7.1 war.
But while doing that if I give reference of older database(worklight 6.1) as database in server configuration tool for migration , are all version which are currently running on worklight will run without error on mobilefirst 7.1?
Should I keep contextroot of mf runtime same as worklight (previous) ?
All I want is older versions to be up and running after this deployment.
I will enable mf server on same Domain/IP which is configured with worklight 6.1 server.
But while doing that if I give reference of older database(worklight 6.1) as database, are all version which are currently running on worklight will run without error on mobilefirst 7.1?
Not sure what you mean here... You can't have a 7.1 server with a 6.1 database.
What you can have is an application server (liberty, was, tomcat, ...) that runs TWO MobileFirst war files: that of 6.1 and that of 7.1, so that existing 6.1-based apps will continue working as-is, and 7.1 new clients will connect to the new server...
When you have the two servers running, you can then start "migrating" users by blocking the 6.1 app in the MobileFirst Console to the 7.1 version of the app.
If you need further assistance with this, you should open a PMR. Stack Overflow is not the place for this type of question, plus you may need official support, which, again, that's what a PMR is for.

worklight 6.0 - apple watch support?

I have developed an Apple Watch application using IBM MobileFirst Platform 6.3 in testing environment and it's working fine.
My clarification is to know, whether the same Apple Watch application development will work using IBM Worklight 6.0.
Worklight 6.0 was not tested with the Apple-supplied WatchKit, but there are no known issues preventing it from not working.
It should be noted that at this time IBM MobileFirst Platform Foundation (previously known as "Worklight") does not claim Apple Watch support.
You can go ahead and try to see if it is working. As you have already experienced, it does work with MobileFirst Platform Foundation 6.3. Why go back to Worklight 6.0? Upgrade your existing application instead (and there are very good reasons for that from 6.0.0.2).

iPhone build does not work after migrating project from worklight 6.0 to 6.1

I created a hybrid worklight application having iPhone as the target environment using Worklight Studio 6.0. The application has 1 html file which has HelloWorld written in it.
I then migrated my worklight project to Worklight Studio 6.1. The application builds successfully, but while running the application, the application hangs at the splash screen and does not show the HTML page.
Is there any step that I am missing in the migration activity for iOS?
This actually sounds very much likely a recently fixed APAR: PI21872 ON IOS, INSTALLING THE SAME APPLICATION TWICE (WITHOUT unistall) would perform FREEZE AT THE APPLICATION START-UP.
While the APAR title does not match your problem description, it does match the issue that was resolved internally.
Either take a look at IBM Fix Central and install the latest 6.1.0.1 available there, or
Open a PMR and request the latest available Worklight 6.1.0.1 iFix
Verify that your issue is then resolved.
Also, since you say you have only "hello world" in your application, you could just create a new project in 6.1 instead?

IBM Worklight 6.1 - Build and Deploy not available?

I have used Worklight 5 for Eclipse Juno multiple times and had great success when building hybrid apps for Android and iOS. However, I just recently installed a new version of Eclipse Juno on a new computer and later installed Android ADT and Worklight.
Eclipse works as normal for non-Worklight apps. When I create a Worklight 6.1 project and right-click the common folder, select "Run-As", I am not presented with any options to do just that. I am only seeing the options for "Preview and Run configurations" but should be seeing these mentioned options and "Build and Deploy".
Is there something corrupted in Worklight that I need to change to make these options re-appear? Are these options no longer used? If they are not used, how do I deploy a hybrid to Android, iOS, or any other platform?
In Worklight 6.1 they have re-swizzled the options a bit, but if you want the equivalent of "Build all and Deploy," select: "Run on Worklight Development Server." You need to select the App, not the common folder to get that option.
Since you say you've been using Worklight 5 and have now switched to Worklight 6.1.0, I suggest that you will review the following:
What's New in Worklight 6.0.0.0
What's New in Worklight 6.1.0.0
IBM Worklight training modules
The Run As > Build and Deploy action was renamed to Run As > Run on Worklight Development Server and additional actions were added as well. You will want to take some time to re-familiarize yourself with the production...
Tip: no need to re-build after every web resource change you make; just refresh your previewed app and the change will be there.
In the image:
Run on Worklight Development Server = build and deploy
Build Android Environment = build only, don't deploy
Run on Android Studio = if you've installed Android Studio, the built project will open there
Build Settings and Deploy Target = configurations for minification/concatenation/other as well as changing the server the app will be deployed to, etc.
If you do not see these actions, I think it'd be best if you will get a fresh copy of Eclipse Java EE (4.2.2 ("Juno" SR2) or 4.3.1 ("Kepler" SR1)) and re-install Worklight Developer Edition from the Eclipse Marketplace (or your Consumer/Enterprise Edition if you're a Business Partner/Customer).