This package includes a list of reserved event names which doesn't include "screen_view". So tracking events manually using logEvent("screen_view") will actually fail. I encountered this since setCurrentScreen(...) doesn't actually track anything and the automatic tracking doesn't work (likely because RN projects usually don't use native navigation components.
Fix is simply to add 1 line in lib/modules/analytics/index.js in the const ReservedEventNames array: 'screen_view'
This package includes a list of reserved event names which doesn't include "screen_view". So tracking events manually using
logEvent("screen_view")
will actually fail. I encountered this sincesetCurrentScreen(...)
doesn't actually track anything and the automatic tracking doesn't work (likely because RN projects usually don't use native navigation components.Fix is simply to add 1 line in
lib/modules/analytics/index.js
in theconst ReservedEventNames
array:'screen_view'
Thanks