transistorsoft / background-geolocation-console

A field-testing & analysis server for the Background Geolocation plugin
MIT License
150 stars 157 forks source link

Flutter app doesn't connect to console #128

Closed MatyasK closed 2 years ago

MatyasK commented 2 years ago

so I have the console running on my desktop, on localhost:9000 I have set my Flutter up according to the docs but it doesn't send any request to the console.

it feels like I missing step somewhere, but I can't find it. I start the tracking with button press and calling bg.BackgroundGeolocation.start();.

image

christocracy commented 2 years ago

Are you observing the plugin logs in $ adb logcat *:S TSLocationManager.

MatyasK commented 2 years ago

yeah I figured it out, it was my bad

christocracy commented 2 years ago

Also see the plugin api docs for Config.transistorAuthorizationToken. It allows you to configure custom host with optional 3rd param (ie: http://192.168.1.125:9000)