1.0.32 • Published 1 year 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 start
Running App iOS
$ cd ios && pod install && cd ..
# Run in emulator / connected device
$ npm run ios
1.0.32
1 year ago
1.0.31
1 year ago
1.0.30
3 years ago
1.0.29
3 years ago
1.0.28
3 years ago
1.0.27
3 years ago
1.0.26
3 years ago
1.0.25
3 years ago
1.0.24
3 years ago
1.0.23
3 years ago
1.0.22
3 years ago
1.0.21
3 years ago
1.0.20
3 years ago
1.0.19
3 years ago
1.0.18
3 years ago
1.0.17
3 years ago
1.0.16
3 years ago
1.0.15
3 years ago
1.0.14
3 years ago
1.0.13
3 years ago