Presumably its not possible to use declared age range in an extension?

Its possible to add the Declared Age Range entitlement to extensions, in particular I'm looking at a Notification Service Extension. However the DAR requestAgeRange() API takes a view controller as a parameter. Presumably therefore its not possible for a notification service extension to obtain the age range itself directly?

Yes the extension can read it from shared groups if the app reads it and set it into the group. However the scenario I'm thinking of is this:

  1. App runs and gets the age range. Sets its functionality accordingly.
  2. The server sends pushes which are intercepted by the notification service extension, the extension adjusts its functionality based upon what the app wrote to shared groups
  3. The user changes the age range setting, but the app doesn't run.
  4. The extension keeps receiving pushes but its functionality is now out of sync with the age range as its not able to obtain it directly
Presumably its not possible to use declared age range in an extension?
 
 
Q