From ed9419fb34b1faa9470ac57a7e7501b154adf888 Mon Sep 17 00:00:00 2001 From: biancalui-emarsys Date: Tue, 23 Jan 2024 15:57:26 +0800 Subject: [PATCH] feat: add wrapper:init event MV-602 --- index.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/index.js b/index.js index 5cab2f4..fc701ae 100644 --- a/index.js +++ b/index.js @@ -132,3 +132,6 @@ const Emarsys = { }; export default Emarsys; + +import { version } from './package.json'; +RNEmarsysWrapper.trackCustomEvent('wrapper:init', { type: 'react-native', version })