How to use config plugin in expo managed workflow ?

Please provide the following:

  1. SDK Version: ^44.0.0
  2. Platforms(Android/iOS/web/all): Android
  3. Add the appropriate “Tag” based on what Expo library you have a question on.

Hi,

I want to change the color of datetimepicker "@react-native-community/datetimepicker" but as mentioned in this issue it can’t be done with expo managed workflow.
in this comment we can do that by modifying android/app/src/main/res/values/styles.xml unless we don’t have this file on managed workflow after searching i realized that it is possible with config-plugins specificly with withAndroidStyles Mod Plugin but it’s not clear how can we use it.

Any help on this please thanks

Hey @marouaniala, on the issue you commented on, there is a new comment on how to create a config plugin for the datetimepicker package and use it with an Expo project. I’d suggest you try the solution provided and follow the conversation :+1:

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.