1.0.32 • Published 2 years ago
@deltax-sdk/dxmobilesdk-reactnative v1.0.32
dxmobilesdk-reactnative
Getting started
$ npm install dxmobilesdk-reactnative --save
Usage - Example App.js
//...
import React, { useEffect } from 'react';
import DeltaXMobileSdk from 'dxmobilesdk-reactnative'
//...
export default function App() {
//...
useEffect(() => {
DeltaXMobileSdk.initTrackerInstance('XXXXX');
// Depends on when this needs to be invoked
DeltaXMobileSdk.trackEvent({xb: 'XXXXX', xcv: '1.0', xcc:'USD'});
}, []); // empty dependency array analogous to componentDidMount
//...Running App Android
# Run in emulator / connected device
$ npm run android
# Run with debugger
$ npx react-native startRunning App iOS
$ cd ios && pod install && cd ..
# Run in emulator / connected device
$ npm run ios1.0.32
2 years ago
1.0.31
2 years ago
1.0.30
4 years ago
1.0.29
4 years ago
1.0.28
4 years ago
1.0.27
4 years ago
1.0.26
4 years ago
1.0.25
4 years ago
1.0.24
4 years ago
1.0.23
4 years ago
1.0.22
4 years ago
1.0.21
4 years ago
1.0.20
4 years ago
1.0.19
4 years ago
1.0.18
4 years ago
1.0.17
4 years ago
1.0.16
4 years ago
1.0.15
4 years ago
1.0.14
4 years ago
1.0.13
4 years ago