Hi,I'm developing an iOS app that uses App Intents to log Wallet payment transactions via Shortcuts automation with the "After Payment" trigger.
The Issue:
When users set up a Personal Automation with "Run Immediately" enabled and select "Always Allow" on the permission prompt, the permission does not persist. Every subsequent Wallet transaction triggers the "Allow Once / Always Allow" dialog again.
Reproduction:
App exposes an App Intent (LogWalletTransactionIntent) with openAppWhenRun = false
User creates Personal Automation in Shortcuts app:
Trigger: Wallet → After Payment
Action: Log Wallet Transaction
Set automation to "Run Immediately"
First Wallet payment → permission prompt appears →
user selects "Always Allow"
Second Wallet payment → permission prompt appears again (expected: silent execution)
Observations:
When the user sets up the automation manually (adds the App Intent action inline and maps fields manually), "Always Allow" works correctly — no repeated prompts
The issue occurs when the action is referenced via a pre-configured .shortcut file that has variable descriptors embedded for the parameters
The bundled shortcut contains Descriptor mappings for card and merchant parameters
Questions:
Is this a known limitation of how iOS handles permission persistence for App Intents invoked through pre-configured shortcuts vs. inline automation actions?
Does the distribution method affect this behavior — will Ad Hoc (alpha), TestFlight (beta), and App Store (production) builds behave differently regarding permission persistence?
Is there a recommended approach for bundling pre-configured shortcuts that avoids repeated permission prompts?
Environment:
iOS 18.x (also observed on earlier versions)
App Intent with String and Double parameters with default:` values
openAppWhenRun = false
Distribution: Ad Hoc via PGY
Any insights would be appreciated. Thanks!
Topic:
App & System Services
SubTopic:
Automation & Scripting
0
0
41