🔥 remove(App.tsx): remove unused imports and console logs to clean up code
All checks were successful
Building APK / build-apk (push) Successful in 35m27s

 feat(package.json): add react-native-background-actions package to support background tasks
This commit is contained in:
Djalim Simaila 2024-04-08 10:43:56 +02:00
parent e21fae574d
commit e3fec5d0bd
3 changed files with 2 additions and 5 deletions

View File

@ -3,7 +3,7 @@ import 'react-native-gesture-handler';
import {AppRegistry, Platform} from 'react-native';
import {useState} from 'react';
import {NavigationContainer, DefaultTheme} from '@react-navigation/native';
import {NavigationContainer } from '@react-navigation/native';
import {createNativeStackNavigator} from '@react-navigation/native-stack';
import {Provider} from 'react-redux';
import {store, persistor} from './src/redux/store';
@ -14,7 +14,6 @@ import ClipPage from './src/pages/Clips';
import IntroPage from './src/pages/Intro';
import {StatusBar} from 'expo-status-bar';
import {Material3Dracula, ReactNavigationDracula} from './src/themes';
import {PixelRatio, useWindowDimensions} from 'react-native';
import {SafeAreaProvider} from 'react-native-safe-area-context';
const Stack = createNativeStackNavigator();
import {PersistGate} from 'redux-persist/integration/react';
@ -23,9 +22,6 @@ function App() {
const [token, setToken] = useState(store.getState().user.token);
const [username, setUsername] = useState('');
const {height, width} = useWindowDimensions();
console.log(width);
console.log(PixelRatio.get());
store.subscribe(() => {
let newToken = store.getState().user.token;

BIN
bun.lockb

Binary file not shown.

View File

@ -26,6 +26,7 @@
"react-native": "0.73.6",
"react-native-android-notification-listener": "^5.0.1",
"react-native-async-storage": "^0.0.1",
"react-native-background-actions": "^3.0.1",
"react-native-drawer-layout": "^3.3.0",
"react-native-gesture-handler": "~2.14.0",
"react-native-pager-view": "6.2.3",