#lelouch

1 messages ยท Page 1 of 1 (latest)

static pumiceBOT
mental canyon
#

AFAIK you just edit your file at android/app/src/main/res/values/styles.xml in the project.

jade monolith
#

yep but the requirements are different

mental canyon
#

for example in my RN apps, that file looks like this.

<resources>

    <!-- Base application theme. -->
    <style name="AppTheme" parent="Theme.MaterialComponents.DayNight.NoActionBar">
        <!-- Customize your theme here. -->
        <item name="android:editTextBackground">@drawable/rn_edit_text_material</item>
    </style>

</resources>
mental canyon
jade monolith
#

i am using bootsplash and it has its own requirements

#

and i need to use "android:theme="@style/BootTheme""

#

but stripe-identity-react-native says to use "android:theme"

#

if you look at my issue code you will understand what i meant

#

plus changing "Theme.AppCompat.Light.NoActionBar" to "Theme.MaterialComponents.DayNight.NoActionBar" causes app not to build

mental canyon
#

well to use our library your app has to use a Material theme

#

so if your app is using a different library that requires not using Material, then you can't make it work and will have to remove the other library for example

jade monolith
#

hmm that sucks then and quite not good

#

a library shouldnt be making other library unusable

#

no any solutions before i move on to other options ?

mental canyon
jade monolith
#

alright will see what to do, thanks.