Skip to content
This repository has been archived by the owner on Jan 1, 2024. It is now read-only.

Commit

Permalink
re initialize
Browse files Browse the repository at this point in the history
  • Loading branch information
lochungtin committed Jul 12, 2021
1 parent 08aeee5 commit d7cc309
Show file tree
Hide file tree
Showing 147 changed files with 3,457 additions and 15,932 deletions.
2 changes: 0 additions & 2 deletions .bash_profile

This file was deleted.

6 changes: 6 additions & 0 deletions .buckconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@

[android]
target = Google Inc.:Google APIs:23

[maven_repositories]
central = https://repo1.maven.org/maven2
1 change: 1 addition & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
*.pbxproj -text
20 changes: 6 additions & 14 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ DerivedData
*.hmap
*.ipa
*.xcuserstate
project.xcworkspace

# Android/IntelliJ
#
Expand All @@ -28,6 +29,7 @@ build/
.gradle
local.properties
*.iml
*.hprof

# node.js
#
Expand All @@ -41,22 +43,12 @@ buck-out/
*.keystore
!debug.keystore

# fastlane
#
# It is recommended to not store the screenshots in the git repo. Instead, use fastlane to re-generate the
# screenshots whenever they are needed.
# For more information about the recommended setup visit:
# https://docs.fastlane.tools/best-practices/source-control/

*/fastlane/report.xml
*/fastlane/Preview.html
*/fastlane/screenshots

# Bundle artifact
# Bundle artifacts
*.jsbundle

# CocoaPods
/ios/Pods/

# VSCode Extensions
.VSCodeCounter/
# Expo
.expo/
web-build/
34 changes: 18 additions & 16 deletions App.js
Original file line number Diff line number Diff line change
@@ -1,19 +1,21 @@
import { StatusBar } from 'expo-status-bar';
import React from 'react';
import { Provider } from 'react-redux';
import { PersistGate } from 'redux-persist/integration/react';
import { StyleSheet, Text, View } from 'react-native';

import AppNav from './src/navigation'
import { store, persistor } from './src/redux/store';
export default function App() {
return (
<View style={styles.container}>
<Text>Open up App.js to start working on your app!</Text>
<StatusBar style="auto" />
</View>
);
}


export default class App extends React.Component {
render() {
return (
<Provider store={store}>
<PersistGate loading={null} persistor={persistor}>
<AppNav />
</PersistGate>
</Provider>
);
}
}
const styles = StyleSheet.create({
container: {
flex: 1,
backgroundColor: '#fff',
alignItems: 'center',
justifyContent: 'center',
},
});
201 changes: 0 additions & 201 deletions LICENSE

This file was deleted.

3 changes: 0 additions & 3 deletions README.md

This file was deleted.

13 changes: 1 addition & 12 deletions android/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ import com.android.build.OutputFile
*/

project.ext.react = [
enableHermes: false
enableHermes: (findProperty('expo.jsEngine') ?: "jsc") == "hermes",
]

apply from: '../../node_modules/react-native-unimodules/gradle.groovy'
Expand Down Expand Up @@ -137,7 +137,6 @@ android {
targetSdkVersion rootProject.ext.targetSdkVersion
versionCode 1
versionName "1.0"
multiDexEnabled true
}
splits {
abi {
Expand Down Expand Up @@ -182,18 +181,13 @@ android {

}
}

dexOptions {
javaMaxHeapSize "4g"
}
}

dependencies {
implementation fileTree(dir: "libs", include: ["*.jar"])
//noinspection GradleDynamicVersion
implementation "com.facebook.react:react-native:+" // From node_modules
implementation "androidx.swiperefreshlayout:swiperefreshlayout:1.0.0"

debugImplementation("com.facebook.flipper:flipper:${FLIPPER_VERSION}") {
exclude group:'com.facebook.fbjni'
}
Expand All @@ -213,9 +207,6 @@ dependencies {
} else {
implementation jscFlavor
}

implementation platform('com.google.firebase:firebase-bom:26.5.0')
implementation 'com.google.firebase:firebase-analytics'
}

// Run this once to be able to run the application with BUCK
Expand All @@ -226,5 +217,3 @@ task copyDownloadableDepsToLibs(type: Copy) {
}

apply from: file("../../node_modules/@react-native-community/cli-platform-android/native_modules.gradle"); applyNativeModulesAppBuildGradle(project)
apply from: "../../node_modules/react-native-vector-icons/fonts.gradle"
apply plugin: 'com.google.gms.google-services'
Loading

0 comments on commit d7cc309

Please sign in to comment.