codemotionapps/react-native-dark-mode

Build Error in iOS

Closed this issue · 2 comments

I am getting this error when trying to import from react-native-dark-mode. I've installed it using the instructions as -

$ npm install react-native-dark-mode
$ cd ios && pod install

I am using expo with RN, but is there any additional steps I am missing, can't seem to find anything in the documentation.

Screen Shot 2020-01-11 at 9 03 54 PM

This module doesn't work with Expo. Use this instead: https://github.com/expo/react-native-appearance

Yup i realized it after installing. I am using react-native-appearance now. Thanks for the reply.