Skip to Content
1
Nov 16, 2022 at 09:27 AM

SAP MDK App and nativescript-background-fetch plugin

739 Views Last edit Nov 16, 2022 at 10:49 AM 2 rev

Hi Experts

I want to have more control of my SAP MDK Application when it's run in background mode and I saw the following nativescript-background-fetch in this link:

nativescript-background-fetch

Can this nativescript be used in a SAP MDK Project? I don't understand the part mentioned in the link about AppDelegate.

Can I have some examples of how to use it in an MDK Project App in BAS?

Also, how should this plugin be included in the MDKProject.json file for the Cloud Build phase? I can't identify which version should be reported in the "NSPlugins" parameter.

For example, for nativescript/geolocation you have to do as in the figure below:

mdkproject-json-example.png

How should I do for nativescript-background-fetch instead?

Thanks so much for any help

Attachments