ibm-mobilefirst

Latest cordova-plugin-mfp-push errors when doing Cordova build Android

╄→гoц情女王★ 提交于 2019-12-24 05:44:30
问题 Plugin Version : 8.0.2018100111 When ever i run Cordova build android with cordova-plugin-mfp-push plguin installed i am getting the below error mentioned. I am able to resolve the error by changing the classpath 'com.google.gms:google-services:+' to classpath 'com.google.gms:google-services:4.1.0' which has been mention in the build-extras.gradle file of the plugin. Since we are building via jenkins changing this will be annoying and i am here to ask is there a better way (automated) script

Return an array of resultSets from the server in worklight

余生长醉 提交于 2019-12-24 04:58:12
问题 I want to use the values from multiple rows returned in a resultSet to invoke a procedure again and again and display the result of the invoked procedure on main html page Adapter JS var selectStatement = WL.Server.createSQLStatement("select * from medicine WHERE Name= ? "); var selectStatement2 = WL.Server.createSQLStatement("select LocId from location WHERE LocName= ? "); var selectStatement3 = WL.Server.createSQLStatement("select RegNo from storeloc WHERE LocId= ? "); var selectStatement4

Mobilefirst Failed synchronizing application from the administration service

青春壹個敷衍的年華 提交于 2019-12-24 03:24:24
问题 I create a new project in MobileFirst 7.0, but as soon as I am deploying it into MobileFirst Development server it is giving me following error: [ERROR ] FWLSE0081E: Failed synchronizing application from the administration service. This prevents the application from running. The reason is No constructor has a @ConstructorProperties for this set of items: [adapters, applications, configProfiles, transactionId]. Please restart the application server after taking the proper corrective actions.

Does wlcommoninit get called when the app is reloaded using WL.Client.reloadApp

你。 提交于 2019-12-24 00:56:03
问题 Does wlcommoninit get called when the app is reloaded using WL.Client.reloadApp?? I have a user logout function in a hybrid app. After logout, there is a call to reloadApp() method for WL.Client. It seems after reloading the wlcommoninit is not being called. It does get called if I kill the app and re-start it. The MobileFirst version we're working with is 7.1. Added: There is a Cordova.js error in the logs which may be preventing the wlCommonInit() from being called after logout + reloadApp:

IBM Worklight 6.0 - SRVE0777E: javax.servlet.ServletException: Worklight Project not initialized

心不动则不痛 提交于 2019-12-24 00:35:07
问题 I've just installed Worklight 6.0 on Mac OS X Mountain Lion 10.8.4. I'm trying to build a very simple HelloWorklight app to test the installed environment and I'm getting errors building and deploying it. I'm getting these errors in Eclipse console: [2013-07-13 02:11:21] Starting build process: application 'HelloWorklightApp', all environments [2013-07-13 02:11:21] Application 'HelloWorklightApp' with all environments build finished. [2013-07-13 02:11:21] Deploying application

MFP CLI 7.1 adapter wont deploy with mfp push command

北战南征 提交于 2019-12-23 23:30:31
问题 I have my project on github https://github.com/drkhannah/KMF I pushed this MFP cli 7.1 project to github and had a team member clone it After an npm install, I tried the 'mfp cordova preview' command, errors said this wasnt an mfp project, then I tried 'cordova platform add ios and android', then 'mfp cordova preview' worked, is this only because the platforms folder was in the .gitignore? Also I had trouble adding an adapter, since I uploaded to github without adapters, the adapters folder

Upgrade project from WorkLight 6.1 to MobileFirst 7.1

China☆狼群 提交于 2019-12-23 22:29:56
问题 I have a project build with WorkLight 6.1 and I'm going to upgrade this project to MobileFirst 7.1 . I found a link from IBM regrading upgrade from earlier version of MobileFirst , but not from WorkLight 6.1 . Appreciate if anyone can provide me the guidelines to upgrade WorkLight Studio & Server 6.1 to MobileFirst Studio & Server 7.1 Thank you. 回答1: Open MobileFirst Studio 7.1 Select File -> Import > Existing projects into worksace Select your project (make sure to make a backup) Let Studio

IBM Worklight 6.2 - error on StoragePlugin

ⅰ亾dé卋堺 提交于 2019-12-23 18:18:56
问题 I upgraded from Worklight 6.1.0.1 to 6.2 and since then, my app stopped loading JSONStore successfully. It says it can't find the class StoragePlugin, although the class is actually there in the worklight-android.jar It is also declared in the config.xml file: <feature name="StoragePlugin"> <param name="android-package" value="com.worklight.androidgap.plugin.storage.StoragePlugin"/> </feature> That's the logcat output when I run it on a android device: 07-01 20:58:48.851: D/NONE(4379):

Worklight: Performance of calling java static method vs object creation

半世苍凉 提交于 2019-12-23 12:57:12
问题 I need suggestions either I make custom java method as static OR accessing via java object from an Adapter? My scenario is: thousands of users are making transactions and each user is accessing the same method again & again and just changing some values specific to that user or transaction. Now if I am making them as static methods then will it cause problems for users, as we know the adapter call is asynchronous....so if multiple users calling same method at the same time then will it cause

IBM Worklight - config app facebook to run in real device

依然范特西╮ 提交于 2019-12-23 06:16:32
问题 I have a Worklight-based app that uses Facebook Login. When I preview it everything is ok (I can click the login button and the Facebook Login dialog box is displayed), but when I run it on the Android Emulator or device I get the following error in LogCat: 05-28 09:17:35.391: I / Web Console (751): URL has not been configured > to allow application.: One or more of the provided URL is not set app > permissions. URL must match the URL of the web page or the page URL or > domain is a subdomain