@appmetrica/react-native-varioqub
TypeScript icon, indicating that this package has built-in type declarations

0.1.0 • Public • Published

@appmetrica/react-native-varioqub

React Native plugin for Varioqub for Android and iOS platforms

Installation

npm install @appmetrica/react-native-varioqub

Usage

import Varioqub from '@appmetrica/react-native-varioqub';

// init varioqub
Varioqub.initVarioqubWithAppMetricaAdapter({
  clientId: '<YOUR_CLIENT_ID>',
});

// fetch config with flags
Varioqub.fetchConfig(
  () => {
    // activate config with flags
    Varioqub.activateConfig();
  },
  () => {
    console.log('Something went wrong');
  },
);

// use flags from config
Varioqub.getString("key", "default_value")

Package Sidebar

Install

npm i @appmetrica/react-native-varioqub

Homepage

varioqub.ru

Weekly Downloads

1

Version

0.1.0

License

See LICENSE.md file

Unpacked Size

34.9 kB

Total Files

21

Last publish

Collaborators

  • appmetrica-admin
  • alex98