ibm-mobilefirst

Worklight Studio 6.2.0.01 in Ubuntu not creating .xcodeproj

可紊 提交于 2019-12-12 05:07:19
问题 I'm using Worklight Studio 6.2.0.01 in Eclipse Luna and Ubuntu 14.04 (Also tested it in Ubuntu 12.02 and Eclipse Kepler). I've followed the following steps to create a hybrid application with the iOS environment: Create a Worklight Project Create a Worklight hybrid application New Worklight environment (iPad) Run as -> Build All Environments Run as -> Run on worklight development server There are no errors in Worklight nor Server console Problem: the native folder inside apps\my-app\ipad

How to get user id from adapter

偶尔善良 提交于 2019-12-12 04:59:52
问题 Using Mobilefirst Platform 7.1, I have a custom authenticator and login module. It the similar as the sample in the docs I also have an java adapter with an endpoint that is protected with a realm that uses the authenticator and login modules. WLServerAPI serverAPI= WLServerAPIProvider.getWLServerAPI(); @Path("/qdef") @Produces("application/json") @GET @OAuthSecurity(scope="MyAuthenticatorRealm") public Response getQdef(){ SecurityAPI security = serverAPI.getSecurityAPI(); /** Next line

MobileFirst 6.3 - Enabling location trigger in Background in Hybrid Applications for iOS environment

霸气de小男生 提交于 2019-12-12 04:56:57
问题 I'm using MobileFirst Platform 6.3, I'm trying to implement a Hybrid Application for Android and iOS, where I have created enter/exit location triggers in it, with "enableHighAccuracy=true", the application should always listen to the triggers when it is in the foreground and background. After adding the right permissions for both environments (Android, iOS), as stated in the KnowledgeCenter link: http://www-01.ibm.com/support/knowledgecenter/SSHS8R_6.3.0/com.ibm.worklight.dev.doc/dev/r_wl

Blackberry 10 Webworks with Worklight Geolocation

孤街醉人 提交于 2019-12-12 04:46:41
问题 I'm working with Worklight 6.1 and WebWorks SdK 2.1 for BlackBerry 10. my issue is when I try to get the User location invoking this function : navigator.geolocation.getCurrentPosition( onSuccessGeo, onErrorGeo, {enableHighAccuracy: true}); I get this error : TypeError: 'undefined' is not an object (evaluating 'e.code') geolocation.js:115 Though when I run a sample project based on Webworks SDK 2.1, with cordova, the geolocation works fine. I made the same configuration and permissions for

Direct Update with custom URL not working on iOS 7.1.2

放肆的年华 提交于 2019-12-12 04:44:43
问题 Since my upgrade to WL 6.2 direct update isn't working anymore on iOS. What I'm trying to achieve is to get direct update working with the iPad and my windows machine. This way I can develop on my windows machine and use direct update to push my changes to the iPad (iOS 7.1.2). Following scenario describes my problem. Create a new WL project in worklight studio on Mac (just installed the latest WL plugin today (platformVersion=6.2.0.00.20140724-2139). Add iOS as environment and replace the

IBM MFP Logs disabling on ios simulator

老子叫甜甜 提交于 2019-12-12 04:36:14
问题 I have disabled all the NSLogs/print from my ios/swift project. But MFP Sdk is still logging the response when i run the app on simulator. When i run the app on device then it works properly by not showing any logs. How can i disable on simulator also?? 回答1: You can't disable logs in MFP 7.x SDK's while running on simulator as it is meant for development and testing phases. You can raise a request for enhancement of MFP product here. 来源: https://stackoverflow.com/questions/43494278/ibm-mfp

Can't receive push notification in iOS?

混江龙づ霸主 提交于 2019-12-12 04:32:28
问题 Im trying to send notification with IBM mobile first 8 but i can't receive notification in IOS . The deviceId is well registered to IMF server But when i try to test and send notification from server to my app .the notification is not received . I used this doc : https://github.com/MobileFirst-Platform-Developer-Center/PushNotificationsCordova/blob/release80/www/js/index.js I can receive notification in Android . Thank you for your helps. 回答1: You only point to the javascript file, not to the

How to use MQA setReportOnDoubleSlideEnabled in an iOS App?

不羁的心 提交于 2019-12-12 04:25:10
问题 In the Starting an iOS session documentation topic the [[MQALogger defaultSettings] setReportOnDoubleSlideEnabled:false] method is mentioned, however the library does not have such a method. Is there a library update the contains this method, or did I miss something? 回答1: Note that the feature you are trying to enable is deprecated (meaning that is no longer maintained and could very well fail to work), and should likely not be used. It might as well be that you are indeed using an MQA

Reading sendFormParameters params for JS Adapter

为君一笑 提交于 2019-12-12 04:20:35
问题 I have javascript WLResourceRequest.POST call at client side. I'm trying to read the received values at server end. On the server side I can to read only "AB". Client side code: var resourceRequest = new WLResourceRequest("/adapters/AdapterNewGet/getFeed", WLResourceRequest.POST); var formParameters={"params":"['AB','CD','EF']")}; resourceRequest.sendFormParameters(formParameters).then(app.onSuccess, app.onFailure); Adapter Side code: function getFeed(tag) { var input = { method : 'get',

IBM worklight:7.1: failure. state: 500, response: The server was unable to process the request from the application. Please try again later

a 夏天 提交于 2019-12-12 04:18:17
问题 I am using mobilefirst 7.1 CLI and have my services running on tomcat. My adapter talks with the services on the servers and gets back the response. I have only desktopbrowser environment in the application (Guessing that should not matter at all). I am getting this error " failure. state: 500, response: The server was unable to process the request from the application. Please try again later." And followed by : Client registration failed with error: {"responseHeaders":{"$WSEP":"","Date":"Mon