You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Firebase firestore is not working on iOS Safari 9 because of an error in the firebase-firestore.js file. on console: Strict mode does not allow function declarations in a lexically nested statement.
Steps to reproduce: (in iPad)
Load the script
`<script src="https://www.gstatic.com/firebasejs/5.0.4/firebase-app.js"></script>
<script src="https://www.gstatic.com/firebasejs/5.0.4/firebase-auth.js"></script>
<script src="https://www.gstatic.com/firebasejs/5.0.4/firebase-firestore.js"></script>`
Create firebase object firebase.initializeApp(firebaseConfig); const db = firebase.firestore();
The text was updated successfully, but these errors were encountered:
[REQUIRED] Describe the problem
Firebase firestore is not working on iOS Safari 9 because of an error in the firebase-firestore.js file. on console:
Strict mode does not allow function declarations in a lexically nested statement.
Steps to reproduce: (in iPad)
`<script src="https://www.gstatic.com/firebasejs/5.0.4/firebase-app.js"></script> <script src="https://www.gstatic.com/firebasejs/5.0.4/firebase-auth.js"></script> <script src="https://www.gstatic.com/firebasejs/5.0.4/firebase-firestore.js"></script>`
firebase.initializeApp(firebaseConfig); const db = firebase.firestore();
The text was updated successfully, but these errors were encountered: