Skip to content

Instantly share code, notes, and snippets.

@dereknahman
Created February 23, 2021 15:13
Show Gist options
  • Save dereknahman/9b5f15bdfca1ee88e2b798e1a2e1e4c6 to your computer and use it in GitHub Desktop.
Save dereknahman/9b5f15bdfca1ee88e2b798e1a2e1e4c6 to your computer and use it in GitHub Desktop.
forA
[Tue Feb 23 2021 15:12:39.952] LOG unmounting component.....
[Tue Feb 23 2021 15:12:39.953] LOG mixpanel {"people": {"token": "cf54eecc5944f8b3f3a4ae5acd2a08c3"}, "token": "cf54eecc5944f8b3f3a4ae5acd2a08c3"}
[Tue Feb 23 2021 15:12:39.954] LOG flushing mixpanel..... {"people": {"token": "cf54eecc5944f8b3f3a4ae5acd2a08c3"}, "token": "cf54eecc5944f8b3f3a4ae5acd2a08c3"}
[Tue Feb 23 2021 15:12:39.954] LOG flushing mixpanel triggered.....
[Tue Feb 23 2021 15:12:39.955] LOG ====================================
[Tue Feb 23 2021 15:12:39.955] LOG useFocusEffect offlineTrackingActionsRef {"offlineTrackingActions": {"offlineTrackingActions": {"offlineTrackingActions": [Object]}}}
[Tue Feb 23 2021 15:12:39.955] LOG ====================================
[Tue Feb 23 2021 15:12:39.955] LOG DATA HERE ----> {"offlineTrackingActions":{"offlineTrackingActions":{"offlineTrackingActions":{"offlineTrackingActions":{"offlineTrackingActions":[{"trackingType":"mixpanel","eventName":"[Viewed Screen] Goal","properties":{"screen_name":"Goal","occurred_at":1614092937003},"opts":{},"occurred_at":1614092937003},{"trackingType":"API","eventName":"[Viewed Screen] Goal","properties":{"screen":"Goal","id":"9de578c08f75589d30b0f5ec68b060d4"},"opts":{"action":"screenViewed","endpoint":"/tracking"},"occurred_at":1614092937003}]}}}}}
[Tue Feb 23 2021 15:12:39.956] LOG KEY from SAVEDATA HERE --> @offline_tracking_actions
[Tue Feb 23 2021 15:12:39.970] LOG
[Tue Feb 23 2021 15:12:39.970] LOG
[Tue Feb 23 2021 15:12:39.971] LOG
[Tue Feb 23 2021 15:12:39.971] LOG ******** configuring mixpanel 1614093159963 ***********
[Tue Feb 23 2021 15:12:39.972] LOG
[Tue Feb 23 2021 15:12:39.972] LOG ***** useAppTracking: useFocusEffect mixpanel: false 1614093159964
[Tue Feb 23 2021 15:12:39.972] LOG isTrackingReady: false
[Tue Feb 23 2021 15:12:39.973] LOG consentedToTracking undefined
[Tue Feb 23 2021 15:12:39.973] LOG checkTrackingReady: false
[Tue Feb 23 2021 15:12:39.973] LOG track screen: true tracking ready: false consent to tracking undefined
[Tue Feb 23 2021 15:12:39.996] LOG ====================================
[Tue Feb 23 2021 15:12:39.997] LOG offlineTrackingActionsRef []
[Tue Feb 23 2021 15:12:39.997] LOG ====================================
[Tue Feb 23 2021 15:12:40.000] LOG unmounting component.....
[Tue Feb 23 2021 15:12:40.100] LOG mixpanel false
[Tue Feb 23 2021 15:12:40.200] LOG flushing mixpanel..... false
[Tue Feb 23 2021 15:12:40.200] LOG ====================================
[Tue Feb 23 2021 15:12:40.300] LOG useFocusEffect offlineTrackingActionsRef {"offlineTrackingActions": {"offlineTrackingActions": {"offlineTrackingActions": [Object]}}}
[Tue Feb 23 2021 15:12:40.400] LOG ====================================
[Tue Feb 23 2021 15:12:40.500] LOG DATA HERE ----> {"offlineTrackingActions":{"offlineTrackingActions":{"offlineTrackingActions":{"offlineTrackingActions":{"offlineTrackingActions":{"offlineTrackingActions":[{"trackingType":"mixpanel","eventName":"[Viewed Screen] Goal","properties":{"screen_name":"Goal","occurred_at":1614092937003},"opts":{},"occurred_at":1614092937003},{"trackingType":"API","eventName":"[Viewed Screen] Goal","properties":{"screen":"Goal","id":"9de578c08f75589d30b0f5ec68b060d4"},"opts":{"action":"screenViewed","endpoint":"/tracking"},"occurred_at":1614092937003}]}}}}}}
[Tue Feb 23 2021 15:12:40.600] LOG KEY from SAVEDATA HERE --> @offline_tracking_actions
[Tue Feb 23 2021 15:12:40.600] LOG
[Tue Feb 23 2021 15:12:40.600] LOG ***** useAppTracking: useFocusEffect mixpanel: false 1614093159998
[Tue Feb 23 2021 15:12:40.700] LOG isTrackingReady: false
[Tue Feb 23 2021 15:12:40.700] LOG consentedToTracking true
[Tue Feb 23 2021 15:12:40.700] LOG checkTrackingReady: false
[Tue Feb 23 2021 15:12:40.800] LOG track screen: true tracking ready: false consent to tracking true
[Tue Feb 23 2021 15:12:40.900] LOG unmounting component.....
[Tue Feb 23 2021 15:12:40.900] LOG mixpanel false
[Tue Feb 23 2021 15:12:40.100] LOG flushing mixpanel..... false
[Tue Feb 23 2021 15:12:40.100] LOG ====================================
[Tue Feb 23 2021 15:12:40.100] LOG useFocusEffect offlineTrackingActionsRef {"offlineTrackingActions": {"offlineTrackingActions": {"offlineTrackingActions": [Object]}}}
[Tue Feb 23 2021 15:12:40.110] LOG ====================================
[Tue Feb 23 2021 15:12:40.110] LOG DATA HERE ----> {"offlineTrackingActions":{"offlineTrackingActions":{"offlineTrackingActions":{"offlineTrackingActions":{"offlineTrackingActions":{"offlineTrackingActions":[{"trackingType":"mixpanel","eventName":"[Viewed Screen] Goal","properties":{"screen_name":"Goal","occurred_at":1614092937003},"opts":{},"occurred_at":1614092937003},{"trackingType":"API","eventName":"[Viewed Screen] Goal","properties":{"screen":"Goal","id":"9de578c08f75589d30b0f5ec68b060d4"},"opts":{"action":"screenViewed","endpoint":"/tracking"},"occurred_at":1614092937003}]}}}}}}
[Tue Feb 23 2021 15:12:40.110] LOG KEY from SAVEDATA HERE --> @offline_tracking_actions
[Tue Feb 23 2021 15:12:40.120] LOG
[Tue Feb 23 2021 15:12:40.120] LOG ***** useAppTracking: useFocusEffect mixpanel: {"people": {"token": "cf54eecc5944f8b3f3a4ae5acd2a08c3"}, "token": "cf54eecc5944f8b3f3a4ae5acd2a08c3"} 1614093160005
[Tue Feb 23 2021 15:12:40.120] LOG isTrackingReady: true
[Tue Feb 23 2021 15:12:40.120] LOG consentedToTracking true
[Tue Feb 23 2021 15:12:40.130] LOG checkTrackingReady: true
[Tue Feb 23 2021 15:12:40.130] LOG track screen: true tracking ready: true consent to tracking true
[Tue Feb 23 2021 15:12:40.130] LOG You are offline. We are saving your data in local storage.
[Tue Feb 23 2021 15:12:40.130] LOG You are offline. We are saving your data in local storage.
[Tue Feb 23 2021 15:12:40.430] LOG ====================================
[Tue Feb 23 2021 15:12:40.440] LOG offlineTrackingActionsRef {"offlineTrackingActions": {"offlineTrackingActions": {"offlineTrackingActions": [Object]}}}
[Tue Feb 23 2021 15:12:40.440] LOG ====================================
[Tue Feb 23 2021 15:12:40.680] LOG ====================================
[Tue Feb 23 2021 15:12:40.690] LOG offlineTrackingActionsRef {"offlineTrackingActions": {"offlineTrackingActions": {"offlineTrackingActions": [Object]}}}
[Tue Feb 23 2021 15:12:40.700] LOG ====================================
[Tue Feb 23 2021 15:12:40.143] WARN Possible Unhandled Promise Rejection (id: 28):
TypeError: offlineTrackingActionsRef.current.push is not a function. (In 'offlineTrackingActionsRef.current.push(trackingEvent)', 'offlineTrackingActionsRef.current.push' is undefined)
addTrackingActionToOfflineTrackingActions$@http://localhost:8081/src/hooks/useAppTracking.bundle?platform=ios&dev=true&minify=false&modulesOnly=true&runModule=false&shallow=true:103:53
tryCatch@http://localhost:8081/index.bundle?platform=ios&dev=true&minify=false:28649:23
invoke@http://localhost:8081/index.bundle?platform=ios&dev=true&minify=false:28822:32
tryCatch@http://localhost:8081/index.bundle?platform=ios&dev=true&minify=false:28649:23
invoke@http://localhost:8081/index.bundle?platform=ios&dev=true&minify=false:28722:30
http://localhost:8081/index.bundle?platform=ios&dev=true&minify=false:28752:19
tryCallTwo@http://localhost:8081/index.bundle?platform=ios&dev=true&minify=false:3490:9
doResolve@http://localhost:8081/index.bundle?platform=ios&dev=true&minify=false:3654:25
Promise@http://localhost:8081/index.bundle?platform=ios&dev=true&minify=false:3513:14
callInvokeWithMethodAndArg@http://localhost:8081/index.bundle?platform=ios&dev=true&minify=false:28751:33
enqueue@http://localhost:8081/index.bundle?platform=ios&dev=true&minify=false:28756:157
http://localhost:8081/index.bundle?platform=ios&dev=true&minify=false:28773:69
addTrackingActionToOfflineTrackingActions@http://localhost:8081/src/hooks/useAppTracking.bundle?platform=ios&dev=true&minify=false&modulesOnly=true&runModule=false&shallow=true:99:40
doTrackingAction@http://localhost:8081/src/hooks/useAppTracking.bundle?platform=ios&dev=true&minify=false&modulesOnly=true&runModule=false&shallow=true:95:48
trackScreenViewed@http://localhost:8081/src/hooks/useAppTracking.bundle?platform=ios&dev=true&minify=false&modulesOnly=true&runModule=false&shallow=true:171:23
http://localhost:8081/src/hooks/useAppTracking.bundle?platform=ios&dev=true&minify=false&modulesOnly=true&runModule=false&shallow=true:435:26
callback@http://localhost:8081/index.bundle?platform=ios&dev=true&minify=false:106307:29
http://localhost:8081/index.bundle?platform=ios&dev=true&minify=false:106329:27
commitHookEffectListMount@http://localhost:8081/index.bundle?platform=ios&dev=true&minify=false:23303:38
commitPassiveHookEffects@http://localhost:8081/index.bundle?platform=ios&dev=true&minify=false:23338:44
invokeGuardedCallbackImpl@http://localhost:8081/index.bundle?platform=ios&dev=true&minify=false:12859:21
invokeGuardedCallback@http://localhost:8081/index.bundle?platform=ios&dev=true&minify=false:12953:42
flushPassiveEffectsImpl@http://localhost:8081/index.bundle?platform=ios&dev=true&minify=false:25682:36
unstable_runWithPriority@http://localhost:8081/index.bundle?platform=ios&dev=true&minify=false:47268:30
performSyncWorkOnRoot@http://localhost:8081/index.bundle?platform=ios&dev=true&minify=false:24807:28
performSyncWorkOnRoot@[native code]
http://localhost:8081/index.bundle?platform=ios&dev=true&minify=false:16110:38
unstable_runWithPriority@http://localhost:8081/index.bundle?platform=ios&dev=true&minify=false:47268:30
flushSyncCallbackQueueImpl@http://localhost:8081/index.bundle?platform=ios&dev=true&minify=false:16105:28
flushSyncCallbackQueue@http://localhost:8081/index.bundle?platform=ios&dev=true&minify=false:16094:35
scheduleUpdateOnFiber@http://localhost:8081/index.bundle?platform=ios&dev=true&minify=false:24447:37
dispatchAction@http://localhost:8081/index.bundle?platform=ios&dev=true&minify=false:20148:23
dispatchAction@[native code]
onPressOut@http://localhost:8081/index.bundle?platform=ios&dev=true&minify=false:72484:21
http://localhost:8081/index.bundle?platform=ios&dev=true&minify=false:55665:25
_callTimer@http://localhost:8081/index.bundle?platform=ios&dev=true&minify=false:30672:17
callTimers@http://localhost:8081/index.bundle?platform=ios&dev=true&minify=false:30880:19
__callFunction@http://localhost:8081/index.bundle?platform=ios&dev=true&minify=false:2804:36
http://localhost:8081/index.bundle?platform=ios&dev=true&minify=false:2536:31
__guard@http://localhost:8081/index.bundle?platform=ios&dev=true&minify=false:2758:15
callFunctionReturnFlushedQueue@http://localhost:8081/index.bundle?platform=ios&dev=true&minify=false:2535:21
callFunctionReturnFlushedQueue@[native code]
[Tue Feb 23 2021 15:12:40.143] WARN Possible Unhandled Promise Rejection (id: 29):
TypeError: offlineTrackingActionsRef.current.push is not a function. (In 'offlineTrackingActionsRef.current.push(trackingEvent)', 'offlineTrackingActionsRef.current.push' is undefined)
addTrackingActionToOfflineTrackingActions$@http://localhost:8081/src/hooks/useAppTracking.bundle?platform=ios&dev=true&minify=false&modulesOnly=true&runModule=false&shallow=true:103:53
tryCatch@http://localhost:8081/index.bundle?platform=ios&dev=true&minify=false:28649:23
invoke@http://localhost:8081/index.bundle?platform=ios&dev=true&minify=false:28822:32
tryCatch@http://localhost:8081/index.bundle?platform=ios&dev=true&minify=false:28649:23
invoke@http://localhost:8081/index.bundle?platform=ios&dev=true&minify=false:28722:30
http://localhost:8081/index.bundle?platform=ios&dev=true&minify=false:28752:19
tryCallTwo@http://localhost:8081/index.bundle?platform=ios&dev=true&minify=false:3490:9
doResolve@http://localhost:8081/index.bundle?platform=ios&dev=true&minify=false:3654:25
Promise@http://localhost:8081/index.bundle?platform=ios&dev=true&minify=false:3513:14
callInvokeWithMethodAndArg@http://localhost:8081/index.bundle?platform=ios&dev=true&minify=false:28751:33
enqueue@http://localhost:8081/index.bundle?platform=ios&dev=true&minify=false:28756:157
http://localhost:8081/index.bundle?platform=ios&dev=true&minify=false:28773:69
addTrackingActionToOfflineTrackingActions@http://localhost:8081/src/hooks/useAppTracking.bundle?platform=ios&dev=true&minify=false&modulesOnly=true&runModule=false&shallow=true:99:40
doTrackingAction@http://localhost:8081/src/hooks/useAppTracking.bundle?platform=ios&dev=true&minify=false&modulesOnly=true&runModule=false&shallow=true:95:48
trackScreenViewed@http://localhost:8081/src/hooks/useAppTracking.bundle?platform=ios&dev=true&minify=false&modulesOnly=true&runModule=false&shallow=true:168:23
http://localhost:8081/src/hooks/useAppTracking.bundle?platform=ios&dev=true&minify=false&modulesOnly=true&runModule=false&shallow=true:435:26
callback@http://localhost:8081/index.bundle?platform=ios&dev=true&minify=false:106307:29
http://localhost:8081/index.bundle?platform=ios&dev=true&minify=false:106329:27
commitHookEffectListMount@http://localhost:8081/index.bundle?platform=ios&dev=true&minify=false:23303:38
commitPassiveHookEffects@http://localhost:8081/index.bundle?platform=ios&dev=true&minify=false:23338:44
invokeGuardedCallbackImpl@http://localhost:8081/index.bundle?platform=ios&dev=true&minify=false:12859:21
invokeGuardedCallback@http://localhost:8081/index.bundle?platform=ios&dev=true&minify=false:12953:42
flushPassiveEffectsImpl@http://localhost:8081/index.bundle?platform=ios&dev=true&minify=false:25682:36
unstable_runWithPriority@http://localhost:8081/index.bundle?platform=ios&dev=true&minify=false:47268:30
performSyncWorkOnRoot@http://localhost:8081/index.bundle?platform=ios&dev=true&minify=false:24807:28
performSyncWorkOnRoot@[native code]
http://localhost:8081/index.bundle?platform=ios&dev=true&minify=false:16110:38
unstable_runWithPriority@http://localhost:8081/index.bundle?platform=ios&dev=true&minify=false:47268:30
flushSyncCallbackQueueImpl@http://localhost:8081/index.bundle?platform=ios&dev=true&minify=false:16105:28
flushSyncCallbackQueue@http://localhost:8081/index.bundle?platform=ios&dev=true&minify=false:16094:35
scheduleUpdateOnFiber@http://localhost:8081/index.bundle?platform=ios&dev=true&minify=false:24447:37
dispatchAction@http://localhost:8081/index.bundle?platform=ios&dev=true&minify=false:20148:23
dispatchAction@[native code]
onPressOut@http://localhost:8081/index.bundle?platform=ios&dev=true&minify=false:72484:21
http://localhost:8081/index.bundle?platform=ios&dev=true&minify=false:55665:25
_callTimer@http://localhost:8081/index.bundle?platform=ios&dev=true&minify=false:30672:17
callTimers@http://localhost:8081/index.bundle?platform=ios&dev=true&minify=false:30880:19
__callFunction@http://localhost:8081/index.bundle?platform=ios&dev=true&minify=false:2804:36
http://localhost:8081/index.bundle?platform=ios&dev=true&minify=false:2536:31
__guard@http://localhost:8081/index.bundle?platform=ios&dev=true&minify=false:2758:15
callFunctionReturnFlushedQueue@http://localhost:8081/index.bundle?platform=ios&dev=true&minify=false:2535:21
callFunctionReturnFlushedQueue@[native code]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment