Skip to content

Error with background geolocation #3

@jeangui

Description

@jeangui

Hello,

I have tried the package example (deployment : http://jgl-meteorbggeo.meteor.com).
It does work correctly with the Foreground feature in web & mobile context (I had to change the code for the mobile case).
But I get error when I launch the background thread as depicted in the following screenshot:

https://drive.google.com/file/d/0B1H-jx3teB5-TklOOUp0cDRTQVZDTTNLU1lFbmc4dzN1UE9j/view?usp=sharing

The last 2 geolocations are the ones coming after the background thread launch.

As you can see, the first one does not have any location. It is just a simple json object with only an id.
The second one has latitude, longitude, userid and uuid but there is no location parameter.

What should I modify to make it work. A meteor after insert hook ?

Thanks in advance for the help.

Regards,

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions