ibm-mobilefirst

add dummy authentication to IBM worklight to create new sessions

[亡魂溺海] 提交于 2020-01-05 04:30:30
问题 Have a multipage form that allows users to register a card through our worklight mobilewebapp. There is no authentication for this as it is just a web based form that uses adapters to get the information back to the servers and continue through the process. Apparently this is bad and the clients are sharing the same session if they start the process at the same time. Basically, if two or more devices begin the enrollment process at the same time, the last one that started will cross-polinate

White screen appears for a split second after splash screen

被刻印的时光 ゝ 提交于 2020-01-05 04:10:14
问题 I have made an app with IBM mobileFirst 7.0 (I also use Ionic) and I notice that right after the splash screen and for half a second or so, a white screen appears. I searched the web and some people said that uncommenting autoHideSplash: false, in wlInitOptions and adding this code: var app = angular.module('app.controllers', []); //manually hide splash screen app.run(function($ionicPlatform) { $ionicPlatform.ready(function() { setTimeout(function() { WL.App.hideSplashScreen(); }, 100); }); }

IBM Worklight 6.1 - When are these properties used? publicWorkLightHostname/Protocol/Port

孤街浪徒 提交于 2020-01-05 04:08:13
问题 I do not understand the purpose of the properties listed in worklight.properties: publicWorkLightHostname publicWorkLightProtocol publicWorkLightPort Those properties are set when you do in eclipse the Run As -> "Build settings and deploy target..." Are they duplicated? Which one is the valid one? Are they used in different ways? I have read the documentation in info center: https://pic.dhe.ibm.com/infocenter/wrklight/v6r1m0/index.jsp?topic=%2Fcom.ibm.worklight.deploy.doc%2Fadmin%2Fr

IBM Worklight 6.1 - Adapter invocation failing in iOS 5 after upgrading to v6.1

不羁岁月 提交于 2020-01-04 05:49:09
问题 We have developed a Worklight-based Hybrid application with Native pages as well. Our start page is a native page from which we are invoking an adapter. After upgrading to Worklight 6.1, this adapter invocation is now always failing in iOS 5, however continues to function correctly in iOS 6 and iOS 7. When the adapter invocation fails, it returns raw HTML as the response: Adapter Failure Response. In Xcode Console this is the error we see: [ERROR] Worklight: -[WLRequest requestFailed:]:338:

Apple review objection Invalid directory name for Plugins folder (Child Browser Cordova)

匆匆过客 提交于 2020-01-04 05:26:52
问题 I recently published my Worklight based App on Apple Store. Now i have received an email from Apple that says: Invalid Directory Name - Your app contains a directory name that is already reserved: ' Plugins '. You must rename this directory. In this App I am using Child browser plugin which is using plugin directory. Now if i rename this "Plugins" folder then i have to do many changes, i hope it should be possible. Kindly suggest me or guide me, what areas i must look into when editing this

Can't run IBM worklight app in real device android

烈酒焚心 提交于 2020-01-04 05:26:27
问题 I build a worklight application. create android app and test this application with local machine , its working fine with emulator.but when i try to test this application with android tablet it through error "The Application failed connecting to the service". I try to find application-descriptor.xml and fix localhost to 192.168.1.1:8080 my ip local machine,but it not working.In my tablet I can't to go to 192.168.1.1:8080/console/index.html Can anybody help me regarding this issue. how can i

Worklight optionsMenu

泪湿孤枕 提交于 2020-01-04 03:57:10
问题 I'm trying to implement optionsMenu in a WL application, testing it in Android (sdk level 10 in my project settings, runtime is Android 4.0.3). But no menu is available. I'm connecting to my local server through HTC usb pass-through, so i have to deal with worklight settings to change network address. I've gone through IBM doc (WL getting started and infocenter), but there is no full explanation/code. Here are my questions/issues: 1) how to deal with worklight settings in application

Worklight optionsMenu

青春壹個敷衍的年華 提交于 2020-01-04 03:57:07
问题 I'm trying to implement optionsMenu in a WL application, testing it in Android (sdk level 10 in my project settings, runtime is Android 4.0.3). But no menu is available. I'm connecting to my local server through HTC usb pass-through, so i have to deal with worklight settings to change network address. I've gone through IBM doc (WL getting started and infocenter), but there is no full explanation/code. Here are my questions/issues: 1) how to deal with worklight settings in application

IBM Worklight with Dojo Toolkit | dojo/main.js 404 not found issue

岁酱吖の 提交于 2020-01-03 05:47:11
问题 I have recently started exploring IBM Worklight which looks really promising to build hybrid mobile apps, in order to do so, created a Worklight project while choosing Dojo Toolkit as a default framework choice and got to see the missing dojo/main.js issue. Here is the HTML code: <!DOCTYPE HTML> <html> <head> <title>TD_Mobile</title> <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"> <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0,

Worklight Push notification in app without authentication

主宰稳场 提交于 2020-01-03 05:23:09
问题 I am trying to implement the push notification feature for a Worklight application. In the Push docs it is stated that the app should use authentication, also the sample project contains a login form used in this purpose. The problem is that my app does not require any authentication and/or login. I have the PushAdapter successfully deployed, also the required client code but I cannot get the client registered in the WL's Push notification console. Any hints will be appreciated. Thanks 回答1: