Post

Replies

Boosts

Views

Activity

macOS customized shortcut for Safari with menu title "ReTab" doesn't trigger the extension
Hello! I've made a Safari extension that supports command "ReTab", and a couple of month ago, adding a customized macOS shortcut for Safari with menu title "ReTab" did trigger the extension. However, it's not working anymore and I'm not sure if it's from macOS/Safari update or because I changed manifest from v2 to v3 - could you help check if there's anything wrong with either the manifest.json or background.js? (the default Cmd+E still works) Thank you in advance! Xun manifest.json: { "manifest_version": 3, "default_locale": "en", "name": "ReTab", "description": "Go to the last active tab with Cmd+E!", "version": "1.4", "homepage_url": "https://LycheeIsle.com", "background": { "service_worker": "background.js" }, "action": { "default_icon": "images/toolbar-icon.svg" }, "permissions": [ "commands", "tabs", "storage" ], "commands": { "ReTab": { "suggested_key": { "default": "Command+E" }, "description": "Go to the last active tab" } }, "options_page": "options.html" } in background.js, I have this line which should listen to the command, and Cmd+E works but any customized shortcut for "ReTab" in Safari doesn't: browser.commands.onCommand.addListener(async (command) => { if (command === "ReTab" || command === "retab") { await retab() } });
1
0
244
Jan ’25
While recording in background, audio playback quality loss when using Carplay
Our app uses playAndRecord category with options of interruptSpokenAudioAndMixWithOthers, allowBluetoothA2DP, allowAirPlay & defaultToSpeaker, and while backgrounded, Spotify or other music apps play normally when the iPhone is not connected to anything or is connected to Bluetooth. However, once iPhone is connected to CarPlay either via Bluetooth or via USB cable, the music apps' playback quality become flat which suggests the recording is using the Hands Free Profile (which would also happen if allowBluetooth is set and connected to Bluetooth devices) - is there any way to keep using the iPhone microphone to record while connected to CarPlay so that we can allow music apps to play normally?
0
0
753
May ’23
Ways to transfer an iOS app that having a macOS version with accidental App Group
@eskimo for this relevant post: https://developer.apple.com/forums/thread/721701 I have an iOS app Pendo Notes (id: 805451002) which has a macCatalyst version, that accidentally got App Group entitlement because on iOS I was using it to transfer data between host app and the today widget. Now we want to transfer the iOS app to another developer account, but got this error, and saw from a SO post (https://stackoverflow.com/q/41475805/1032900) that once the macOS app got the entitlement, even deleting it and update the version wouldn't work. So I wonder if there is any way that we could transfer the iOS app? We don't care about the reviews on the macOS app and can delete the macOS app entirely if possible and recreate after transferring the app, but it seems we can't only delete a platform either? Thank you for your help! Xun
2
0
593
Apr ’23