Skip to Content

How to toggle between online and offline mode in hybrid Fiori app?

Feb 05 at 07:38 AM


avatar image

I am creating a hybrid (and web) app using SAP Fiori Kapsel plug-ins, WebIDE and the Mobile Service for Development and Operations from the SAP Cloud.

The web based app is using some of the functionalities that are not supported by the offlline plug-in (e.g. function imports and deep inserts). Both of those features are very important and I have to have them - or something similar - available for the hybrid app aswell.

From my understanding, the hybrid app is launched in "offline mode" by default. I would like to use this offline mode only as a fall back and call the "true" OData service as often as possible.

How can this be done? I already tried to close the store or to remove the custom http client, but the app stopped working in this case ;)

Thank you.

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

0 Answers