In my app I have both of these lines:
manager.requestAlwaysAuthorization()
UNUserNotificationCenter.current().requestAuthorization(options: [.sound,.alert], completionHandler: {didAllow, error in})
But when loaded, my application only requests permission for notifications. My app wouldn't work without the user giving permission to use its location. How can I fix this?