Skip to content

Commit a2c6d6c

Browse files
committed
chore: add definition
1 parent 47bebf8 commit a2c6d6c

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

packages/firestore/ios/RNFBFirestore/RNFBFirestoreModule.m

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -250,6 +250,9 @@ + (BOOL)requiresMainQueueSetup {
250250
: (RCTPromiseResolveBlock)resolve
251251
: (RCTPromiseRejectBlock)reject)
252252
{
253+
FIRaddSnapshotsInSyncListener *addSnapshotsInSyncListener =
254+
[RNFBFirestoreCommon getFirestoreForApp:firebaseApp databaseId:databaseId listenerId:listenerId]
255+
.addSnapshotsInSyncListener;
253256
NSString *appName = [RNFBSharedUtils getAppJavaScriptName:firApp.name];
254257
NSString *firestoreKey = [RNFBFirestoreCommon createFirestoreKeyWithAppName:appName
255258
databaseId:databaseId];

0 commit comments

Comments
 (0)