react-native-mmkv-storage
Version:
This library aims to provide a fast & reliable solution for you data storage needs in react-native apps. It uses [MMKV](https://github.com/Tencent/MMKV) by Tencent under the hood on Android and iOS both that is used by their WeChat app(more than 1 Billion
31 lines (26 loc) • 656 B
JavaScript
const glob = require("glob");
const ignoreFolders = {
ignore: [
"node_modules/**",
"**/build/**",
"**/Build/**",
"**/DerivedData/**",
"**/*-tvOS*/**",
],
};
exports.mainApplicationJava = glob.sync(
"**/MainApplication.java",
ignoreFolders
)[0];
exports.rootGradle = exports.mainApplicationJava.replace(
/android\/app\/.*\.java/,
"android/build.gradle"
);
exports.appGradle = exports.mainApplicationJava.replace(
/android\/app\/.*\.java/,
"android/app/build.gradle"
);
exports.gradleProperties = exports.mainApplicationJava.replace(
/android\/app\/.*\.java/,
"android/gradle/wrapper/gradle-wrapper.properties"
);