Skip to content

Commit 068afea

Browse files
authored
Merge pull request #101 from emartech/MV-602-wrapper-init-event
feat: add wrapper:init event
2 parents 46967dd + ed9419f commit 068afea

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

index.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -132,3 +132,6 @@ const Emarsys = {
132132
};
133133

134134
export default Emarsys;
135+
136+
import { version } from './package.json';
137+
RNEmarsysWrapper.trackCustomEvent('wrapper:init', { type: 'react-native', version })

0 commit comments

Comments
 (0)