ibm-mobilefirst

IBM Mobilefirst : App gets restarted when I click on the Notification

回眸只為那壹抹淺笑 提交于 2019-12-12 01:38:20
问题 I am developing android native app with MFP Integrated. I have Implemented MFP push notification and it works fine. I get the notification. But when I click the notification my app restarts. The actual issue was I have a splash activity which is launched on my app launch and where I am initializing all my MFP stuff and killing this activity taking the app to login activity. And in My manifest file I am defining my receiver as below. <activity android:name="SplashActivity" android:theme="

Lack of Certificate Pinning in IBM Mobile First Platform 7.1

旧巷老猫 提交于 2019-12-12 01:18:13
问题 The IBM Mobile First Platform 7.1 is not Supporting Certificate Pinning. We tested the apt with IBM Blue-mix Security Scan. Lack of Certificate Pinning Severity: Causes: Certificate pinning is not implemented/disabled for this connection. X-Force: None OWASP: M3 Fix: Enable certificate pinning for this connection. 回答1: In MobileFirst Platform Foundation 7.1 the support for certificate pinning is as follows: Hybrid apps: supported Native apps: supported MobileFirst Cordova apps: not

IBM Worklight - Can I change invokeProcedure hostname and port?

半腔热情 提交于 2019-12-12 01:08:46
问题 I'm doing a demo application, and I need the app to be able to connect to different worklight servers. but I can't find where can I change the url 回答1: If you are referring to Worklight Adapters - you cannot change the adapter's connectivity properties during runtime. Explained here, here and here. If you are referring to Worklight Server - I assume then that you are using Worklight 6.0; Right-click on the application folder >> Run As >> Build for Remote Server (further explained here). 来源:

build all and deploy error in 5.0.6

前提是你 提交于 2019-12-12 01:07:04
问题 build all and deploy error in 5.0.6 -- create one empty worklight project, build all and depoy......then the error in the console as blow....... Thanks in advance... [2013-03-21 21:54:00] Worklight Server started successfully on localhost:8080 [2013-03-21 21:54:00] Activating Worklight project: SDMobileBank... [2013-03-21 21:54:06] Activation failed. Bundle didn't start:D:\Worklight_workspace\SDMobileBank\bin\SDMobileBank-customization.jar [2013-03-21 21:54:32] Activating Worklight project:

IBM Worklight 6.1 - How to customize WL.BusyIndicator's height and width?

匆匆过客 提交于 2019-12-12 01:05:23
问题 I am using busyindicator in worklight 6.1 version for ios environment and want to know how to increase height and width for indicator. Code for showing busy indicator which i am using busyInd = new WL.BusyIndicator('content', {text : 'Loading Data Please Wait....'}); busyInd.show() //for showing indicator busyInd.hide() // for Hiding indicator It is showing me busyIndicator but it is very small and text is too long which is not showing properly. I want to customize the height and width. Can i

IBM Worklight - How to use adapter domain and port properties taken from external file?

做~自己de王妃 提交于 2019-12-12 01:05:21
问题 I have a web service. Its domain and port can be changed. So I want to read port and domain from file or db. When this information change, I update them in db or file. Adapter XML: <domain>${adp.hostname}</domain> <port>${adp.port}</port> worklight.properties: adp.hostname=localhost adp.port=10080 This is working fine. But I'd like to take adp.hostname and adp.port from file or db. 回答1: Something to remember about adapters is that you cannot change in real-time any of the properties set in

Worklight: How to get current device ID for Push subscription

情到浓时终转凉″ 提交于 2019-12-12 00:32:31
问题 I want to get the currently subscribed device ID ? how i can get it on the client side or on the server side? I know the subscription table, but i donn't want to get from it. Secondly, if one user has already subscribed two devices and now he/she is subscribing third device, i want to capture the third (current) device ID. Later, I have to save that third device Id in my another table. If there is no way to identify the currently subscribed device , then if i go to subscription table, then

Worklight Database Integration

夙愿已清 提交于 2019-12-12 00:32:15
问题 In worklight.properties server config file, you may specify only 1 database type for Worklight Server to work with. But is there a scenario where it a Worklight app can handle connecting to multiple Databases? One example could be, core Worklight databases tables (WLREPORT, WRKLGHT) uses an Oracle DB. But some SQL adapters connect to a different Database like mysql through adapter configs Does Worklight automatically reconnect to DB after a failure? Is Worklight app compatible with Oracle ASM

IBM Worklight - Error charset/encoding in data response from webservice

China☆狼群 提交于 2019-12-12 00:28:08
问题 I use IBM worklight to develop a hybrid app. In the local development environment everything is OK. I have an issue when I deploy to an external server (with oracle database). My app calls a webservice via an adapter, but the data in the response has an encoding problem: unicode characters do not display correctly. I changed the charset (in the adapter invoke function) to ISO-8859-1 , and then unicode characters display correctly. function invokeWebService(body, headers, soapAction) { var

Can I still download Worklight Studio 5.06 after the release of 6.0, and how do I do it?

杀马特。学长 韩版系。学妹 提交于 2019-12-12 00:27:32
问题 Can I still download Worklight Studio 5.06 after the release of 6.0, and how do I do it from within Eclipse? 回答1: For the free Developer Edition, you can now download the previous release (5.0.6.x) as a zip file and install it in eclipse using the install archive option. Get the zip file here: http://public.dhe.ibm.com/ibmdl/export/pub/software/products/en/MobileFirstPlatform/iws_update_site_wde.5.0.6.2.zip Note: This version is not available on Eclipse Marketplace; only the latest IBM