Skip to content

Commit 94bda1f

Browse files
chore: throw error on other platform
1 parent 67ce90c commit 94bda1f

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

packages/firestore/lib/web/RNFBFirestoreModule.js

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -132,6 +132,14 @@ export default {
132132
return rejectWithCodeAndMessage('unsupported', 'Not supported in the lite SDK.');
133133
},
134134

135+
addSnapshotsInSync() {
136+
return rejectWithCodeAndMessage('unsupported', 'Not supported in the lite SDK.');
137+
},
138+
139+
removeSnapshotsInSync() {
140+
return rejectWithCodeAndMessage('unsupported', 'Not supported in the lite SDK.');
141+
},
142+
135143
/**
136144
* Use the Firestore emulator.
137145
* @param {string} appName - The app name.

0 commit comments

Comments
 (0)