<!-- Step 1 [READ THIS] --> <!-- Are you in the right place? * For issues or feature requests related to __the code in this repository__ file a Github issue. * If this is a __feature request__ make sure the issue title starts with "FR:". * For general technical questions, post a question on [StackOverflow](http://stackoverflow.com/) with the firebase-authentication tag. * For general Firebase discussion, use the [firebase-talk](https://groups.google.com/forum/#!forum/firebase-talk) google group. * For help troubleshooting your application that does not fall under one of the above categories, reach out to the personalized [Firebase support channel](https://firebase.google.com/support/). --> <!-- Step 2 --> ### [REQUIRED] Describe your environment * Operating System version: macOS 11.5.2 * Browser version: Safari 15.0 * Firebase UI version: 5.0.0 * Firebase SDK version: 9.1.0 <!-- Step 3 --> ### [REQUIRED] Describe the problem #### Steps to reproduce: - Firebase project with phone authentication enabled - Test on a device with Safari (either MacOS or iOS) - Use FirebaseUi to start authentication flow - Enter number, send verification code - Enter verification code - FirebaseUi displays "dialog" showing an error message: "Right side of assignment cannot be destructured" <!-- What happened? How can we make the problem occur? This could be a description, log/console output, etc. --> #### Relevant Code: <!-- Reproduce the issue on StackBlitz and provide your forked URL or give us some sample code below --> https://stackblitz.com/edit/firebase-issue-sandbox-zfbht1?file=index.html I'm not entirely sure if this is an issue in FirebaseUi or Firebase SDK unfortunately. It works fine on Android and Linux by the way.