Hi,
I am working on converting my Safari App Extension to Web Extension, I stored some data in App Extension by using
Now, I am trying to copy all these data to Web Extension background page.
To achieve that, I send a native message from background page, and in the SafariWebExtensionHandler.swift, I tried to use the UserDefaults with the same suiteName, but seems I can't get any data.
Any solution or suggestions to this problem?
Thank you!
I am working on converting my Safari App Extension to Web Extension, I stored some data in App Extension by using
Code Block swift UserDefaults(suiteName: "my-app-extension")
Now, I am trying to copy all these data to Web Extension background page.
To achieve that, I send a native message from background page, and in the SafariWebExtensionHandler.swift, I tried to use the UserDefaults with the same suiteName, but seems I can't get any data.
Any solution or suggestions to this problem?
Thank you!