0

I'm trying to get my current locale in the app and in the NotificationService extension. The code looks like this:

let locale = Locale.current.identifier

In the app target the locale is de_DE and in the NotificationService extension it evaluates to en_DE which results in an unwanted behaviour. Am I missing something?

Nico S.
  • 3,056
  • 1
  • 30
  • 64

0 Answers0