14
Views
5
Comments
Solved
[Background Geolocation LT] How to add licence key at BackgroundGeolocationLT_Plugin
Question
background-geolocation-lt
Mobile icon
Forge asset by Tye Peck
Application Type
Mobile

Estoy desarrollando una aplicación móvil que se ejecuta en segundo plano con la ayuda del componente https://www.outsystems.com/forge/component-overview/8162/background-geolocation-lt-o11, funciona en modo de depuración pero sale el mensaje de falla de licencia, estoy tratando de hacer desaparecer el mensaje y compré mi licencia, pero cada vez que inicio el complemento, aparece el mensaje de error de validación de licencia,  No sé si es porque estoy en modo de depuración y por eso no tomé la licencia.


I've already tried to add the following but it's still the same: 

{

"preferences": {

"Android": [{

"name": "com.transistorsoft.locationmanager.license",

"value": "MY LICENSE KEY"

        }]

    }

}


And


{

"plugin": {

"url": "https://github.com/transistorsoft/cordova-background-geolocation-lt",

"variables":

[

{

"name": "com.transistorsoft.locationmanager.license",

"value": "MY LICENSE KEY"

                }

            ]

    }

}

In the documentation of the Git component they advise adding this:

    


2024-02-17 05-03-03
Miguel Angel Garcia Velazquez
Solution

After many attempts to configure the license, here are the steps I took to configure it in case someone has the same problem or would like to occupy it


1.- Create an empty repository

2.- Clone the component's repository 

https://github.com/transistorsoft/cordova-background-geolocation-lt

3.- We change the configuration of the plugin.xml file for the following syntax that will receive the licence_key from the extensibility configurations configuration

4.- We configure the extensibility configurations with the licence_key 

5.- We generate the apk and verify that we no longer have the message of licence failure.

I hope I can help you

UserImage.jpg
SELVAKUMAR MAYILSAMY

Could you please provide the detailed steps to accomplish this? 

2019-01-07 16-04-16
Siya
 
MVP

Consider reaching out to the component's customer support for assistance: @ https://www.transistorsoft.com/

2024-02-17 05-03-03
Miguel Angel Garcia Velazquez

I already did it, but they ask me for the config.xml file but we do not have access to this file, since it is hosted on the outsystems servers, and that also the application is a component of the forge that downloads in any case the owner of the component is the one who should be able to access this file.

2019-01-07 16-04-16
Siya
 
MVP

When you add values to the extensibility configuration, they should be included in the AndroidManifest.xml when the APK is built. I suggest decompiling the APK and extracting the AndroidManifest.xml to check if your license key is present. You can also find the config.xml file after decompiling the APK.

2024-02-17 05-03-03
Miguel Angel Garcia Velazquez
Solution

After many attempts to configure the license, here are the steps I took to configure it in case someone has the same problem or would like to occupy it


1.- Create an empty repository

2.- Clone the component's repository 

https://github.com/transistorsoft/cordova-background-geolocation-lt

3.- We change the configuration of the plugin.xml file for the following syntax that will receive the licence_key from the extensibility configurations configuration

4.- We configure the extensibility configurations with the licence_key 

5.- We generate the apk and verify that we no longer have the message of licence failure.

I hope I can help you

UserImage.jpg
SELVAKUMAR MAYILSAMY

Could you please provide the detailed steps to accomplish this? 

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.