reports icon indicating copy to clipboard operation
reports copied to clipboard

FB18114722: Bug in sample: Monitoring location changes with Core Location

Open malhal opened this issue 6 months ago • 0 comments

Submission Date

2025-06-16

Status

Open

Area

Core Location

Operating System Version

iOS 18.4

Type

Incorrect/Unexpected Behavior

Description

I noticed a problem with this sample if the toggle to use Location Service Session is enabled which sets the authSessionActive user default, upon the next start of the app then startAuthSession is not called so the app is not authorised.

startAuthSession should be called on startup if the authSessionActive user default is true. Perhaps at the end of init, e.g.

    init() {
        
        ...


        if authSessionActive {
            startAuthSession()
        }
    }

Keywords

consistency

Prerequisites

  • [x] The title follows the format FB<number>: <title>
  • [x] I will keep this issue updated with Apple's responses

malhal avatar Jun 16 '25 12:06 malhal