Post

Replies

Boosts

Views

Activity

Reply to Use of BLE after app clip invocation
@documentationengineer by background, does this mean that the app needs to be open, or does it mean that bluetooth connectivity needs to be done on a main thread (as opposed to a background thread)...I am getting crashes when trying to use bluetooth with app clips and I don't know why, a ticket has been submitted with crash logs to feedback assistant, but according to my googling it is a app clip bug due to the nature of the crash.
Mar ’23
Reply to Update SwiftUI view with data received from WatchConnectivity
@Jim Dovey, is there a way to call setNeedsBodyUpdate if you are using a single class as WCSessionDelegate for both iOS and watchOS? I have my session in a WatchSessionManager class, and use a environment object to update the view of my watch, but it wasn't updating. So, I tried to call HostingController().setNeedsBodyUpdate() and i got a EXCBADACCESS crash...code is below, is there a "right" was to do the updating from another class? 				DispatchQueue.main.async { 						#if os(iOS) 						let _ = WatchDataDistribution().messageReceivedByPhone(message: message) 						#elseif os(watchOS) 						let _ = WatchDataDistribution().messageReceivedByWatch(message: message) 						HostingController().setNeedsBodyUpdate() 						#endif 				} 		}
Sep ’20
Reply to App Clips Associated Domains Issues
So here's what I had to do: 1) make sure the identifier in your aasa file is the one from the activity section from @rynning's comment and not the apple ID from the app information/general section of your app store listing, and 2) the aasa app itself needs to end in .Clip, and reference the app clip itself and not the main app... Thanks for your help @rynning and @liazkam!
Sep ’20