115
Views
5
Comments
Solved
[Background Geolocation LT] Background Geolocation LT Not working
Question
background-geolocation-lt
Mobile icon
Forge asset by Tye Peck

Hi, I'm using the Background Geolocation Plugin and was running with any error, but now I'm getting LICENSE VALIDATION FAILURE Invalid license key: [CHANGE ME]. I dont know how to fix it, can anyone help me??

2019-11-08 16-23-42
César Mateus Conceição
Solution

Bruno Guidetti wrote:

Hi, I'm using the Background Geolocation Plugin and was running with any error, but now I'm getting LICENSE VALIDATION FAILURE Invalid license key: [CHANGE ME]. I dont know how to fix it, can anyone help me??

 

Now you need to purchase a license. 

https://is.gd/L3aCHm

UserImage.jpg
Bruno Guidetti

Really, yesterday was working perfectly. Since when this payment is needed?

UserImage.jpg
Tye Peck

NOTE: The Android plugin requires purchasing a license. However, it will work for DEBUG builds. It will not work with RELEASE builds without purchasing a license


We simply expose this module https://www.transistorsoft.com/shop/products/cordova-background-geolocation which does require a purchase of a license to be used with android production builds.

This is clearly outlined in the overview of the forge component. 

UserImage.jpg
Peter Bruni

I have purchased a license and am know experiencing a crash when running on my mobile phone  IOS 

I modified the sample detailed below and then ran the application after rebuilding and deploying to my Iphone

BackgroundGeolocationLT_Plugin

changed to use the purchased license and latest version url .

{

    "plugin":  

    {

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

        "variables": [

            {

                "name": "LICENSE",

                "value": "purchased license"

            },

             {

                "name": "LOCATION_ALWAYS_AND_WHEN_IN_USE_USAGE_DESCRIPTION",

                "value": "Background location tracking is required for our app so we can..."

            },

            {

                "name": "LOCATION_ALWAYS_USAGE_DESCRIPTION",

                "value": "This app will notify you when near by one store."            

            },

            {

                "name": "LOCATION_WHEN_IN_USE_USAGE_DESCRIPTION",

                "value": "Will use to check your position and send push notifications to reminder you about your tasks."            

            },

             {

                "name": "MOTION_USAGE_DESCRIPTION",

                "value": "Will use to optimize to batery usage."            

            }

        ]

    }


}

Now when running the application: 
BackgroundGeolocationLTSample

A fatal error has occurred. Please contact OutSystems support: SIGABRT signal

eSpaceVer: Id=2379, PubId=0, CompiledWith=11.8.0.12006
RequestUrl: https://t4spartners-dev.outsystemscloud.com/BackgroundGeolocationLTSample/moduleservices/log?clientTimeInMillis=1597075183520 (Method: POST)
AppDomain: /LM/W3SVC/5/ROOT/BackgroundGeolocationLTSample-1922-132415482061197659
FilePath: C:\OutSystems\Sandboxes\YQJFNP002\Platform Server\running\BackgroundGeolocationLTSample\
ClientIp: 73.34.42.153
DeviceUUID: F1BF5832-BB7B-4D5F-82EF-707AE1BB30D2
Locale: en-US
DateFormat: yyyy-MM-dd
PID: 4804 ('w3wp', Started='5/11/2020 12:46:51 PM', Priv=913Mb, Virt=2120402Mb)
TID: 790
Thread Name:
.NET: 4.0.30319.42000
DeviceModel: iPhone10,4
NativeShell: 8.3.3
AppVersionCode: 6
AppVersionName: 0.1
DeviceUUID: F1BF5832-BB7B-4D5F-82EF-707AE1BB30D2
NetworkStatus: Online
Cordova: 5.1.1
NetworkType: wifi
OperatingSystem: iOS 13.6
Client-Side Log

0   Background Geolocation LT -Demo     0x0000000100d4a2c8 Background Geolocation LT -Demo + 156360
1 libsystem_platform.dylib 0x000000019a5d2884 A50D5423-3D46-3B51-92FB-46BBD2FAC6D2 + 34948
2 libsystem_kernel.dylib 0x000000019a6c1e58 2239C8F7-29EA-35DF-B120-217E07C3F09B + 167512
3 libsystem_kernel.dylib 0x000000019a6c1e88 2239C8F7-29EA-35DF-B120-217E07C3F09B + 167560
4 TCC 0x00000001a0b2ec8c 6BE95FDD-FEB9-3DB6-9BEA-28589787662F + 7308
5 TCC 0x00000001a0b2ebcc 6BE95FDD-FEB9-3DB6-9BEA-28589787662F + 7116
6 TCC 0x00000001a0b32b00 6BE95FDD-FEB9-3DB6-9BEA-28589787662F + 23296
7 libxpc.dylib 0x000000019a49cb1c 83C78C0C-F8FF-34A8-843B-F607A6F257D4 + 97052
8 libxpc.dylib 0x000000019a4913e8 83C78C0C-F8FF-34A8-843B-F607A6F257D4 + 50152
9 libdispatch.dylib 0x000000019a58f5a4 361DA09A-E7CE-30EB-8DFC-9D9AF9DE4A0A + 374180
10 libdispatch.dylib 0x000000019a5660f8 361DA09A-E7CE-30EB-8DFC-9D9AF9DE4A0A + 205048
11 libdispatch.dylib 0x000000019a5761c0 361DA09A-E7CE-30EB-8DFC-9D9AF9DE4A0A + 270784
12 libsystem_pthread.dylib 0x000000019a5e0bac _pthread_wqthread + 328
13 libsystem_pthread.dylib 0x000000019a5e3740 start_wqthread + 8



2023-01-02 17-38-56
Carolina Salgueiro

Hi @Peter Bruni 

Did you manage to solve this issue? 

I'm assigning the license as you did with my purchased license but it returns a license validation error.

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