0

I'm working on an iOS Safari Web Extension, and I want to add a new required permission.

However, I can't find anywhere explaining what happens for the current users.

  • Will the extension continue to work as previously?

  • Will the extension be disabled until the user activates again?

From our tests, it seems that everything works as expected.

We want to add the nativeMessaging permission.

Does anyone know if Apple has that information anywhere? Or what will happen?

Jorge Costa
  • 249
  • 2
  • 6
  • I would imagine that the extension would behave as if the user had not granted the new permission until the permission is requested. After that point the behaviour of the extension will depend on whether the user granted the permission or not. – Paulw11 Oct 01 '21 at 12:22
  • From our tests, installing an update from Testflight, the extension continues to work and the message (our case) is sent from the extension correctly and caught in `SafariWebExtensionHandler`. But I agree with the behavior that you described, seems like the best approach for the user and for the product. – Jorge Costa Oct 01 '21 at 13:37

1 Answers1

0

In Apple Forums, an engineer replied:

Yes, adding new permissions has no impact on existing users. New host permissions will need the user to allow them when the extension next tries to access tabs, cookies, pages, etc that match the new host patterns.

Jorge Costa
  • 249
  • 2
  • 6