diff --git a/with-custom-font/.expo-shared/assets.json b/with-custom-font/.expo-shared/assets.json new file mode 100644 index 0000000..17ad228 --- /dev/null +++ b/with-custom-font/.expo-shared/assets.json @@ -0,0 +1,4 @@ +{ + "f9155ac790fd02fadcdeca367b02581c04a353aa6d5aa84409a59f6804c87acd": true, + "89ed26367cdb9b771858e026f2eb95bfdb90e5ae943e716575327ec325f39c44": true +} \ No newline at end of file diff --git a/with-custom-font/.gitignore b/with-custom-font/.gitignore new file mode 100644 index 0000000..c409cf6 --- /dev/null +++ b/with-custom-font/.gitignore @@ -0,0 +1,14 @@ +node_modules/**/* +.expo/* +npm-debug.* +*.jks +*.p8 +*.p12 +*.key +*.mobileprovision +*.orig.* +web-build/ +web-report/ + +# macOS +.DS_Store diff --git a/with-custom-font/App.js b/with-custom-font/App.js new file mode 100644 index 0000000..7d771f2 --- /dev/null +++ b/with-custom-font/App.js @@ -0,0 +1,19 @@ +import React from 'react'; +import { StyleSheet, Text, View } from 'react-native'; + +export default function App() { + return ( + + Open up App.js to start working on your app! + + ); +} + +const styles = StyleSheet.create({ + container: { + flex: 1, + backgroundColor: '#fff', + alignItems: 'center', + justifyContent: 'center', + }, +}); diff --git a/with-custom-font/app.json b/with-custom-font/app.json new file mode 100644 index 0000000..11394d2 --- /dev/null +++ b/with-custom-font/app.json @@ -0,0 +1,30 @@ +{ + "expo": { + "name": "Blank Template", + "slug": "with-custom-font", + "privacy": "public", + "sdkVersion": "36.0.0", + "platforms": [ + "ios", + "android", + "web" + ], + "version": "1.0.0", + "orientation": "portrait", + "icon": "./assets/icon.png", + "splash": { + "image": "./assets/splash.png", + "resizeMode": "contain", + "backgroundColor": "#ffffff" + }, + "updates": { + "fallbackToCacheTimeout": 0 + }, + "assetBundlePatterns": [ + "**/*" + ], + "ios": { + "supportsTablet": true + } + } +} diff --git a/with-custom-font/assets/icon.png b/with-custom-font/assets/icon.png new file mode 100644 index 0000000..7f5e01c Binary files /dev/null and b/with-custom-font/assets/icon.png differ diff --git a/with-custom-font/assets/splash.png b/with-custom-font/assets/splash.png new file mode 100644 index 0000000..4f9ade6 Binary files /dev/null and b/with-custom-font/assets/splash.png differ diff --git a/with-custom-font/babel.config.js b/with-custom-font/babel.config.js new file mode 100644 index 0000000..2900afe --- /dev/null +++ b/with-custom-font/babel.config.js @@ -0,0 +1,6 @@ +module.exports = function(api) { + api.cache(true); + return { + presets: ['babel-preset-expo'], + }; +}; diff --git a/with-custom-font/package.json b/with-custom-font/package.json new file mode 100644 index 0000000..a0c3be8 --- /dev/null +++ b/with-custom-font/package.json @@ -0,0 +1,22 @@ +{ + "main": "node_modules/expo/AppEntry.js", + "scripts": { + "start": "expo start", + "android": "expo start --android", + "ios": "expo start --ios", + "web": "expo start --web", + "eject": "expo eject" + }, + "dependencies": { + "expo": "~36.0.0", + "react": "~16.9.0", + "react-dom": "~16.9.0", + "react-native": "https://github.com/expo/react-native/archive/sdk-36.0.0.tar.gz", + "react-native-web": "~0.11.7" + }, + "devDependencies": { + "babel-preset-expo": "~8.0.0", + "@babel/core": "^7.0.0" + }, + "private": true +}