Mfp cli WLResourceRequest is not defined error - ibm-mobilefirst

i recently converted my mfp studio project to mfp cli cordova project.
when i preview my project everything work fine except "WLResourceRequest is not defined" that log to the console.
enter image description here
i noticed that the web preview works fine, but the mobile browser simulator not working and logs the same error

Same problem. I have a ionic project. This was working till I installed MFP 8.0 beta
Post that I m unable to make any adapter calls.

It doesn`t work in Chrome, but it works on my device. Using MFP 8.0

Related

How to add browser platform to MFP cordova app?

I'm looking for a way to add browser platform to the current mfp cordova app for testing purpose. When I tried to run mfp cordova platform add browser, I got the error
Error: Hook not implemented yet for browser
By the looks of the commands, you're using 7.1. This release does not support the Web platform for Cordova apps.
Note that Mobile Foundation 8.0 supports standard Cordova apps, including the Web platform.

MobileFirst Android App giving alert "gap_init:2" on previewing

I am trying to upgrade to MF 7.1 from MF 7.0. After upgrade, when I deployed the application on server and preview the Android App, it displays below alert message:
I have following below steps to upgrade the project:
I used new eclipse for project upgrade: eclipse-jee-kepler-SR1-win32-x86_64.
Installed RTC 4.0.2 Client into the eclipse and restarted it.
Change the Workspace Text File Encoding to UTF-8.
Imported the MobileFirst 7.0 project from RTC.
Deleted "wlBuildResources" and "wlPreview" folders from %temp% ditecroty.
Installed MobileFirst Stidio IF : 7.1.0.0-MFPF-StudioP2-IF201509132345.
Restarted the eclipse.
Project upgraded to MF 7.1 successfully.
Installed the ADT To Eclipse using the update site and restarted the eclipse.
Right clicked on project name and Ran on MobileFirst Development Server.
Open the console and previewed the Android application and it displays the following alert: gap_init:2.
I have deleted , regenerated project but everytime I am getting this error. I have create a new project also
but I am getting the same alert message on previewing the Android application.
This happens due to a regression and is taken care of in APAR PI50036 CORDOVA "GAP_INIT:2" ERROR WHEN PREVIEWING ANDROID IN MBS
To receive the fix once it is available you should open an IBM PMR (support ticket) and mention the APAR number above.

'WLAuthorizationManagerPlugin' not found, or is not a CDVPlugin

I have a hybrid app I am building for iOS. It uses Adapter authentication which has been working fine.
I recently updated from MobileFirst Studio 6.3 to 7.0. At the same time, I updated Xcode to version 6.3. My app continues to work fine and authenticates with the backend fine when run through the Browser Simulator, but running on a simulator or real device from Xcode, I get a connection timeout error. The console contains this: ERROR: Plugin 'WLAuthorizationManagerPlugin' not found, or is not a CDVPlugin. Check your plugin mapping in config.xml.
I see lots of questions on SO for "plugin not found or is not a CDVPlugin", but since this is a MobileFirst plugin, I wouldn't expect it to suddenly go missing. Could this be fallout from the update?
Is this a sample project from the MFP Developer Center, or an application of your own.
Either way, you can create a new project and add the iPhone environment and compare your project's native\config.xml with the new project's native\config.xml and correct yours accordingly.

Worklight 6.1 - Error on Blackberry 10

I'm using Worklight Studio 6.1.0.00-20131219-1900 and trying to build an app for Blackberry 10
I create a new Worklight app (no customizations other than adding the blackberry 10 environment), run it on the Worklight server, and use ripple to build and deploy to the blackberry 10 simulator.
The app installs on the simulator, But when it launches, I immediately get a JavaScript error:
[ERROR] Error initializing Cordova: Extension Device not found
This is possibly related to a problem seen with Cordova 3.1 (see: Error initializing cordova: Extension device not found in PhoneGap 2.9.0 and blackberry10 webworks application) but I'm not seeing any solutions.
Is there any way to get Worklight 6.1 apps to work on Blackberry 10?
My guess is that your issue is mentioned in infocenter
http://pic.dhe.ibm.com/infocenter/wrklight/v6r1m0/index.jsp?topic=%2Fcom.ibm.worklight.dev.doc%2Fdevref%2Ft_creating_a_new_ibm_BlackBerry_10_environment.html
basically, did you do the "ant qnx copy-extensions" command ?

Issue in installing Android platform 2.2

I am new to titanium, i already set Android sdk its working fine with my eclipse indigo. I mean i can able to launch android 2.2 google api emulator in that IDE. But In titanium it showing error message Items required An Android SDK is missing.Titanium requires Android platform 2.2 I have follow this post Titanium Studio cannot find Android SDK and fixed some path issues. But still i am getting same error. Need guidance to set up environment.