Skip to content

krmao/react-native-talkingdata

Repository files navigation

@krmao/react-native-talkingdata

npm version

Install

yarn add @krmao/react-native-talkingdata

Init

//region init talkingdata
let appId = Constants.TALKING_DATA_APP_ID;
let channelId = 'default';
let custom = 'hello talking data';
TalkingDataSDK.init(appId, channelId, custom);
TalkingDataSDK.startA();
TalkingDataSDK.setExceptionReportEnabled(true);
//endregion

For Typescript

react-native-talkingdata.d.ts

declare module '@krmao/react-native-talkingdata' {
    export const TalkingDataSDK: {
        init: (appId, channelId, custom) => void;
        startA: () => void;
        setExceptionReportEnabled: (boolean) => void;
    };

    export const TalkingDataGender: any;
    export const TalkingDataProfile: any;
    export const TalkingDataProfileType: any;
    export const TalkingDataSDK: any;
    export const TalkingDataSearch: any;
}

For Google Play

config root build.gradle in android project

buildscript {
    ext {
        enableTalkingDataGooglePlay = true // default false
    }
}

Issues

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published