https://github.com/appmetrica/varioqub-react-native-plugin
Varioqub Plugin for React Native
https://github.com/appmetrica/varioqub-react-native-plugin
android ios react-native varioqub
Last synced: 5 months ago
JSON representation
Varioqub Plugin for React Native
- Host: GitHub
- URL: https://github.com/appmetrica/varioqub-react-native-plugin
- Owner: appmetrica
- License: mit
- Created: 2024-09-23T08:52:46.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2025-02-26T14:35:30.000Z (over 1 year ago)
- Last Synced: 2025-09-30T01:51:32.488Z (10 months ago)
- Topics: android, ios, react-native, varioqub
- Language: Java
- Homepage: https://varioqub.ru
- Size: 199 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE.md
Awesome Lists containing this project
README
# @appmetrica/react-native-varioqub
React Native plugin for [Varioqub](https://varioqub.ru) for Android and iOS platforms
## Installation
```sh
npm install @appmetrica/react-native-varioqub
```
## Usage
```js
import Varioqub from '@appmetrica/react-native-varioqub';
// init varioqub
Varioqub.initVarioqubWithAppMetricaAdapter({
clientId: '',
});
// 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")
```