ibm-mobilefirst

Worklight(6.1v) hybrid app - need to open other application from my app

送分小仙女□ 提交于 2019-12-02 12:49:15
This is the case 1) check whether someXXX app is installed in the device 2) if installed open the app. 3) if not, open play store/App store app with someeXXX page. if there any examples or codebases or links provided would be helpful and appreciated. Thanks Idan Adar You can also take a look at the following accepted answer: IBM Worklight - How to launch another app? Two options are provided within: Using URI schemes Using a Cordova plug-in in your Worklight application (demo project attached) Check this plugin, looks like it answers all your points: https://github.com/lampaa/org.apache

Unable to use HTTPS for MobileFirst Console 6.3

被刻印的时光 ゝ 提交于 2019-12-02 12:46:35
I am using MobileFirst 6.3 ontop of WAS Liberty 8.5.5.4. I am able to access the console via HTTP, but fail to do so via HTTPS. With HTTP: With HTTPS: This is the server.xml: server.xml And the messages.log: messages.log You must install from IBM fix central the last 6.3 ifix that includes : http://www-01.ibm.com/support/docview.wss?uid=swg1PI30521 http://www-01.ibm.com/support/docview.wss?uid=swg1PI31900 来源: https://stackoverflow.com/questions/28243429/unable-to-use-https-for-mobilefirst-console-6-3

IBM Worklight 5.0.5 - Play custom sound on push notification

大城市里の小女人 提交于 2019-12-02 12:46:34
When I use WL.Server.notifyAllDevices(userSubscription, { badge: 1, sound: "notification.wav", activateButtonLabel: "ClickMe", alert: notificationText, payload: { foo : 'bar' } }); to push a notification in IBM Worklight 5.0.5 on Android, it does not seem to be possible to use the custom sound option. No matter where I put the sound file, Worklight does not find it. According to the client traces, it does not even search for the file. Has anybody ever tried this successfully? To use a custom notification sound: If the folder does not exist already, add a folder named raw under the existing

.wlapp file deployment error in Worklight

与世无争的帅哥 提交于 2019-12-02 12:34:38
问题 I am migrating a Worklight application from my development environment in Eclise to a Testing environment on Tomcat 7, with MySQL as my Worklight database. I followed the instructions given @ Worklight Guide and IBM Guide for setting up MySql for Worklight. When deploying via Worklight Console, the console deploys adapters without a problem, but while deploying the .wlapp files, there is a DB error: [ERROR while deploying .wlapp of size 4.5MB ] Failed to deploy application 'XXXXXXXX.wlapp'. :

IBM Worklight 5.0.6.x - Hybrid Android application can't run on real device

本小妞迷上赌 提交于 2019-12-02 12:27:35
I have created a Worklight application with the Android environment and tried running it. It is working fine in the Android Emulator but when I try to run it in an Android device it shows an error: The application has unfortunately stopped Can anybody help me regarding this issue? Idan Adar You have probably installed ADT v22. I have provided an answer for this problem in this question: worklight auto-generated android folder does not run on avd This happens due to a change Google has made in this version of ADT. It affects users of ADT v22 only. Worklight will have a built-in fix for this in

iOS Application crashes when trying to register the device to IBM Mobile First Push service on Bluemix

雨燕双飞 提交于 2019-12-02 12:23:50
I have an iOS 9 application running on an iPad mini 4 (iOS 9.0.2). It crashes when trying to register the device to my IMFPush service instance on Bluemix. Here is the code that performs the registration in my App delegate: func application(application: UIApplication, didFinishLaunchingWithOptions launchOptions: [NSObject: AnyObject]?) -> Bool { // Push notifications let notificationTypes: UIUserNotificationType = [UIUserNotificationType.Badge, UIUserNotificationType.Alert, UIUserNotificationType.Sound] let notificationSettings: UIUserNotificationSettings = UIUserNotificationSettings(forTypes:

Splash Screen with busy Indicator in worklight app

橙三吉。 提交于 2019-12-02 12:21:06
I am working on a new app where it is needed to add a busy indicator or progressive bar in the splash screen . It is a hybrid app . So the implementation should in Web resources(html, js and css) and the app is done in worklight so the implementation should also be in worklight . Do you have any suggestion to solve this issue In Hybrid applications the ability to control over the splash screen (= change its appearance, duration, and other things like that), is currently not possible in the manner you would like - by using HTML, JS, CSS... The ability to do so (in Android and iOS only) will be

FWLSE3034E: The application “App name” for the runtime “runtime name” does not exist in the Worklight administration database

为君一笑 提交于 2019-12-02 11:39:48
I am getting the following error when compile and build the App pointing to remote server. I was checking the server configuration, everything looks correct. It began showing the error when implementing Post Notifications functions. MobileFirst plugin in Eclipse = 6.3.0 BinaryDownload E FWLSE3002E: The resource is not found. com.ibm.worklight.admin.common.util.exceptions.NotFoundException: FWLSE3034E: The application "App name" for the runtime "runtime name" does not exist in the Worklight administration database. The database may be corrupted. at com.ibm.worklight.admin.services

Multiple Mobilefirst-Server artifacts concurrent deploy

≯℡__Kan透↙ 提交于 2019-12-02 11:33:57
I use a batch procedure for deploying MFP v7 artifacts (wlapps and adapters). The procedure is based on the standard ant tasks defined in worklight-ant-deployer.jar. The MFP environment runs onto a WAS cell, and consists of a single AdminService application managing multiple WLRuntimes. Is it possible to run two (or more) deploy tasks concurrently against different WLRuntime targets ? Furthermore, sticking to a single WLRuntime, is it possible to deploy different multiple artifacts concurrently ? Thanks in advance for any answer/comment. Ciao, Stefano. For a single WL runtime, all deployments

Is it possible to access to the HTTPRequest in the worklight adapter implementation?

可紊 提交于 2019-12-02 11:17:06
Is is possible somehow to access the httprequest inside the code of the adater? The root reason for asking this is a bit tricky... I need to know the ip of the worklight server to use it later in the app for other uses. From the app I have not found any API that could help. Detect Worklight Server Hostname/IP Address from Worklight Client code In the server it was possible using the WL.Server.configuration["local.IPAddress"] to get the ip but that was static and now there is no "local.IPAddress". Any way this is static. Using J2SE API is possible to access to the network interfaces but as