diff options
author | Ansh <anshnanda10@gmail.com> | 2023-04-09 18:02:44 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-04-09 18:02:44 -0700 |
commit | 14c84732106e1db52e6818ac3814c54845ec1226 (patch) | |
tree | c55e07e0e569a2c41ca73fb3420a2c6b08621c4d /src/App.native.tsx | |
parent | 362ea7240d44f130419191e7f726535a77763238 (diff) | |
download | voidsky-14c84732106e1db52e6818ac3814c54845ec1226.tar.zst |
[DRAFT] Android (#424)
* add android & ios folders to .gitignore * delete android and ios dirs * fix android build errors * fix status bar color * fix top cutoff on composer in android * fix weird whitespace issue in post * fix greyed out header android * fix main feed getting cut off android * fix swiping on main feed * fix profile tabs switching on android * A few app.json config items for iOS * Update app.json for bgfetch * make swiping work on android * make splash screen cover * add eas.json * fix image container on android * fix android status bar color * use expo-splash-screen instead of react-native-splash-screen --------- Co-authored-by: Paul Frazee <pfrazee@gmail.com>
Diffstat (limited to 'src/App.native.tsx')
-rw-r--r-- | src/App.native.tsx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/App.native.tsx b/src/App.native.tsx index 0adbae606..e0e030cbc 100644 --- a/src/App.native.tsx +++ b/src/App.native.tsx @@ -2,7 +2,7 @@ import 'react-native-url-polyfill/auto' import React, {useState, useEffect} from 'react' import {Linking} from 'react-native' import {RootSiblingParent} from 'react-native-root-siblings' -import SplashScreen from 'react-native-splash-screen' +import * as SplashScreen from 'expo-splash-screen' import {SafeAreaProvider} from 'react-native-safe-area-context' import {GestureHandlerRootView} from 'react-native-gesture-handler' import {observer} from 'mobx-react-lite' @@ -28,7 +28,7 @@ const App = observer(() => { setRootStore(store) analytics.init(store) notifee.init(store) - SplashScreen.hide() + SplashScreen.hideAsync() Linking.getInitialURL().then((url: string | null) => { if (url) { handleLink(url) |