Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

react native remove darkmode

On IOS:
Go to ios > *name_app* > Info.plist and add inside <dict></dict>:
<key>UIUserInterfaceStyle</key>
<string>Light</string>

On Android:
Go to android > app > src > main > values > styles.xml and add inside <style></style>
<item name="android:forceDarkAllowed">false</item>
 
PREVIOUS NEXT
Tagged: #react #native #remove #darkmode
ADD COMMENT
Topic
Name
5+8 =