on ‎2021 Nov 12 8:23 PM
applicationapp.pngfile-mdkproject.png


We currently have an MDK application built in sab business application studio, in the application we implemented a rule that returned the latitude and longitude of the mobile device, we used the nativescript-geolocation plugin and "tns-core-modules / ui / enums", the version prior to nativescript 8, and the schema version was 5, the migration to schema version 6 is carried out and at the same time the plugins for geo-location @ nativescript / geolocation and @ nativescript / core are updated following the tutorial https://developers.sap.com/tutorials/cp-mobile-dev-kit-nativescript-geolocation.html , once this is done, the application is built through the mdk_sdk version 6.0.1 client, the MDK.project.json file is updated with the @ nativescript / geolocation plugin, I execute the commands for the construction and it generates the apk file for me, I install the application on my device but when viewing the coordinates the rule does not return anything, it should be noted that the whole process was done following the tutorial in developers.sa p.com.
Attached to this document images with the project settings.
Help others by sharing your knowledge.
AnswerRequest clarification before answering.
We found out that the reported issue has caused due to some breaking changes introduced in recent update to the nativescript-geolocation plugin.
I have update the tutorial (fixing JavaScript rule, permission & GooglePlayService version conflict), please follow it again.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 6 | |
| 5 | |
| 4 | |
| 3 | |
| 3 | |
| 2 | |
| 2 | |
| 2 | |
| 2 | |
| 2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.