From 4bf78488aa3c963bc5d8ae7b414d869e78dfff1d Mon Sep 17 00:00:00 2001 From: Hazem Krimi Date: Thu, 17 Sep 2020 22:15:59 +0100 Subject: [PATCH] Initial commit --- .buckconfig | 6 + .gitattributes | 1 + .gitignore | 64 + App.js | 26 + __tests__/App.js | 10 + android/app/BUCK | 55 + android/app/build.gradle | 228 + android/app/build_defs.bzl | 19 + android/app/proguard-rules.pro | 10 + android/app/src/debug/AndroidManifest.xml | 7 + .../java/com/goldiama/ReactNativeFlipper.java | 69 + android/app/src/main/AndroidManifest.xml | 48 + .../main/java/com/goldiama/MainActivity.java | 41 + .../java/com/goldiama/MainApplication.java | 120 + .../goldiama/generated/BasePackageList.java | 24 + .../src/main/res/drawable/splashscreen.xml | 7 + .../main/res/drawable/splashscreen_image.png | Bin 0 -> 25453 bytes .../src/main/res/mipmap-hdpi/ic_launcher.png | Bin 0 -> 3505 bytes .../res/mipmap-hdpi/ic_launcher_round.png | Bin 0 -> 5024 bytes .../src/main/res/mipmap-ldpi/ic_launcher.png | Bin 0 -> 1659 bytes .../src/main/res/mipmap-mdpi/ic_launcher.png | Bin 0 -> 2206 bytes .../res/mipmap-mdpi/ic_launcher_round.png | Bin 0 -> 2858 bytes .../src/main/res/mipmap-xhdpi/ic_launcher.png | Bin 0 -> 4713 bytes .../res/mipmap-xhdpi/ic_launcher_round.png | Bin 0 -> 7098 bytes .../main/res/mipmap-xxhdpi/ic_launcher.png | Bin 0 -> 6929 bytes .../res/mipmap-xxhdpi/ic_launcher_round.png | Bin 0 -> 10676 bytes .../main/res/mipmap-xxxhdpi/ic_launcher.png | Bin 0 -> 8965 bytes .../res/mipmap-xxxhdpi/ic_launcher_round.png | Bin 0 -> 15523 bytes android/app/src/main/res/playstore-icon.png | Bin 0 -> 24735 bytes android/app/src/main/res/values/colors.xml | 5 + android/app/src/main/res/values/strings.xml | 3 + android/app/src/main/res/values/styles.xml | 12 + android/build.gradle | 38 + android/gradle.properties | 30 + android/gradle/wrapper/gradle-wrapper.jar | Bin 0 -> 53639 bytes .../gradle/wrapper/gradle-wrapper.properties | 5 + android/gradlew | 188 + android/gradlew.bat | 100 + android/settings.gradle | 9 + app.json | 12 + babel.config.js | 6 + components/Nav.js | 22 + index.js | 8 + ios/Podfile | 92 + ios/goldiama.xcodeproj/project.pbxproj | 460 + .../xcshareddata/xcschemes/goldiama.xcscheme | 88 + ios/goldiama/AppDelegate.h | 10 + ios/goldiama/AppDelegate.m | 99 + ios/goldiama/Base.lproj/LaunchScreen.xib | 42 + .../AppIcon.appiconset/Contents.json | 38 + ios/goldiama/Images.xcassets/Contents.json | 6 + .../SplashScreen.imageset/Contents.json | 21 + .../SplashScreen.imageset/splashscreen.png | Bin 0 -> 9306 bytes .../Contents.json | 21 + .../background.png | Bin 0 -> 80 bytes ios/goldiama/Info.plist | 59 + ios/goldiama/SplashScreen.storyboard | 91 + ios/goldiama/Supporting/Expo.plist | 10 + ios/goldiama/main.m | 10 + metro.config.js | 5 + package.json | 37 + screens/Home.js | 360 + yarn.lock | 7726 +++++++++++++++++ 63 files changed, 10348 insertions(+) create mode 100644 .buckconfig create mode 100644 .gitattributes create mode 100644 .gitignore create mode 100644 App.js create mode 100644 __tests__/App.js create mode 100644 android/app/BUCK create mode 100644 android/app/build.gradle create mode 100644 android/app/build_defs.bzl create mode 100644 android/app/proguard-rules.pro create mode 100644 android/app/src/debug/AndroidManifest.xml create mode 100644 android/app/src/debug/java/com/goldiama/ReactNativeFlipper.java create mode 100644 android/app/src/main/AndroidManifest.xml create mode 100644 android/app/src/main/java/com/goldiama/MainActivity.java create mode 100644 android/app/src/main/java/com/goldiama/MainApplication.java create mode 100644 android/app/src/main/java/com/goldiama/generated/BasePackageList.java create mode 100644 android/app/src/main/res/drawable/splashscreen.xml create mode 100644 android/app/src/main/res/drawable/splashscreen_image.png create mode 100644 android/app/src/main/res/mipmap-hdpi/ic_launcher.png create mode 100644 android/app/src/main/res/mipmap-hdpi/ic_launcher_round.png create mode 100644 android/app/src/main/res/mipmap-ldpi/ic_launcher.png create mode 100644 android/app/src/main/res/mipmap-mdpi/ic_launcher.png create mode 100644 android/app/src/main/res/mipmap-mdpi/ic_launcher_round.png create mode 100644 android/app/src/main/res/mipmap-xhdpi/ic_launcher.png create mode 100644 android/app/src/main/res/mipmap-xhdpi/ic_launcher_round.png create mode 100644 android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png create mode 100644 android/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png create mode 100644 android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png create mode 100644 android/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png create mode 100644 android/app/src/main/res/playstore-icon.png create mode 100644 android/app/src/main/res/values/colors.xml create mode 100644 android/app/src/main/res/values/strings.xml create mode 100644 android/app/src/main/res/values/styles.xml create mode 100644 android/build.gradle create mode 100644 android/gradle.properties create mode 100644 android/gradle/wrapper/gradle-wrapper.jar create mode 100644 android/gradle/wrapper/gradle-wrapper.properties create mode 100644 android/gradlew create mode 100644 android/gradlew.bat create mode 100644 android/settings.gradle create mode 100644 app.json create mode 100644 babel.config.js create mode 100644 components/Nav.js create mode 100644 index.js create mode 100644 ios/Podfile create mode 100644 ios/goldiama.xcodeproj/project.pbxproj create mode 100644 ios/goldiama.xcodeproj/xcshareddata/xcschemes/goldiama.xcscheme create mode 100644 ios/goldiama/AppDelegate.h create mode 100644 ios/goldiama/AppDelegate.m create mode 100644 ios/goldiama/Base.lproj/LaunchScreen.xib create mode 100644 ios/goldiama/Images.xcassets/AppIcon.appiconset/Contents.json create mode 100644 ios/goldiama/Images.xcassets/Contents.json create mode 100644 ios/goldiama/Images.xcassets/SplashScreen.imageset/Contents.json create mode 100644 ios/goldiama/Images.xcassets/SplashScreen.imageset/splashscreen.png create mode 100644 ios/goldiama/Images.xcassets/SplashScreenBackground.imageset/Contents.json create mode 100644 ios/goldiama/Images.xcassets/SplashScreenBackground.imageset/background.png create mode 100644 ios/goldiama/Info.plist create mode 100644 ios/goldiama/SplashScreen.storyboard create mode 100644 ios/goldiama/Supporting/Expo.plist create mode 100644 ios/goldiama/main.m create mode 100644 metro.config.js create mode 100644 package.json create mode 100644 screens/Home.js create mode 100644 yarn.lock diff --git a/.buckconfig b/.buckconfig new file mode 100644 index 0000000..934256c --- /dev/null +++ b/.buckconfig @@ -0,0 +1,6 @@ + +[android] + target = Google Inc.:Google APIs:23 + +[maven_repositories] + central = https://repo1.maven.org/maven2 diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..d42ff18 --- /dev/null +++ b/.gitattributes @@ -0,0 +1 @@ +*.pbxproj -text diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..288597d --- /dev/null +++ b/.gitignore @@ -0,0 +1,64 @@ +# OSX +# +.DS_Store + +# Xcode +# +release/ +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 + +# node.js +# +node_modules/ +npm-debug.log +yarn-error.log + +# BUCK +buck-out/ +\.buckd/ +*.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 artifacts +*.jsbundle + +# CocoaPods +/ios/Pods/ + +# Expo +.expo/* +web-build/ diff --git a/App.js b/App.js new file mode 100644 index 0000000..54ef1c8 --- /dev/null +++ b/App.js @@ -0,0 +1,26 @@ +import React from 'react'; +import { DefaultTheme, Provider as PaperProvider } from 'react-native-paper'; +import { StatusBar } from 'expo-status-bar'; +import Nav from './components/Nav'; +import Home from './screens/Home'; + +const theme = { + ...DefaultTheme, + colors: { + ...DefaultTheme.colors, + primary: '#060630', + background: '#FFFFFF' + }, +}; + +export default App = () => { + return ( + <> + + +