TP-000 | Provinding SNapshot context

This commit is contained in:
yashmantri
2023-11-22 10:54:39 +05:30
parent 43bbf2b4b1
commit 38abe1d87d
3 changed files with 5 additions and 5 deletions

View File

@@ -133,8 +133,8 @@ def reactNativeArchitectures() {
return value ? value.split(",") : ["armeabi-v7a", "x86", "x86_64", "arm64-v8a"]
}
def VERSION_CODE = 103
def VERSION_NAME = "2.5.8"
def VERSION_CODE = 104
def VERSION_NAME = "2.5.9"
android {
ndkVersion rootProject.ext.ndkVersion

View File

@@ -1,6 +1,6 @@
{
"name": "AV_APP",
"version": "2.5.8",
"version": "2.5.9",
"private": true,
"scripts": {
"android:dev": "yarn move:dev && react-native run-android",

View File

@@ -210,8 +210,8 @@ const useFirestoreUpdates = () => {
firestore()
.doc(collectionPath)
.onSnapshot(
async () => {
successCb();
async (data) => {
successCb(data);
addClickstreamEvent(CLICKSTREAM_EVENT_NAMES.FA_SNAPSHOT_LISTENER, {
snapshot_path: collectionPath,
});