Latest PromiseKit 6.2.6, which kindly had a fix for #16 in it (🙏) seems to have introduced a regression.
The same test app can be used to reproduce the issue, but with a different sequence of events.
Steps:
- run app
- on the first 'When In Use' alert select 'Allow'
- on the second 'Aways and When In Use' alert select 'Only While Using the App'
Expected result:
- promise chain completes and print's
tada
Actual result:
Also of note, subsequent launches of the app will fail to complete the chain.