Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

"Quit and Open safari extension preferences" button not working. (While converting Chrome extension to Safari Web Extension)

I have an issue, while running Safari Web Extension, gives pop up "You can turn on App's extension in Safari Extensions Preferences", but when I click on the button, it does not disappear nor did anything.

I have checked my ".appex" file included on all places where it should be. and permissions I have given are:

"permissions": [ "scripting", "bookmarks" ],

I have stuck from days and searched a lot but didn't get anything!

like image 711
Muhammad Haroon Iqbal Avatar asked Sep 03 '25 09:09

Muhammad Haroon Iqbal


1 Answers

I have fixed this by changing the default bundle identifier, I have changed bundle identifier after conversion, in code there was older bundle identifier in ViewController file.

let extensionBundleIdentifier = "com.yourCompany.App.Extension"

This variable should have your actual bundle ID.

like image 188
Muhammad Haroon Iqbal Avatar answered Sep 05 '25 00:09

Muhammad Haroon Iqbal