Post

Replies

Boosts

Views

Activity

Reply to Adding intent to the AppIntentsExtension
Hey! I added your AppIntent to my AppIntentExtension and the problem isn't the @main the problem is that as soon as your app intent calls perform it crashes The big issue with AppIntentExtension that it is impossible to debug it. So if your app succeeded to extract metadata it means the rest fails on your interactions , it may help you later to trace the errors which unfortunately for now we can't see. Let's get back to your AppIntent, it crashes your app and your extension because your result returns dialog, which you didn't precise in return type of your perform. Adding ProvidesDialog solve the problem. Good luck:)
Topic: App & System Services SubTopic: General Tags:
Feb ’24
Reply to Adding intent to the AppIntentsExtension
Hey! I added your AppIntent to my AppIntentExtension and the problem isn't the @main the problem is that as soon as your app intent calls perform it crashes The big issue with AppIntentExtension that it is impossible to debug it. So if your app succeeded to extract metadata it means the rest fails on your interactions , it may help you later to trace the errors which unfortunately for now we can't see. Let's get back to your AppIntent, it crashes your app and your extension because your result returns dialog, which you didn't precise in return type of your perform. Adding ProvidesDialog solve the problem. Good luck:)
Topic: App & System Services SubTopic: General Tags:
Replies
Boosts
Views
Activity
Feb ’24
Reply to Cannot download or show image from URL with AppIntentsExtension
I don't think you can use AsyncImage in the snippet. For exemple, you can't use it in Widget neither. so try use Image in your view and in your perform result also fetch the uiImage before passing it to the view.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Feb ’24