The MappIntelligence SDK allows you to track user activities, screen flow and media usage for an app. All data is send to the MappIntelligence tracking system for further analysis.
npm install mapp-intelligence-reactnative-plugin
import { MappIntelligencePlugin } from 'mapp-intelligence-reactnative-plugin';
const App = () => {
const TRACKING_IDS_ARRAY = ... ;
const TRACKING_DOMAIN = ... ;
async function initMappTracking() {
await MappIntelligencePlugin.setAnonymousTracking(false);
await MappIntelligencePlugin.initWithConfiguration(
TRACKING_IDS_ARRAY,
TRACKING_DOMAIN
);
await MappIntelligencePlugin.setLogLevel(LogLevel.all);
await MappIntelligencePlugin.setBatchSupportEnabled(false);
await MappIntelligencePlugin.setBatchSupportSize(150);
await MappIntelligencePlugin.setRequestInterval(1);
await MappIntelligencePlugin.setRequestPerQueue(300);
await MappIntelligencePlugin.setShouldMigrate(true);
await MappIntelligencePlugin.setSendAppVersionInEveryRequest(true);
await MappIntelligencePlugin.setEnableBackgroundSendout(true);
await MappIntelligencePlugin.setExceptionLogLevel(ExceptionType.all);
await MappIntelligencePlugin.setEnableUserMatching(true);
await MappIntelligencePlugin.build();
}
};
// ...
See the contributing guide to learn how to contribute to the repository and the development workflow.
MIT
Made with create-react-native-library