resonatecoop / mobile

A mobile app for playing music on Resonate, an open source music streaming co-op; built with TypeScript and React Native
GNU General Public License v3.0
15 stars 2 forks source link

chore: react native status bar #6

Closed peterklingelhofer closed 2 years ago

peterklingelhofer commented 2 years ago

Discussing switching over to react-native status bar since we don't want to use any Expo API stuff so we can be considered for the F-droid repository. It doesn't seem to want to switch to dark mode for me though. I guess we could leave it without dark mode for now, but typically my experience with react native dark mode is really simple and easy with useColorScheme. Any ideas @simonv3?

peterklingelhofer commented 2 years ago

@simonv3 was doing some testing... I had dark mode working with stream-app with Expo but that was using Expo components. Or maybe the latest version of Expo is just busted? Not sure...

React Native TypeScript Template:

npx react-native init MyApp --template react-native-template-typescript

Simulator Screen Shot - iPhone 13 - 2022-07-01 at 21 47 22 Simulator Screen Shot - iPhone 13 - 2022-07-01 at 21 47 25

Expo TypeScript Template:

npx create-expo-app -t expo-template-blank-typescript

No dark mode, app stays light when I toggle Appearance (Cmd + Shift + A) in iOS Simulator.