-
Notifications
You must be signed in to change notification settings - Fork 982
Closed
Description
- Operating System version: iOS 9.3.5
- Firebase SDK version: 5.0.4
- Firebase Product: app, auth, firestore
[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)
- 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();