ibm-mobilefirst

IBM Worklight 6.0 - Push subscribing stopped from working

荒凉一梦 提交于 2019-12-08 12:35:06
问题 I am trying to get push notifications working on a Worklight V6.0.0.1 app running on an Android 4.1.2 device. The only error that I see is in the device LogCat: Can't subscribe, notification token is not updated on the server Here are a few lines prior to the error (with ids modified): 12-03 20:12:49.013: D/GCMBaseIntentService(7218): handleRegistration: registrationId = xxxxxxxxx_xxxxxxx_xxxxxxx-xxxxxxxxxx-xxxxxxxxxxxxxx-xxxxxxxxxxxxxxxxx-xxxxxx, error = null, unregistered = null 12-03 20:12

JSONStore initalization fails with PERSISTENT_STORE_FAILURE (Dalvik) / OPERATION_FAILED_ON_SPECIFIC_DOCUMENT (ART)

对着背影说爱祢 提交于 2019-12-08 12:08:03
问题 I have a Hybrid app created using MobileFirst Platform 7 that is working perfectly on a number of physical Android devices, AVDs, as well as the MFP Console Preview/Emulator. In all cases, the devices and the AVDs are running KitKat (v4.4.4). For persistence of information, I am using the JSONStore Javascript API. However, on one single device (A Panasonic Toughpad FZ-B2). The JSONstore refuses to initialize and all it throws the PERSISTENT_STORE_FAILURE failure when trying to init the

Dojo Library loading error in Worklight project when trying to access from other Machine

ぐ巨炮叔叔 提交于 2019-12-08 11:42:51
问题 I have developed a Worklight project which uses Dojo Library.After deploying project it worked fine in my local machine ,but when i tried to run the application from another PC on the same network the dojo Library host is still pointing to localhost rather than my IP Address. How to change Dojo library host pointing to my IP Address in Worklight 6 Application. Library path in "Page Source View" from other Machine Browser (function(){ var modules = { dojo: {name: "dojo", location: "http:/

IBM Worklight 6.2 Server Deployement error: DB2 Instance not found on server

喜你入骨 提交于 2019-12-08 11:29:24
问题 Environment: IBM Worklight 6.2, IBM Liberty 8.5.5.1, IBM DB2 10.5 & Windows 2008 standard Edition. For the High Availability of DB instance[WLDBINST], the following Architecture I have followed. 2 Windows Clustered Machines with IBM DB2 binary and SAN storage used to share the Database file in Common. If any 1 node is not available the other node will take over the control without any loss of the data. I have tested the DB2 instance via Cluster IP and it works fine. The below error has been

MobileFirst 6.3 Network Debug Issue

谁说胖子不能爱 提交于 2019-12-08 11:09:34
问题 I am using MobileFirst 6.3 for an application, when building an Android version and trying to monitor XHR Query on Chrome Dev Tool network, queries are not showing, I used to see them with previous worklight versions. I saw that there is a new plugin WLNativeXHRPlugin in 6.3 + versions, is it related to my issue? Any Help ? 回答1: The XHR requests have been moved from the JavaScript layer to the native layer, and this is why you do not see them in the Network tab in the Chrome dev tools. You

Removing file created by phone gap on uninstalling app

大憨熊 提交于 2019-12-08 10:56:12
问题 I am developing a hybrid mobile application in which , i have to create a folder inside which i am storing the images using phone gap. I have a new issue .I want to remove that folder when uninstalling that app in ios and android using phone app. 回答1: As Idan Adar told ,cannot delete the files at time of uninstalling programmatically. Instead if you can create folder and store the file in the app internal storage. It will automatically gets deleted. So for doing this we have the following

IBM Worklight 6.0 - Hybrid Android Application not working in Emulator and Device

假装没事ソ 提交于 2019-12-08 10:46:52
问题 I have created a Worklight application using Dojo with the Android environment. I tried running that application in the MBS, and it works fine. But when I tried that in emulator and real device, the application fails to load. In the device it shows: unfortunately the application has stopped In the emulator is shows: Failed to Load UI I have also created iPhone environment, there it works fine in both simulator and device. I have copied all the Dojo library files in my project's www folder. I

IBM Worklight - Can commercial apps be created using the Developer Edition?

心不动则不痛 提交于 2019-12-08 10:37:37
问题 Can we build commercial apps using the IBM Worklight free Developer Edition? I searched the IBM official site and I sensed that we have to buy the license to develop commercial apps. But, can someone please clarify it? 回答1: Legally speaking: No, you cannot. Non-Production Limitation The Program can only be deployed as part of the Licensee's internal development and test environment for internal non-production activities, including but not limited to testing, performance tuning, fault

IBM Worklight - Android SDK - Emulator deployment issue - Unfortunately, 'app' has stopped

為{幸葍}努か 提交于 2019-12-08 10:28:38
问题 I am on Mac 10.8.3, Eclipse Juno with latest Android SDK 22.0.0, IBM Worklight version 5.0.6.1. I have made a small Mobile App using Dojo Mobile & HTML5/CSS3 in Worklight but having hard time to deploy on Android Emulator though it's running fine in Xcode. Here is the logcat, looks like something goes weird from Java end hence getting the runtime exceptions. 05-28 09:56:45.197: E/AndroidRuntime(562): FATAL EXCEPTION: main 05-28 09:56:45.197: E/AndroidRuntime(562): java.lang.RuntimeException:

Exporting Data via URL(REST API) from IBM MobileFirst analytics v 7.0.0

梦想的初衷 提交于 2019-12-08 10:12:15
问题 I need to export data for various event types via URL(REST API) which can be manually downloaded from analytic console. (Administration -> Export Data). These event type includes "Custom Activity", "Server Logs" etc as given in Event Type drop down. I found the API documentation is available for IBM Mobile First Platform version v7.1.0 and was able to export it via URL in v 7.1.0. For v 7.1.0 http://www.ibm.com/support/knowledgecenter/en/SSHSCD_7.1.0/com.ibm.worklight.monitor.doc/monitor/c_op