ibm-mobilefirst

Updating Expired .p12 certificate in Mobilefirst

会有一股神秘感。 提交于 2019-12-25 07:25:21
问题 My application sends notification the .p12 certificate expiring soon so do we need to send the application again to Apple store ? If not then we just create wlapp file with new .p12 certificate and deploy on our Mobilefirst server or we need to do more configuration ? Please advice ? 回答1: My application sends notification the .p12 certificate expiring soon so do we need to send the application again to Apple store ? No. If not then we just create wlapp file with new .p12 certificate and

Adapter procedure call, reporting an authentication failure

旧巷老猫 提交于 2019-12-25 07:23:54
问题 Client code attempts to invoke adapter. This triggers authentication to the appropriate realm. It is possible that the user does not have suitable credentials and eventually wants to stop trying. I can provide a "Give Up" button, and we can use the challegeHandler to tell Worklight to stop the authentication effort like this: this.challengeHandler.submitFailure(); This works to the extent that the login attempt terminates, but it seems that code calling the adapter gets no callback and hence

IBM Worklight 6.0.0.1 - JavaScript not executing in a jQuery Mobile multipage app

爱⌒轻易说出口 提交于 2019-12-25 06:49:06
问题 I am using IBM Worklight Studio version_6.0.0.20130926-2018. In my app I am using the jQuery Mobile framework. My problem is that when I try to load a data-role="page" using $.mobile.changePage , the page is not refreshed by itself. When I refresh this page, the JavaScript code is not working. Instead, I get the following errors: ReferenceError: WLJQ is not defined profile.html:11 TypeError: $ is undefined jquery.mobile-1.3.2.js:28 ReferenceError: $ is not defined profile.js:3 ReferenceError:

Failed to deploy a sample Javascript HTTP adapter on MFP 8 (MobileFoundation Bluemix)

限于喜欢 提交于 2019-12-25 06:48:03
问题 I am beginning my journey into the MobileFirst Platform 8 Beta, and I would like to deploy my very first sample adapter. I am using an instance of the Mobile Foundation service on Bluemix. When trying to deploy the sample adapter, I get the error stack below: ○ → mvn adapter:deploy -e [INFO] Error stacktraces are turned on. [INFO] Scanning for projects... [INFO] [INFO] ------------------------------------------------------------------------ [INFO] Building SampleAdapter 1.0-SNAPSHOT [INFO] --

IBM Worklight 6.0 - QR Code does not work

|▌冷眼眸甩不掉的悲伤 提交于 2019-12-25 06:45:16
问题 I am trying to open hybrid app in my iphone, so the best option for me is scan in a QR code that I can save time to input long URL. But what makes me so upset is that the icon fails to open in a new pop-up window, accordingly, I can't scan it. I am not sure if the the IE or chrome safety option causing that, or it's Dojo bug. This is QR code icon that I can't open: 回答1: Following the below steps, I havel successfully used the QR code from the Worklight Console's MBS preview page to preview

Unable to install IBM Worklight plugin due to dependencies

谁说胖子不能爱 提交于 2019-12-25 06:39:47
问题 I am installing IBM Worklight on Eclipse Indigo. It asks to install following dependencies: Cannot complete the install because one or more required items could not be found. Software being installed: IBM jQuery Mobile Tools 6.1.0.01-20140418-0637 (com.ibm.webtools.jquery.tools.feature.feature.group 6.1.0.01-20140418-0637) Missing requirement: Mobile Patterns 1.1.0.v20140418_0503 (com.ibm.etools.rpe.mobile.patterns 1.1.0.v20140418_0503) requires 'bundle org.eclipse.core.resources [3.8.0,4.0.0

Worklight - connection on startup fails

試著忘記壹切 提交于 2019-12-25 06:34:33
问题 using Worklight server v6.1 i'm trying to develop a simple app that connects to the production server at startup. To get this i do: in initOptions.js file i set connectOnStartup to true in wlCommonInit method of <my-app>.js file i call : WL.Client.connect({ onSuccess: connected, onFailure: failure }); where connected and failure are two callback to two simple functions that load some data in a listview. When i trie it on a production or development environment i get a spot over my app's

Led not working on Android using Unified Push Notification of worklight (6.0.0.2)

余生长醉 提交于 2019-12-25 06:26:01
问题 I'm using the UPN system of Worklight Consumer Edition 6.0.0.2 to send push notifications. When I receive a push notification no led light appears on Android. Why? I tried on: a Samsung S4 with Android 4.3; a Nexus 5 with Android 4.4; a Samsung S3 mini with Android 4.1.2 . I use WL.Server.createDefaultNotification to build the notification payload: var notificationObj = WL.Server.createDefaultNotification(notification.TITLE, badge,{}); notificationObj.GCM.sound="default"; and then I use

IBM Worklight 6.1 - Project migration from 6.0.0.1 to 6.1.0.0 fails

眉间皱痕 提交于 2019-12-25 05:33:41
问题 I've updated my Worklight Studio to v6.1.0.0. When i try to open my project, it fails with this error message: [2013-12-16 10:29:56] FWLPL0019E: Migrating the project from version 6.0.0 to version 6.1.0.0 has failed because this migration path is not supported: Failed reading application-descriptor.xml 回答1: Some of my apps in that project were missing the "application-descriptor.xml" file for unknown reason... I've deleted the folders for those apps, then the migration succeeded. 来源: https:/

How to give Worklight Server access to MySQL (SQL adapter)

我只是一个虾纸丫 提交于 2019-12-25 05:27:27
问题 I'm migrating a worklight app from 5.0.3 to 5.0.6. I tried to add mysql-connector-java-5.1.22-bin.jar** to worklight.war file but I get the following error : Procedure invocation error. Runtime: java.lang.ClassNotFoundException: Class com.mysql.jdbc.Driver not found in Worklight platform or project /worklight Any workaround? 回答1: Why to the .war file? Add more information to your question: are you running Worklight in Eclipse or on an application Server (Tomcat/Liberty/WAS)? If you are using