ibm-mobilefirst

IBM Worklight 5.0.6.1 - Android notification does not reach either device or emulator

六月ゝ 毕业季﹏ 提交于 2019-11-27 04:53:26
问题 I followed all steps as given in the Push Notifications training module, as well as in this Stack Overflow question: IBM Worklight - Push Notifications feature does not work in Android emulator When I send a message using the PushBackendEmulator or by calling the PushAdapter procedure from URL it says message sent successfully , but the notification is not received in either device or emulator and there is no error in LogCat. I am using a device running Android OS 4.3 and AVD running Android

Worklight: Push notification without User ID

安稳与你 提交于 2019-11-27 04:48:13
问题 Kindly suggest, is it possible to send push notification without having user ID ? Lets say we want to send push messages to all users who have downloaded our App. OR due to security reasons, user IDs can not be stored in the DB (or used within the App). 回答1: One way or another, you need a way to identify the user. It will come down to what you consider to be a 'userID'. There is a way to distinguish between users without using a permanent userID. You can use the persistent cookie realm. If

Add custom cordova plugin to IBM Worklight 6.1

核能气质少年 提交于 2019-11-27 03:44:32
问题 I am trying to add a custom Cordova plugin for the iOS platform, and I am having some issues when I compare that with the process to add a plugin on cordova. The plugin I am trying to use here is https://github.com/phonegap-build/StatusBarPlugin With cordova I used to simply use the command line c ordova plugin add com.phonegap.plugin.statusbar First, I tried to modify in native folder, but I noticed that If I do so, It works but It will be erased the next time I deploy again for iOS platform

How to access google maps api in China

烈酒焚心 提交于 2019-11-27 03:06:15
问题 I am using google maps api to get user location in my IBM Mobilefirst project and it is working fine as expected in all the countries except china.I know this is because china has blocked access to google apis in their country.Is there any workaround that I can make so that the application works even in china. I have given the code snippet below for reference. This is the script I have in head <script type="text/javascript" src="https://maps.googleapis.com/maps/api/js?key

IBM Worklight: UI Performance

倾然丶 夕夏残阳落幕 提交于 2019-11-27 03:00:45
问题 I have used jQuery Mobile 1.3 for Worklight 5.0.6 development. I find that some of the functionalities such as Transitions, Panels and Popup Menu are not smooth in real device (Samsung Galaxy S3 & Samsung Note II, Android 4.1.1). It is poor and quite lag during display. As Phonegap framework is used by Worklight ultimately, I have created a same mobile application using Phonegap and the performance is dramatically smoother than that using Worklight... May I know why is it so and is there any

IBM Worklight 6.0 - Unable to run sample hybrid worklight app using dojo toolkit for android environment on avd?

爱⌒轻易说出口 提交于 2019-11-27 02:26:26
I have developed a sample hybrid application using worklight 6.0 and dojo toolkit 1.9 for android environment2.2 . When i tested this application on simulator it works fine. But when i tried it on AVD or on actual device, it runs but displays a blank screen only. Can't understand what to do to make it work on actual device properly? When i tried it to run on AVD i noticed following list of errors: 07-08 19:51:22.462: I/dalvikvm(664): Could not find method org.apache.cordova.CordovaWebView.setOverScrollMode, referenced from method org.apache.cordova.DroidGap.init 07-08 19:51:22.462: W/dalvikvm

How to solve management service not starting up in Worklight 6.2

帅比萌擦擦* 提交于 2019-11-26 23:43:00
问题 I have installed Worklight 6.2 on Linux, using Liberty 8.5.5 and DB2 10.5. Created the DB2 databases for WRKLGHT and WLREPORT. Have executed the Server Configuration Tool and successfully created a Worklight Server configuration (did not have any errors in the Console view when running the Ant tasks, tables were created successfully in the database, and configuration shows deployed status in the SCT). Created a runtime environment in the SCT, also seemed to succeed (no errors in Console view,

IBM Worklight 6.1 - Failed re-generating the iPhone native folder

隐身守侯 提交于 2019-11-26 23:33:10
问题 I've recently upgraded from Worklight 6.0 to 6.1 and I'm trying to get an update from a 6.1 Worklight Server from an iPhone that has a version built from 6.0 on it. This does not seem to work, so I figured I must manually deploy a version on the iPhone that was built from 6.1 in order to get the update. So I deleted the native folder under iPhone so that when I build it would regenerate itself, but I got the following error on build: iphone build failed: com.worklight.builder.sourcemanager

ECMA TypeError calling Java class from Worklight adapter

白昼怎懂夜的黑 提交于 2019-11-26 23:30:54
问题 I've seen a number of questions about this issue but no conclusive answers. I am having trouble calling a Java class from my Worklight adapter implementation. I replaced my code with the code from the IBM Worklight Java Adapter tutorial and it fails in the exact same way. Furthermore I found a response on IBM's site saying the Java 1.7 compiler might cause this problem and to use Java 1.6 instead. I validated that my compiler in Eclipse is Java 1.6. My Java classes all begin with com (e.g.

IBM Worklight - Where to find previous releases

血红的双手。 提交于 2019-11-26 20:50:35
I am looking to setup an Eclipse development environment with IBM Worklight v5.0.5 Fix pack 1. Can I get some pointers on the installation links for older versions of Worklight? See available downloads below. Note that these links do not guarantee each download to be the latest patched version of each release. Latest patches are available only from the IBM Fix Central website. IBM MobileFirst Foundation 8.0.0 (available from the Eclipse Marketplace). Note that v8.0 is very different from previous releases. Learn more . IBM MobileFirst Platform Foundation 7.1.0.0 ( direct link ) IBM MobileFirst