cancel
Showing results for 
Search instead for 
Did you mean: 

Unable to run packaged ui5 Cordova app deployed on SAP Mobile Services cloud foundry

former_member776208
Discoverer
0 Kudos

Hi All,

We are trying to run packaged sapui5 cordova application on SAP Mobile services. We created a hybrid application on Mobile Services Cloud Foundry and then deployed our app in Mobile App Update feature of that hybrid application and it was added successfully. We are attaching screenshot for your reference

when we try to run the application using SAP Mobile Services Client and using our Btp credentials then we just get a blank screen along with a message "No Application metadata found. Please deploy your application and try again". Please find screenshot

Below is the process we followed to build packaged sapui5 cordova application

1) cordova create ui5app-master.

2)cd ui5app-master

3) cordova platform add android

4) cordova plugin add Kapsel-plugin-appupdate --searchpath <path where kapsel sdk saved>\plugins

After all these commands we get following folder structure

After this we created one folder named as android and added www folder and config.xml file in that android folder. We zipped that android folder and uploaded on Mobile App Update feature on SAP Mobile Services.

Please let us know if we missed any step or if we are doing something wrong

Regards

Shivam

Accepted Solutions (0)

Answers (1)

Answers (1)

Jitendra_Kansal
Product and Topic Expert
Product and Topic Expert
0 Kudos

shivam.u.singh

SAP Mobile Services Client is used for the SAP mobile development kit (MDK) based applications not cordova/hybrid apps.

You can find some info on how to run hybrid/kapsel apps https://help.sap.com/viewer/42dc90f1e1ed45d9aafad60c80646d10/3.2.4/en-US/7c1cd90e7006101480f0a29d163...

former_member776208
Discoverer
0 Kudos

Hi Jitendra,

Thanks for the information. I have gone through the documentation and I came to know that cordova applications can only be tested in android studio and xcode

I also wanted to check then what is the role of "SAP Mobile Services" service in cloud foundry for hybrid cordova based apps which are not built on MDK framework.