xYello/ThePost

No location services request

djcopley opened this issue · 2 comments

Application never prompts user to allow location services. Perhaps this only happens when user is unauthenticated like myself?

Ah, yes. I go ahead and cancel the location search if the device is not signed in. It will do a regular search without any location data.

Here is where I am getting this from:

case .location:
if Auth.auth().currentUser == nil {
modelSearch(forReference: reference, productAdded: productAdded, productRemoved: productRemoved)
return
}

Ah very well.