WARNING: THIS SITE IS A MIRROR OF GITHUB.COM / IT CANNOT LOGIN OR REGISTER ACCOUNTS / THE CONTENTS ARE PROVIDED AS-IS / THIS SITE ASSUMES NO RESPONSIBILITY FOR ANY DISPLAYED CONTENT OR LINKS / IF YOU FOUND SOMETHING MAY NOT GOOD FOR EVERYONE, CONTACT ADMIN AT ilovescratch@foxmail.com
Skip to content

Prevent Application Stop #104

@lgarciatEveris

Description

@lgarciatEveris

Your Environment

  • Plugin version: 1.8.0
  • Platform: Android
  • OS version: 6.0.1
  • Device manufacturer / model: Xiaomi Redmi Note 3
  • Nativescript version (tns info):
    ┌──────────────────┬─────────────────┬────────────────┬──────────────────┐
    │ Component │ Current version │ Latest version │ Information │
    │ nativescript │ 3.4.1 │ 3.4.2 │ Update available │
    │ tns-core-modules │ 3.4.1 │ 3.4.1 │ Up to date │
    │ tns-android │ 3.4.1 │ 3.4.1 │ Up to date │
    │ tns-ios │ 3.4.1 │ 3.4.1 │ Up to date │
    └──────────────────┴─────────────────┴────────────────┴──────────────────┘
  • Plugin config

Expected Behavior

            debug: false,
            desiredAccuracy: 0,
            stationaryRadius: 25,
            locationUpdateInterval: 30000,
            activityRecognitionInterval: 30000,
            heartbeatInterval: 30,
            autoSync: true

Actual Behavior

After getting some time in the background the application freezes completely, not sending more "heartbeats" or getting location at the specified time. How can i prevent the freezing or make an woke-up method?

Steps to Reproduce

Context

I`m trying to make the app read the current location every 30 seconds(+-) while it is moving.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions