thebylito / react-native-navigation-bar-color

React Native component to change bottom bar/navigation bar color on Android
MIT License
275 stars 50 forks source link

Not RN v0.64 compatible #51

Closed milesj closed 1 year ago

milesj commented 3 years ago

@thebylito RN 0.64 minimum SDK requirement is now 21, which causes builds to fail.

> Task :react-native-navigation-bar-color:processDebugAndroidTestManifest FAILED
--
  | [androidx.vectordrawable:vectordrawable-animated:1.0.0] /root/.gradle/caches/transforms-2/files-2.1/34f87ae3aab65bfd5a1ac17452ff5394/vectordrawable-animated-1.0.0/AndroidManifest.xml Warning:
  | Package name 'androidx.vectordrawable' used in: androidx.vectordrawable:vectordrawable-animated:1.0.0, androidx.vectordrawable:vectordrawable:1.0.1.
  | /workdir/node_modules/react-native-navigation-bar-color/android/build/intermediates/tmp/manifest/androidTest/debug/manifestMerger1737413724327418319.xml:5:5-74 Error:
  | uses-sdk:minSdkVersion 16 cannot be smaller than version 21 declared in library [com.facebook.react:react-native:0.64.0] /root/.gradle/caches/transforms-2/files-2.1/bf54b844f524ab8e44f44b68a7baaeb8/jetified-react-native-0.64.0/AndroidManifest.xml as the library might be using APIs not available in 16
  | Suggestion: use a compatible library with a minSdk of at most 16,
  | or increase this project's minSdk version to at least 21,
  | or use tools:overrideLibrary="com.facebook.react" to force usage (may lead to runtime failures)
milesj commented 3 years ago

This looks related: https://github.com/thebylito/react-native-navigation-bar-color/pull/50

thebylito commented 1 year ago

solved!