ibm-mobilefirst

cordova-plugin-mfp-push causing “unexpected Mach-O header” error

夙愿已清 提交于 2019-12-08 06:29:49
问题 I have an IBM MobileFirst 8 cordova project, and I recently added the plugin "cordova-plugin-mfp-push". When I archive the project and try to export the build (ipa file), I am getting the following error Found an unexpected Mach-O header code: 0x72613c21 When I click on Show logs button, I can see the following three log files IDEDistribution.critical.log 2017-05-29 20:30:43 +0000 [MT] Failed to generate distribution items with error: Error Domain=DVTMachOErrorDomain Code=0 "Found an

How to develop for tablet using Worklight?

与世无争的帅哥 提交于 2019-12-08 06:19:22
问题 I have develop my UI under common folder, then I create a skin for my tablet and name it as android.tablet . But when I run it on my tablet simulator, it looks like this: I use below code in skinLoader.js : var userAgent = navigator.userAgent; var skinName = "default"; //android tablet if(userAgent.toLowerCase().indexOf("android") != -1 && userAgent.toLowerCase().indexOf("mobile") == -1){ skinName = "android.tablet"; alert("tablet!"); } //android phone else if(userAgent.toLowerCase().indexOf(

WL 5.0.6.1 Android - Updating App (.apk file) on top of installed App causes Web Resources load fail - WebView startup break - at first start

时光总嘲笑我的痴心妄想 提交于 2019-12-08 04:34:38
问题 When we are re-compiling the android APK with changes in the JS sources and use Testflight or Eclipse Android Tools to install this APK on top of an already installed APK of the app we are seeing the following problems at the first start of the App (the second time it works): The following prints are from the AVD with Android 4.3 API 18. The app startup also breaks on the real device, but we do not have debug prints yet. When we have: <encryptWebResources enabled="false"/> then we see: 09-04

Worklight Analytics payload

僤鯓⒐⒋嵵緔 提交于 2019-12-08 04:26:09
问题 Worklight 6.2.0, Mobile Web Environment The Worklight Info Center offers three formulations for logging an analytic message WL.Analytics.log('my record'); WL.Analytics.log({data: [1,2,3]}); WL.Analytics.log({data: [1,2,3]}, 'MyData'); I am successfully using the first of these, but the other two produce no analytics and my fail() function is not fired. I see in the online tutorials a further formulation WL.Analytics.log({_activity: "myActivity" }); this too produces no output. Question: Are

Detect Worklight Server Hostname/IP Address from Worklight Client code

你。 提交于 2019-12-08 03:42:02
问题 For a variety of reasons, I need programatic JavaScript access the the hostname or IP address of the Worklight server from the client code. For example: - I want to pull scripts and resources from the same host as the Worklight server - I have an out-of-band service on the Worklight host and I want to connect to it @IdanAdar has said that the address does not exist. I've search the WL object and cannot find it either. See Can we get the app version and IP address info using worklight api?.

Worklight Console redirects to port 9080

此生再无相见时 提交于 2019-12-08 03:20:13
问题 I am using Websphere Liberty 8.5.5 with IBM HTTP Server 8.5.5 and Worklight Server 6.0.0.1. I have configured IHS to redirect port 80 to Websphere port 9080. The redirection works properly for the front page , and entering domain.com/worklight/console directly opens domain.com:9080/worklight/console page. However, when I provide the credentials and click Login, the address bar changes to domain.com:9080/worklight/console page which should not happen as port 9080 is blocked over the firewall.

Worklight: multiple security realms

人盡茶涼 提交于 2019-12-08 03:08:19
问题 I want to know can we have multiple security tests defined in the authenticationconfig.xml file? Will it work fine, or cause problems? Sort of like this: <securityTests> <mobileSecurityTest name="myMobileSecurity"> <testUser realm="myAppRealm"/> <testDeviceId provisioningType="none"/> </mobileSecurityTest> <customSecurityTest name="PushApplication-custom-securityTest"> <test realm="PushAppRealm" isInternalUserID="true" /> </customSecurityTest> <customSecurityTest name="myAppSecurityTestCustom

IBM Worklight session control with back-end server

心已入冬 提交于 2019-12-08 02:25:42
问题 Got a question on IBM worklight server, thanks in advance for any comments on this subject. Workflow: User --> WorkLight Server --> Back-end Server Scenario: (1) Designed a mobile application with IBM worklight studio and deployed to worklight server. (2) Must use worklight server for the first entry point (user authentication by LDAP via worklight server) (3) This mobile application designed for downloading/uploading huge file size (10mb to 1gb) to the backend server behind the worklight

How to set up MySQL in IBM Worklight

做~自己de王妃 提交于 2019-12-08 01:38:55
问题 I just have learned about IBM Worklight, and I was wondering of how to set up and configure MySQL database. I've set Worklight Adapter, but, I have no clue of how to make database with MySQL. 回答1: You should go through the IBM Worklight Getting Started training materials to properly familiarize yourself with IBM Worklight. The steps to make a Worklight project work in conjunction with MySQL are as follows. The Database: Download and install MySQL (v5.1 or v5.5) Download the MySQL Connector/J

IBM MobileFirst Platform iFix doesn't update the version displayed in Operations Console

怎甘沉沦 提交于 2019-12-08 01:16:19
问题 I've just updated my IBM MobileFirst Platform Server from 8.0.0.00-20160822-2140 with the latest iFix 8.0.0.0-MFPF-Server-IF201702201900 However, after a successful update, the server is still showing the same old version in the IBM MobileFirst Platform Operations Console. Does it means it's still not updated with the latest iFix? I've double confirmed that the fix is indeed installed: Do I need to update those superseded iFix first before upgrading to the latest iFix? 回答1: Vivin above is