Skip to content

Commit

Permalink
Merge pull request #25 from lucka-me/fix-web-extension
Browse files Browse the repository at this point in the history
Fix "The response is unavailable" error for iOS/iPadOS 17.5
  • Loading branch information
lucka-me authored May 16, 2024
2 parents 7e2891b + 187d302 commit 0b26118
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 6 deletions.
4 changes: 2 additions & 2 deletions IntelStack.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -908,7 +908,7 @@
LD_RUNPATH_SEARCH_PATHS = "@executable_path/Frameworks";
"LD_RUNPATH_SEARCH_PATHS[sdk=macosx*]" = "@executable_path/../Frameworks";
MACOSX_DEPLOYMENT_TARGET = 14.0;
MARKETING_VERSION = 1.4.0;
MARKETING_VERSION = 1.4.1;
PRODUCT_BUNDLE_IDENTIFIER = dev.lucka.IntelStack;
PRODUCT_NAME = "$(TARGET_NAME)";
SDKROOT = auto;
Expand Down Expand Up @@ -953,7 +953,7 @@
LD_RUNPATH_SEARCH_PATHS = "@executable_path/Frameworks";
"LD_RUNPATH_SEARCH_PATHS[sdk=macosx*]" = "@executable_path/../Frameworks";
MACOSX_DEPLOYMENT_TARGET = 14.0;
MARKETING_VERSION = 1.4.0;
MARKETING_VERSION = 1.4.1;
PRODUCT_BUNDLE_IDENTIFIER = dev.lucka.IntelStack;
PRODUCT_NAME = "$(TARGET_NAME)";
SDKROOT = auto;
Expand Down
16 changes: 16 additions & 0 deletions Shared/Localization/Localizable.xcstrings
Original file line number Diff line number Diff line change
Expand Up @@ -1089,6 +1089,22 @@
}
}
},
"SettingsView.About.Footer %@" : {
"localizations" : {
"en" : {
"stringUnit" : {
"state" : "translated",
"value" : "Made by [Lucka](https://t.me/SeeleUN) with %@"
}
},
"zh-Hans" : {
"stringUnit" : {
"state" : "translated",
"value" : "Made by [Lucka](https://t.me/SeeleUN) with %@"
}
}
}
},
"SettingsView.About.IITCWebsite" : {
"localizations" : {
"en" : {
Expand Down
6 changes: 2 additions & 4 deletions Web Extension/Shared/Resources/background.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
async function forwardMessage(request, sender, sendResponse) {
const response = await browser.runtime.sendNativeMessage(request);
sendResponse(response);
return true;
function forwardMessage(request, sender, sendResponse) {
return browser.runtime.sendNativeMessage(request);
}

browser.runtime.onMessage.addListener(forwardMessage);

0 comments on commit 0b26118

Please sign in to comment.