UNPKG

react-native-kochava-tracker

Version:

A lightweight and easy to integrate SDK, providing first-class integration with Kochava’s installation attribution and analytics platform.

18 lines (17 loc) 505 B
const { withProjectBuildGradle } = require('@expo/config-plugins') module.exports = function withKochava(config) { return withProjectBuildGradle(config, (config) => { if(!config.modResults.contents.includes('react-native-kochava-tracker')){ config.modResults.contents += ` allprojects { repositories { flatDir { dirs "$rootDir/../node_modules/react-native-kochava-tracker/android/libs" } } } `; } return config; }) }