on 02-22-2016 12:43 PM
Hi,
I tried to build a customized Fiori Client.
To do this is used the this Link
My Problem is, that after i've build the App, it won't start.
/*jslint browser:true*/
/*global sap*/
(function () {
"use strict";
//add an event listener for the Cordova deviceReady event.
document.addEventListener('deviceready', function () {
if (cordova.require("cordova/platform").id === "ios")
{
StatusBar.backgroundColorByName("white");
StatusBar.styleDefault();
StatusBar.overlaysWebView(false);
}
sap.FioriClient.loadByIndexPage = true;
});
}());
I found out, that the sap.FioriClient (line 13, js/index.js) is undefined.
Has anybody had the same problem?
I didn't change anything and have followed the structures in the Tutorial.
Thanks for your help!
Regards,
Dennis
Hi Dennis,
My guess is your plugins did not load correctly or maybe it's not there in the project. Go to the Staging folder/www/plugins/, you should see list of plugins then look for kapsel-plugin-fioriclient. Otherwise look at rebuilding and try sudo cordova -d prepare instead. I've built it a number of times and did work without fuss. Check your logs as well in the client.
Regards,
Raj
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Dennis ,
I am facing the same problem . Did you resolve this ?
Sreehari
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You can look for more errors. In xcode debug screen are you getting any other error also.
Regards,
Sarbjeet Singh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
10 | |
9 | |
8 | |
6 | |
6 | |
6 | |
5 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.