How to use @brandingbrand/react-native-leanplum - 1 common examples

To help you get started, we’ve selected a few @brandingbrand/react-native-leanplum examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github brandingbrand / flagship / packages / fsengage / src / modules / analytics / providers / leanplum / LeanplumProvider.ts View on Github external
constructor(commonConfiguration: AnalyticsProviderConfiguration,
              configuration: LeanplumProviderConfiguration) {

    // Leanplum accepts by default 'Purchase' as event name for revenue metrics. Confirm with
    // the client if they are using the default or a custom one.
    // Reference:
    this.monetizationEventName = configuration.monetizationEventName || 'Purchase';

    this.client = new RNLeanplum(configuration.appId, configuration.key);

    // TODO: Enable 'trackAllAppScreens'


React Native bridge for Leanplum iOS and Android SDKs.

Latest version published 1 month ago

Package Health Score

79 / 100
Full package analysis

Popular @brandingbrand/react-native-leanplum functions

Similar packages