You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jun 21, 2020. It is now read-only.
That's strange. initialMode isn't pascal case. I need more information. Does this happen on Android only or on iOS only or both? If it's only iOS did you run pod install after npm install/yarn add?
I am getting the following error:
Cannot read property 'initialMode' of undefined
.I am just importing
import { useDarkMode } from 'react-native-dark-mode';
then calling
const isDarkMode = useDarkMode();
It gives me this error. I am on React Native 0.60.4 and react-native-dark-mode 0.1.2.
The text was updated successfully, but these errors were encountered: