Skip to content

localPersistenceManager returns a null location #15

@aminisana

Description

@aminisana

I dispalyed the localPersistenceManager and it's return a null location like this:
{ _devices:
[ { name: 'Nexus_5X_API_28',
location: { latitude: 0, longitude: 0, altitude: 0 },
deviceType: 'MobileDevice',
id: '20f4a1d9-6c55-49d2-aa7c-5278eec6ccc6',
createdAt: 1555321201061,
platform: 'android',
deviceToken: 'Nexus_5X_API_28_device_token_test_sana_must_be_unique' } ],
_publications: [],
_subscriptions: [],
_defaultDevice:
{ name: 'Nexus_5X_API_28',
location: { latitude: 0, longitude: 0, altitude: 0 },
deviceType: 'MobileDevice',
id: '20f4a1d9-6c55-49d2-aa7c-5278eec6ccc6',
createdAt: 1555321201061,
platform: 'android',
deviceToken: 'Nexus_5X_API_28_device_token_test_sana_must_be_unique' } }

How can I fix this please?
Thank you

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions