Skip to content

feat: add expo config plugin for mmkv log level#1040

Open
bryanprimus wants to merge 1 commit into
mrousavy:mainfrom
bryanprimus:feat/expo-log-level-plugin
Open

feat: add expo config plugin for mmkv log level#1040
bryanprimus wants to merge 1 commit into
mrousavy:mainfrom
bryanprimus:feat/expo-log-level-plugin

Conversation

@bryanprimus
Copy link
Copy Markdown

adds expo config plugin support for configuring mmkv native log level during prebuild

mmkv already supports build time log level configuration through

android:

MMKV_logLevel in android/gradle.properties

iOS:

$MMKVLogLevel in ios/Podfile

#995

expo users should not manually edit generated native files, so this exposes the existing native configuration through the package config plugin

[
  "react-native-mmkv",
  {
    "logLevel": 4
  }
]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant