import { NativeModules } from "react-native"
const { AREventsModule } = NativeModules

function postEvent(info: any) {
  if (__DEV__) {
    console.log("[Event tracked]", info)
  }
  AREventsModule.postEvent(info)
}

export default { postEvent }

import { NativeModules } from "react-native"
const { AREventsModule } = NativeModules

function postEvent(info: any) {
  AREventsModule.postEvent(info)
}

export default { postEvent }

--- 
+++ 
@@ -2,6 +2,9 @@
 const { AREventsModule } = NativeModules
 
 function postEvent(info: any) {
+  if (__DEV__) {
+    console.log("[Event tracked]", info)
+  }
   AREventsModule.postEvent(info)
 }
 
Add logging events in Dev mode
