Skip to Content

SAPUI5 Offline Data - Does it work with the SAP Android Companion app?

I've downloaded the companion app for Android.

Works great to test mobile apps.

I've looking to setup offline data though, apparently this is a simple case of defining your stores in Manifest.json below.

Should this work on the Companion app? It doesn't seem to. I get no message to say my offline store is being provisioned or anything.

	"sap.mobile": {
		"_version": "1.1.0",
		"definingRequests": {},
		"stores": [
			{
				"name": "ZSV_SURVEY_SRV",
				"serviceRoot": "/SAPUI5-ABAP-SFI/",
				"definingRequests": {
					"SurveySet": "/Surveyset"
				}
			}
		]
	}
Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Best Answer
    Nov 16, 2017 at 02:18 PM

    The companion app does not support offline, you must build and test on a device or simulator.

    Regards,

    Jamie

    Add comment
    10|10000 characters needed characters exceeded

    • Thanks Jamie.

      Yeah ran a build with the above code and it attempted to create the offline store....

      It errored out but that's another story.

      Thanks for confirming.