Skip to content

Commit

Permalink
Fresh expo init
Browse files Browse the repository at this point in the history
Signed-off-by: sarthakpranesh <[email protected]>
  • Loading branch information
sarthakpranesh committed Sep 6, 2021
1 parent e0dc291 commit 016f87f
Show file tree
Hide file tree
Showing 76 changed files with 1,281 additions and 12,228 deletions.
6 changes: 0 additions & 6 deletions .buckconfig

This file was deleted.

4 changes: 4 additions & 0 deletions .expo-shared/assets.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"12bb71342c6255bbf50437ec8f4441c083f47cdb74bd89160c15e4f43e52a1cb": true,
"40b842e832070c58deac6aa9e08fa459302ee3f9da492c7e77d93d2fbf4a56fd": true
}
1 change: 0 additions & 1 deletion .gitattributes

This file was deleted.

67 changes: 9 additions & 58 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,62 +1,13 @@
# OSX
#
.DS_Store

# Xcode
#
build/
*.pbxuser
!default.pbxuser
*.mode1v3
!default.mode1v3
*.mode2v3
!default.mode2v3
*.perspectivev3
!default.perspectivev3
xcuserdata
*.xccheckout
*.moved-aside
DerivedData
*.hmap
*.ipa
*.xcuserstate
project.xcworkspace

# Android/IntelliJ
#
build/
.idea
.gradle
local.properties
*.iml
*.hprof

# node.js
#
node_modules/
npm-debug.log
yarn-error.log

# BUCK
buck-out/
\.buckd/
*.keystore
!debug.keystore

# Bundle artifacts
*.jsbundle

# CocoaPods
/ios/Pods/

# Expo
.expo/
npm-debug.*
*.jks
*.p8
*.p12
*.key
*.mobileprovision
*.orig.*
web-build/

# @generated: @expo/[email protected]
/.expo/*
# Expo Web
/web-build/*
# electron-webpack
/dist
# @end @expo/electron-adapter
# macOS
.DS_Store
32 changes: 15 additions & 17 deletions App.tsx
Original file line number Diff line number Diff line change
@@ -1,23 +1,21 @@
import { StatusBar } from 'expo-status-bar';
import React from 'react';
import {Provider as ReduxProvider} from 'react-redux';
import {PersistGate} from 'redux-persist/integration/react';
import { Provider as PaperProvider } from 'react-native-paper';

// importing screens
import HomeScreen from './src/screens/HomeScreen';
import CounterScreen from './src/screens/CounterScreen';

// importing stores
import {store, persister} from './src/stores/index'
import { StyleSheet, Text, View } from 'react-native';

export default function App() {
return (
<ReduxProvider store={store}>
<PersistGate loading={null} persistor={persister}>
<PaperProvider>
<CounterScreen />
</PaperProvider>
</PersistGate>
</ReduxProvider>
<View style={styles.container}>
<Text>Open up App.tsx to start working on your app!</Text>
<StatusBar style="auto" />
</View>
);
}

const styles = StyleSheet.create({
container: {
flex: 1,
backgroundColor: '#fff',
alignItems: 'center',
justifyContent: 'center',
},
});
21 changes: 0 additions & 21 deletions LICENSE

This file was deleted.

3 changes: 0 additions & 3 deletions README.md

This file was deleted.

10 changes: 0 additions & 10 deletions __tests__/App.js

This file was deleted.

55 changes: 0 additions & 55 deletions android/app/BUCK

This file was deleted.

Loading

0 comments on commit 016f87f

Please sign in to comment.