Posts

Post marked as unsolved
618 Views

WatchOS 7 Beta 2, apps not installing on watch

Hello, Facing strange issue that none of my apps installing on watch OS 7 beta 2. It only installs TestFlight apps, not apps which ware downloaded from App Store. Also apps which are installed of TestFlight, connectivity session does not work to send data between iPhone app to watch app and vice versa. Tried to reset watch 3-4 times, but same problem. Anyone else facing this issue? My watch is series 3(watchOS beta 2), iPhone X(installed iOS 14 beta 2) Thanks Hiren
Asked
Last updated .
Post marked as unsolved
415 Views

Reload Widgets when device unlock

HealthKit data not available when device is locked. is there any way to reload data when device unlocked? In application, done with background refresh of data, but due to data not accessible when device is locked, need some way to reload all timelines when device got unlocked so it has most recent data to show on widget.
Asked
Last updated .
Post marked as unsolved
101 Views

MacOS - WidgetKit handle links from widget in containing app

Hello, Trying to handle custom url links from widget in Mac. It opens containing app but not any method gets called to get URL and handle action. Tried below way for handling custom url. NSAppleEventManager                 .shared()                 .setEventHandler(                     self,                     andSelector: #selector(handleURL(event:reply:)),                     forEventClass: AEEventClass(kInternetEventClass),                     andEventID: AEEventID(kAEGetURL)                 ) Above method in applicationDidFinishLaunching method, but that method not getting called. Widget has code like, struct TestMacWidgetEntryView : View {     var url = URL(fileURLWithPath: "testWid://test?abc=123")     var entry: Provider.Entry     var body: some View {         Link(destination: url) {             Text(entry.date, style: .time)         }     } } Anyone has idea how to get that url in containing app to perform action from widget links?
Asked
Last updated .
Post marked as unsolved
277 Views

WidgetKit Mac Catalyst app

Hello, Configurable widget does not work in Catalyst app. Configurable widget works fine in iPhone, but when tried to run on Mac for catalyst, it does not work, gives error. Tested app in iPad and it works fine. Does it require additional settings? Thanks Hiren
Asked
Last updated .
Post marked as unsolved
139 Views

suggest shortcut with multiple parameters: INVoiceShortcutCenter.shared.setShortcutSuggestions

Don't find proper way for suggesting shortcut with multiple parameters, it shows long vertical list when suggest individual shortcut with different parameter value, instead of showing horizontal list of actions as shown in video. There is log drink shortcut and it can have different drink types which it asks at run time how to suggest using INVoiceShortcutCenter.shared.setShortcutSuggestions so it shows actions like streaks app shown in video? For me it shows vertical list, individual shortcut in shortcuts app Sharing code here:             for drink in drinks {                 let logDrink = LogDrinkIntent()                 logDrink.drinkType = DrinkType(identifier: drink.drinkId!, display: drink.name!.localized)                 let shortcut = INShortcut(intent: logDrink)                 shortcuts.append(shortcut!)             }             	 INVoiceShortcutCenter.shared.setShortcutSuggestions(shortcuts)         }
Asked
Last updated .
Post marked as unsolved
640 Views

Relevant Shortcut (INRelevantShortcut) on watch face, crashes watchos

Hi,Developed custom intent which logs data into the app. When launch iphone app, it creates relevant shortcut and force syncing from developer settings in iPhone, it also shows on watch face gallery.Custom intent works fine in iPhone, but facing some problem on watch. When tap on that shortcut on watch face, it shows confirmation window and tapping on add button, it also logs data but the problem is it keeps spinning and application crashes. Tried all the ways, but still no luck. If uncheck background execution for intent, it properly opens watch app, but it does not execute intent in background properly.Let us know if you are facing any such issue and if any solution for same.ThanksHiren
Asked
Last updated .