ibm-mobilefirst

Worklight Appcenter Application Android App upload SQL Error

走远了吗. 提交于 2019-12-24 20:25:22
问题 I am trying to install IBMApplicationCenter.apk ( Appcenter application shipped with Worklight server for android ),using the Worklight ApplicationCenter console. This results in this SQL Error: Caused by: <openjpa-1.2.2-r422266:898935 nonfatal general error> org.apache.openjpa.persistence.PersistenceException: Data truncation: Incorrect datetime value: '' for column 'CREATED' at row 1 {prepstmnt 428593325 INSERT INTO APPLICATION_MD (ACTIVE, APNS_CERTIFICATE_PASSWORD, APNS_GATEWAY, CREATED,

IBM Worklight - How to enable App Authenticity in a native iOS app?

南笙酒味 提交于 2019-12-24 19:26:43
问题 We have a iOS and Android Hybrid App Environment in which we have App Authenticity successfully running (drop down available to control the feature) using: <mobileSecurityTest name="app"> <testAppAuthenticity/> <testUser realm="wl_anonymousUserRealm"/> <testDeviceId provisioningType="none" /> </mobileSecurityTest> We added a "iOS Native API" project to our Worklight project that we use for our native iOS client development in XCode 5. We are successfully able to connect to the WL server and

Error when using Parameters in Worklight HTTP Adapter

纵饮孤独 提交于 2019-12-24 18:07:59
问题 Using Worklight 6.2.0.0. I'm trying to consume one of our corporate web services via Worklight's HTTP Adapter. I have the WSDL for the web service, and I used the "Discover Backend Services" tool to generate the adapter JavaScript and XML. The web service has 2 input parameters and 3 output parameters, all strings. When I come to invoke the procedure on the client, I'm doing this: var invocationData = { adapter : 'messageHandlerAdapter', procedure : 'messageHandlerService_messageHandler',

push not initilizing when trying to create hybrid android application

為{幸葍}努か 提交于 2019-12-24 17:20:02
问题 I am trying to implement push notifications using bluemix and mobilefirst. I have used the following links to implement http://www.ibm.com/developerworks/library/mo-cordova-push-app/ http://mbaas-gettingstarted.ng.bluemix.net/hybrid#initialize-push - When i run the the below code I am getting the following message in the console: initPush called---------------- main.js:29 calling bluemix initialize with values---------------------- IBMBluemixHybrid.js:2956 [INFO] [DEFAULT] Hybrid initialize [

Cannot find referecnce to WLResourceRequest in Ionic 2 App

↘锁芯ラ 提交于 2019-12-24 16:50:35
问题 I created a provider in Ionic 2 ( v 2.0.0-beta.32 ) App powered by IBM MobileFirst Platform 8.0 ( mfpdev verion 8.0.0-2016070716 ) Beta. Following is the code: import { Injectable } from '@angular/core'; import { Http } from '@angular/http'; @Injectable() export class EmployeeService { data: any; constructor() { this.data = null; } load() { console.log('--> called employee service'); if (this.data) { // already loaded data return Promise.resolve(this.data); } // don't have the data yet return

Mobilefirst Push Notification doesn't work if app removed from recent list

僤鯓⒐⒋嵵緔 提交于 2019-12-24 16:34:13
问题 I'm working with MFPF CLI version 7.1.0.00.20160129-1927, I'm using my own project (Ionic) and the hybrid sample provided by the getting started module. In both case I'm able to subscribe and receive push notifications. But when I remove the app from recent list I'm not more able to receive push notification. The adapter message returned is with a positive result. The phone is an Android 5.1 Are there some issue we have to care about to have it working when the app is removed from recent list

Issues installing MobileFirst Studio v7.1

风流意气都作罢 提交于 2019-12-24 15:48:20
问题 Trying to install MobileFirst Studio v7.1.0 into clean Eclipse install -- either Mars (v5.1) or Luna (v4.4.2). Receiving error when trying to confirm the features indicating missing requirements. Any thoughts or reasons for this? 回答1: This has been identified as a defect introduced in a recent iFix and is in the process of being fixed. I will update this answer once a fixed version will be available via Eclipse Marketplace. As a workaround you can install an older release and then select to

Worklight v6: use multiple JSON stores concurrently in app

陌路散爱 提交于 2019-12-24 15:31:22
问题 Is it possible to use two or more JSON stores in a Worklight app at the same time (without switching back and forth)? When I initialize a second JSON store with a username/password, collections in the "default" JSON store that were initialized properly become inaccessible. Given that many functions in the JSON store api does not let you specify a target store, I am guessing that using multiple stores concurrently is not possible. If this is true, then how does one address the use case where

Adding third party Cordova Plugin in IBM Mobile first 7.1 using Eclipse

守給你的承諾、 提交于 2019-12-24 14:58:49
问题 I am new to IBM mobile firstplatform. I have installed the MFP 7.1 plugin in Eclipse. Any idea how do I add a third party Cordova plugin in my existing MFP project, using Eclipse? We can do it using command line. But I need to do it using Eclipse. 回答1: Actually, you cannot do this via command line. Hybrid apps created using mobilefirst do not support 3rd party plug-in installation via the Cordova CLI. The only way to do this by command line, is by creating actual Cordova applications (unlike

How to open the pre installed app from the another hybrid application using worklight and ionic framework

丶灬走出姿态 提交于 2019-12-24 14:36:13
问题 I have a requirement to open the waze application which should be installed in mobile device when the another hybrid app's button click event is fired. I don't have any idea on this. For this requirement i have to use worklight 6.3 & ionic framework. Any help is appreciated. 回答1: Your requirement has got nothing to do with Ionic. You also did not mention if this is for Android or iOS. Anyway, you can look at the following "regular" Hybrid project: https://www.dropbox.com/s/6fgtjhzgvl6p9n0