Post

Replies

Boosts

Views

Activity

Reply to Safari Web Extension sendNativeMessage and browser.runtime.connectNative don't work
When you create a Safari web extension in xcode, you're provided with a SafariWebExtensionHandler file. Which has a beginRequest method. When you call browser.runtime.sendNativeMessage from your background script, it calls that function in your swift code. In order to have access to the sendNativeMessage method in your background script you must add the nativeMessaging permission to the permissions array in your manifest.json.
Topic: Safari & Web SubTopic: General Tags:
Jul ’21
Reply to Problem with openSettingsURLString
Also currently experiencing the same issue
Topic: UI Frameworks SubTopic: UIKit Tags:
Replies
Boosts
Views
Activity
Jul ’21
Reply to Safari Web Extension does not load content script on iOS 15
I had this exact same issue for a while, you want to make sure the permissions are enabled on the website or the content script won't inject. I still had the issue at random times, but after updating to the beta 2 it was much more consistent.
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
Jul ’21
Reply to Safari Web Extension sendNativeMessage and browser.runtime.connectNative don't work
When you create a Safari web extension in xcode, you're provided with a SafariWebExtensionHandler file. Which has a beginRequest method. When you call browser.runtime.sendNativeMessage from your background script, it calls that function in your swift code. In order to have access to the sendNativeMessage method in your background script you must add the nativeMessaging permission to the permissions array in your manifest.json.
Topic: Safari & Web SubTopic: General Tags:
Replies
Boosts
Views
Activity
Jul ’21
Reply to UIPasteboard copying string to clipboard is not working on iOS 15 device
Updated to iOS 15 beta 3, still same issue.
Topic: App & System Services SubTopic: General Tags:
Replies
Boosts
Views
Activity
Jul ’21
Reply to UIPasteboard copying string to clipboard is not working on iOS 15 device
Yes this is in the SafariWebExtensionHandler class. You can print things to the console and view them when attaching the debug process to the Extension App
Topic: App & System Services SubTopic: General Tags:
Replies
Boosts
Views
Activity
Sep ’21
Reply to UIPasteboard copying string to clipboard is not working on iOS 15 device
iOS 15 Beta 8 Xcode 13 beta 5 still same issue
Topic: App & System Services SubTopic: General Tags:
Replies
Boosts
Views
Activity
Sep ’21