[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
[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"
Relevant Code:
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.