Shortcut automation + AppIntents is flaky sometimes
Edited: I couldn't post in developers forum for some reason ;
Hello, I made myself an app to track my expenses. The most important event is when I make a purchase via apple wallet.
What happens is sometimes the values from Merchant and Amount are; Merchant = " " Amount = 0.0
Has anyone experienced this, is there something I can do about it ? I was thinking that sometimes maybe speed connection and service is something that might make an impact
Does anyone here know something about the topic ?
to provide a little more info
This is the code
struct LogTransactionIntent: AppIntent {
static var title: LocalizedStringResource = "Log Transaction"
@Parameter(title: "Merchant")
var merchant: String
@Parameter(title: "Amount")
var amount: Double
This is how I pass the params from shortcuts automation > transaction and then going inside my TransactionIntent
[Edited by Moderator]
iPhone 15 Pro