SAP-samples/cloud-mdk-tutorial-samples

MDK - NativeScript geolocation plugin issue (syntax error) - MAC

Closed this issue · 3 comments

Hello SAP,

I've been researching some materials for Demos and POCs and decided to reproduce the tutorial below:
https://developers.sap.com/tutorials/cp-mobile-dev-kit-nativescript-geolocation.html

So i've done everything mentioned on the current version of the tutorial, downloaded the latest available SDK (5.2.4, for MAC):
image

After successfully building the MDK client, when running the app i got the following error:
image

It's even described as a known issues on the official SAP doc:
https://help.sap.com/doc/f53c64b93e5140918d676b927a3cd65b/Cloud/en-US/docs-en/about/releases/mdk/known-issues.html
image

But recommending version control on the plugin:
image

So based on the current mac version (5.2.4) of the MDK Dependencies Installer, here is what the project looks like:
image

When we got updates (as you can see above) specially for NativeScript and core...
image

So for a full "correct path" on the tutorial, for mac users, what will be the official tutorial approach here to solve this issue?

Regards.

@sequeiravistex

This tutorial has been updated with latest MDK release 6.0
Due to some technical issue, the new version is not yet available on the trial download page, team is already looking into it.

You have 2 options:

  • either download the latest MDK SDK from the service marketplace and then create a branded client
  • OR follow this guide (should work with 5.2.4) for the Rule and MDKProject.json

Hello Jitendra, sure... i've opened just to document and guide for the future updates on this tutorial...

As of now, another options is to use the "other" nativescript geolocation plugin (https://www.npmjs.com/package/nativescript-geolocation), it works on the current tutorial setup/code...

Thanks.

MDK SDK 6.0.x is now available on community download page.