Hello,
I'm using Amplitude in React Native.
I'm utilizing React Navigation's Bottom-tabs navigation, and within the tab's screen component,
I'm using useFocusEffect to trigger the track function when the component gains focus.
I can see the following log in the Debug Log, but the events are not being recorded in Amplitude.
Is there any way to identify the cause?
Amplitude Logger [Debug]: {<br /> "type": "invoke public method",<br /> "name": "track",<br /> "args": [<br /> "view_main_product_tab",<br /> {<br /> "eventType": "View",<br /> "environment": "development"<br /> }<br /> ],<br /> "stacktrace": [<br /> ...<br /> ],<br /> "time": {<br /> "start": "2023-08-16T04:10:26.772Z",<br /> "end": "2023-08-16T04:10:28.023Z"<br /> },<br /> "states": {<br /> "before": {<br /> "config.apiKey": "API KEY",<br /> "timeline.queue.length": 0<br /> },<br /> "after": {<br /> "config.apiKey": "API KEY",<br /> "timeline.queue.length": 0<br /> }<br /> }<br />}