Skip to content

On iOS app crashes when in background after some minutes  #349

@gpsaliola

Description

@gpsaliola

Bug Information
Version Number of Plugin: 4.5.0.6
Device Tested On: iPhone 10
Version of VS: 2022
Version of Xamarin.Forms: 5.0.0.2291

Steps to reproduce the Behavior
Download this example: https://www.okmap.org/a/GeolocatorExample.zip
Run on iOS iPhone and put the app in background.
Wait some minutes and put the app in foreground.
If the behavoir is normal repeat operations unitl app is crashed (you will see the app that restarts).

Expected Behavior
The app writes into a log file the position information (lat, lon, accuracy, altitude, ecc...).

Actual Behavior
The app crashes when in background after some minutes.

Code snippet
https://www.okmap.org/a/GeolocatorExample.zip

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