Skip to content

BlurtiOS: treat rejected API key as needsKey to stop hop bounce loop - #626

Open
toufiqfarhan0 wants to merge 2 commits into
AssemblyAI:mainfrom
toufiqfarhan0:fix/ios-rejected-key-hop
Open

toufiqfarhan0 wants to merge 2 commits into
AssemblyAI:mainfrom
toufiqfarhan0:fix/ios-rejected-key-hop

Conversation

@toufiqfarhan0

@toufiqfarhan0 toufiqfarhan0 commented Dec 6, 2026 •

Copy link
Copy Markdown
Contributor

Fixes #625

Summary

  • Check apiKey.isKeyRejected alongside !apiKey.hasAPIKey in DictationCoordinator.startListening() and startSessionIfReady() so a rejected key sets needsKey and does not open the listening window or immediately bounce back to the host app.
  • Show APIKeyDisplay.rejectedNote in HomeHero when isKeyRejected holds and disable the session toggle while the stored key is unusable.
  • Add rejectedKeyStopsBounce() in DictationCoordinatorReturnTests verifying a .noKey hop with a rejected key sets needsKey, keeps the window closed, and does not bounce back to the host app.

@toufiqfarhan0 toufiqfarhan0 changed the title BlurtiOS: treat rejected API key as needsKey and clear returnHost BlurtiOS: treat rejected API key as needsKey to stop hop bounce loop Dec 6, 2026

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

iOS keyboard hop opens listening window and bounces back in a loop when API key is rejected

1 participant