ibm-mobilefirst

IBM Worklight 6.1 - Unable to initialize the project due to DB2 error

妖精的绣舞 提交于 2019-12-10 11:55:55
问题 I'm getting the following error while trying to access the Worklight server deployed in my machine: Error 500: Worklight Console initialization failed.Logged Exception: java.lang.RuntimeException: FWLSE0206E: The project /worklight failed to initialize, because the project database schema for data source jdbc:db2://xxxxx:50000/WRKLGHT is from version N/A, which is not supported by the server from version 6.1.0.00.20131126-0630. Use the Worklight ant tasks to upgrade the project database

IBM Worklight v6.1.0.1 : Error when using Ionic Framework with Worklight and run on IOS environment

早过忘川 提交于 2019-12-10 11:44:10
问题 I have created demo app using Ionic with Worklight and it worked on Android but got error on IOS , when i used mobile browser simulator and debugged on IOS environment, i got the folowing error message: Uncaught InvalidCharacterError: Failed to execute 'add' on 'DOMTokenList': The token provided ('platform-ios - iphone') contains HTML space characters, which are not valid in tokens. I just add Ionic files in index.html: <!DOCTYPE HTML> <html> <head> <meta charset="UTF-8"> <title>index</title>

IBM Worklight - Windows - “'WEBWORKS_HOME' environment variable is undefined”

我的梦境 提交于 2019-12-10 11:37:50
问题 From the BlackBerry development tutorial I know that first I need to install the BlackBerry 10 WebWorks SDK and then set create a WEBWORKS_HOME environment variable with the SDK path. I do not how to create the environment variable in Eclipse. I set it through Computer-> Properties-> Advanced Settings-> Environment Variables-> User Variables but it did not worked. When I add a BlackBerry 10 environment to my application, it gives the following error in the Eclipse Worklight console: E:

sqlcipher framework not found when integrating Crashlytics in a Worklight application

五迷三道 提交于 2019-12-10 11:06:43
问题 I tried to integrate Crashlytics for iOS into an IBM Worklight 6.1 project, but I have got an error related to sqlcipher.framework. Does this means that Crashlytics and Worklight are not compatible? For info, you can know more about Crashlytics at: https://get.fabric.io/crashlytics The error that I am getting is: ld: warning: directory not found for option '-F"/Users/myUsername/MyProjectPath/ProjectName/apps/AppName/iphone/native/Frameworks"' ld: framework not found sqlcipher clang: error:

Do IBM Worklight 6.1.01 Objective C libraries support iOS 7 armv7s architecture?

妖精的绣舞 提交于 2019-12-10 00:58:20
问题 I am trying to use the Worklight 6.1.0.1 Objective C libraries from Objective C code to call the Worklight adapter. I continue to get compile errors when I reference the libraries in my code and add libWorklightStaticLibProject.a to my project and compile for my iOS 7.1 iPhone5 phone (armv7s architecture). The compiler error is: ld: file is universal (2 slices) but does not contain a(n) armv7s slice: /Users/uname/dev/acct/cordova/platforms/ios/WorklightSDK/libWorklightStaticLibProject.a file

Custom ListView in Worklight using Dojo

流过昼夜 提交于 2019-12-08 14:08:57
问题 I am working on a Worklight project, and I am trying to use custom listview. I use the Dojo toolkit to implement it, but it's not coming up to my expectations. Regarding design I am confuse. Here is my code: <div id="bookmarks" data-dojo-type="dojox.mobile.ScrollableView"> <h1 data-dojo-type="dojox/mobile/Heading">Some Heading</h1> <ul data-dojo-type="dojox.mobile.RoundRectList"> <li data-dojo-type="dojox.mobile.ListItem" data-dojo-props="label:'Item'"><button data-dojo-type="dojox.mobile

push notification receiving more than one time in worklight 6.0 after Updating the applicaion

偶尔善良 提交于 2019-12-08 14:08:56
问题 I have implemented push notification in worklight 6.0 via GCM, but I am receiving the push notification more than 1 time. When I am updating my application by direct update, I am getting extra one push notification, For Example: 3 extra push notification for 3 update after installation. But when I install the application for the first time it works fine. 回答1: This is a known bug in Worklight 6.0. It was fixed in the latest fixpack (6.0.0.2). See http://www-01.ibm.com/support/docview.wss?uid

Mobilefirst 8.0 cordova push notification device register failed

三世轮回 提交于 2019-12-08 13:46:12
问题 I took the sample Cordova project and added platform for Android environment then I created FCM project through Google console and then I got the sender id and server key. I added the MobileFirst server console credentials. Once I did the above steps I added the scope variable in the MobileFirst console "push.mobileclient". Finally I try to run my project using Android studio on an Android emulator. The testing of the push notification failed while I clicked register device. Below are the

IBM Worklight JSON Store with Sync using HTTP Adapater

限于喜欢 提交于 2019-12-08 13:09:14
问题 How to load data from database on load of the application? How to push data to database? The sample given by IBM Worklight helps to load data from JSON store, but how to use HTTP Adapter to fetch data and load? 回答1: Read the documentation and look at the JSONStore getting started modules and code samples. How to load data from database on load of the application? Use load. You can also do it with WL.Client.invokeProcedure or jQuery.ajax and then call add with the response data. How to push

IBM Worklight 6.0 - wl_antiXSRFRealm error after deploying adapter to Worklight Server

守給你的承諾、 提交于 2019-12-08 12:52:33
问题 I am currently working on a push notifications demo using Worklight v6.0 Enterprise Edition. As part of the demo, I created a new Worklight project in Worklight studio. I also imported the push notifications sample project into the same workspace I copied the supplied authenticationConfig.xml file from the push notification sample project into my new project (replacing the file) I also modified the application-descriptor.xml in my new project to reference the securityTest in the