Delete unused app.json files

This commit is contained in:
Evan Bacon
2020-05-12 14:29:08 -07:00
parent bbec200e0b
commit 1fe72b1713
25 changed files with 16 additions and 323 deletions

View File

@@ -7,6 +7,7 @@ Thanks for contributing! 😁 Here are some rules that will make your example la
- It's important to keep examples **concise**.
- We use a unified [`.gitignore`](./.gitignore)
- No `package.json` or `app.json` values that aren't completely necessary
- Do not include an `app.json` or `app.config.js` unless it has values that are relevant to the example
- Use remote files for the default assets in the `app.json`:
- `expo.icon` -- **"https://github.com/expo/expo/blob/master/templates/expo-template-blank/assets/icon.png?raw=true"**
- `expo.splash.image` -- **"https://github.com/expo/expo/blob/master/templates/expo-template-blank/assets/splash.png?raw=true"**

View File

@@ -1,7 +1,5 @@
{
"expo": {
"name": "with-animated-splash-screen",
"version": "1.0.0",
"icon": "https://github.com/expo/expo/blob/master/templates/expo-template-blank/assets/icon.png?raw=true",
"splash": {
"image": "https://github.com/expo/expo/blob/master/templates/expo-template-blank/assets/splash.png?raw=true",

View File

@@ -1,12 +0,0 @@
{
"expo": {
"name": "with-auth0",
"version": "1.0.0",
"icon": "https://github.com/expo/expo/blob/master/templates/expo-template-blank/assets/icon.png?raw=true",
"splash": {
"image": "https://github.com/expo/expo/blob/master/templates/expo-template-blank/assets/splash.png?raw=true",
"resizeMode": "contain",
"backgroundColor": "#ffffff"
}
}
}

View File

@@ -5,26 +5,24 @@ import { AppLoading } from "expo";
import * as Font from "expo-font";
export default () => {
let [fontsLoaded] = useFonts({
"Inter-Black": require("./assets/fonts/Inter-Black.otf"),
"Inter-SemiBoldItalic":
"https://rsms.me/inter/font-files/Inter-SemiBoldItalic.otf?v=3.12"
"https://rsms.me/inter/font-files/Inter-SemiBoldItalic.otf?v=3.12",
});
if (!fontsLoaded) {
return <AppLoading />;
} else {
return (
<View style={{ flex: 1, justifyContent: "center", alignItems: "center" }}>
<Text>Platform Default</Text>
<Text style={{ fontFamily: "Inter-Black" }}>Inter Black</Text>
<Text style={{ fontFamily: "Inter-SemiBoldItalic" }}>
Inter SemiBoldItalic
</Text>
</View>
);
}
return (
<View style={{ flex: 1, justifyContent: "center", alignItems: "center" }}>
<Text>Platform Default</Text>
<Text style={{ fontFamily: "Inter-Black" }}>Inter Black</Text>
<Text style={{ fontFamily: "Inter-SemiBoldItalic" }}>
Inter SemiBoldItalic
</Text>
</View>
);
};
function useFonts(fontMap) {

View File

@@ -1,11 +0,0 @@
{
"expo": {
"name": "With Custom Font Expo Example",
"version": "1.0.0",
"orientation": "portrait",
"icon": "https://github.com/expo/expo/blob/master/templates/expo-template-blank/assets/icon.png?raw=true",
"splash": {
"image": "https://github.com/expo/expo/blob/master/templates/expo-template-blank/assets/splash.png?raw=true"
}
}
}

View File

@@ -1,31 +1,11 @@
{
"name": "with-electron",
"expo": {
"name": "with-electron",
"slug": "with-electron",
"privacy": "public",
"sdkVersion": "36.0.0",
"platforms": [
"ios",
"android",
"web"
],
"version": "1.0.0",
"orientation": "portrait",
"icon": "https://github.com/expo/expo/blob/master/templates/expo-template-blank/assets/icon.png?raw=true",
"splash": {
"image": "https://github.com/expo/expo/blob/master/templates/expo-template-blank/assets/splash.png?raw=true",
"resizeMode": "contain",
"backgroundColor": "#ffffff"
},
"updates": {
"fallbackToCacheTimeout": 0
},
"assetBundlePatterns": [
"**/*"
],
"ios": {
"supportsTablet": true
}
}
}

View File

@@ -1,22 +0,0 @@
{
"expo": {
"name": "with-facebook-auth",
"description": "Using Facebook authentication in Expo, see the source: https://github.com/expo/examples/blob/master/with-facebook-auth",
"slug": "with-facebook-auth",
"sdkVersion": "35.0.0",
"version": "1.0.0",
"orientation": "portrait",
"primaryColor": "#cccccc",
"privacy": "public",
"packagerOpts": {
"assetExts": [
"ttf",
"mp4"
]
},
"platforms": [
"android",
"ios"
]
}
}

View File

@@ -1,12 +0,0 @@
{
"expo": {
"name": "with-firebase-storage-upload",
"version": "1.0.0",
"icon": "https://github.com/expo/expo/blob/master/templates/expo-template-blank/assets/icon.png?raw=true",
"splash": {
"image": "https://github.com/expo/expo/blob/master/templates/expo-template-blank/assets/splash.png?raw=true",
"resizeMode": "contain",
"backgroundColor": "#ffffff"
}
}
}

View File

@@ -1,24 +0,0 @@
{
"expo": {
"name": "image-upload-example",
"description": "Demonstration of how to upload images from the ImagePicker, using a Node backend to upload to S3. https://github.com/expo/examples/tree/master/with-formdata-image-upload",
"slug": "image-upload-example",
"sdkVersion": "35.0.0",
"version": "1.0.0",
"orientation": "portrait",
"primaryColor": "#cccccc",
"packagerOpts": {
"assetExts": [
"ttf",
"mp4"
]
},
"ios": {
"supportsTablet": true
},
"platforms": [
"android",
"ios"
]
}
}

View File

@@ -1,30 +0,0 @@
{
"expo": {
"name": "gatsby",
"slug": "gatsby",
"privacy": "public",
"sdkVersion": "35.0.0",
"platforms": [
"ios",
"android",
"web"
],
"version": "1.0.0",
"orientation": "portrait",
"icon": "https://github.com/expo/expo/blob/master/templates/expo-template-blank/assets/icon.png?raw=true",
"splash": {
"image": "https://github.com/expo/expo/blob/master/templates/expo-template-blank/assets/splash.png?raw=true",
"resizeMode": "contain",
"backgroundColor": "#ffffff"
},
"updates": {
"fallbackToCacheTimeout": 0
},
"assetBundlePatterns": [
"**/*"
],
"ios": {
"supportsTablet": true
}
}
}

View File

@@ -1,12 +0,0 @@
{
"expo": {
"name": "with-google-vision",
"version": "1.0.0",
"icon": "https://github.com/expo/expo/blob/master/templates/expo-template-blank/assets/icon.png?raw=true",
"splash": {
"image": "https://github.com/expo/expo/blob/master/templates/expo-template-blank/assets/splash.png?raw=true",
"resizeMode": "contain",
"backgroundColor": "#ffffff"
}
}
}

View File

@@ -1,12 +0,0 @@
{
"expo": {
"name": "with-icons",
"version": "1.0.0",
"icon": "https://github.com/expo/expo/blob/master/templates/expo-template-blank/assets/icon.png?raw=true",
"splash": {
"image": "https://github.com/expo/expo/blob/master/templates/expo-template-blank/assets/splash.png?raw=true",
"resizeMode": "contain",
"backgroundColor": "#ffffff"
}
}
}

View File

@@ -1,12 +0,0 @@
{
"expo": {
"name": "with-nextjs",
"version": "1.0.0",
"icon": "https://github.com/expo/expo/blob/master/templates/expo-template-blank/assets/icon.png?raw=true",
"splash": {
"image": "https://github.com/expo/expo/blob/master/templates/expo-template-blank/assets/splash.png?raw=true",
"resizeMode": "contain",
"backgroundColor": "#ffffff"
}
}
}

View File

@@ -1,12 +0,0 @@
{
"expo": {
"name": "with-preact",
"version": "1.0.0",
"icon": "https://github.com/expo/expo/blob/master/templates/expo-template-blank/assets/icon.png?raw=true",
"splash": {
"image": "https://github.com/expo/expo/blob/master/templates/expo-template-blank/assets/splash.png?raw=true",
"resizeMode": "contain",
"backgroundColor": "#ffffff"
}
}
}

View File

@@ -1,12 +0,0 @@
{
"expo": {
"name": "with-react-router",
"version": "1.0.0",
"icon": "https://github.com/expo/expo/blob/master/templates/expo-template-blank/assets/icon.png?raw=true",
"splash": {
"image": "https://github.com/expo/expo/blob/master/templates/expo-template-blank/assets/splash.png?raw=true",
"resizeMode": "contain",
"backgroundColor": "#ffffff"
}
}
}

View File

@@ -1,19 +0,0 @@
{
"expo": {
"name": "socket-io-example",
"slug": "socket-io-example",
"description": "Using socket.io in Expo, see the source: https://github.com/expo/examples/blob/master/with-socket-io",
"sdkVersion": "35.0.0",
"version": "1.0.0",
"orientation": "portrait",
"primaryColor": "#cccccc",
"icon": "https://s3.amazonaws.com/exp-brand-assets/ExponentEmptyManifest_192.png",
"loading": {
"icon": "https://github.com/expo/expo/blob/master/templates/expo-template-blank/assets/splash.png?raw=true"
},
"platforms": [
"android",
"ios"
]
}
}

View File

@@ -1,12 +0,0 @@
{
"expo": {
"name": "with-sqlite",
"version": "1.0.0",
"icon": "https://github.com/expo/expo/blob/master/templates/expo-template-blank/assets/icon.png?raw=true",
"splash": {
"image": "https://github.com/expo/expo/blob/master/templates/expo-template-blank/assets/splash.png?raw=true",
"resizeMode": "contain",
"backgroundColor": "#ffffff"
}
}
}

View File

@@ -1,12 +0,0 @@
{
"expo": {
"name": "with-storybook",
"version": "1.0.0",
"icon": "https://github.com/expo/expo/blob/master/templates/expo-template-blank/assets/icon.png?raw=true",
"splash": {
"image": "https://github.com/expo/expo/blob/master/templates/expo-template-blank/assets/splash.png?raw=true",
"resizeMode": "contain",
"backgroundColor": "#ffffff"
}
}
}

View File

@@ -1,12 +0,0 @@
{
"expo": {
"name": "with-twitter-auth",
"version": "1.0.0",
"icon": "https://github.com/expo/expo/blob/master/templates/expo-template-blank/assets/icon.png?raw=true",
"splash": {
"image": "https://github.com/expo/expo/blob/master/templates/expo-template-blank/assets/splash.png?raw=true",
"resizeMode": "contain",
"backgroundColor": "#ffffff"
}
}
}

View File

@@ -1,12 +0,0 @@
{
"expo": {
"name": "with-typescript",
"version": "1.0.0",
"icon": "https://github.com/expo/expo/blob/master/templates/expo-template-blank/assets/icon.png?raw=true",
"splash": {
"image": "https://github.com/expo/expo/blob/master/templates/expo-template-blank/assets/splash.png?raw=true",
"resizeMode": "contain",
"backgroundColor": "#ffffff"
}
}
}

View File

@@ -1,23 +1,8 @@
{
"expo": {
"name": "victory-native-example",
"description": "Using victory-native in Expo, see the source: https://github.com/expo/examples/blob/master/with-victory-native",
"slug": "victory-native-example",
"sdkVersion": "36.0.0",
"version": "1.0.0",
"orientation": "portrait",
"primaryColor": "#cccccc",
"privacy": "public",
"icon": "https://github.com/expo/expo/blob/master/templates/expo-template-blank/assets/icon.png?raw=true",
"loading": {
"icon": "https://github.com/expo/expo/blob/master/templates/expo-template-blank/assets/splash.png?raw=true"
},
"ios": {
"supportsTablet": true
},
"platforms": [
"android",
"ios"
]
}
}
}

View File

@@ -1,12 +0,0 @@
{
"expo": {
"name": "with-video-background",
"version": "1.0.0",
"icon": "https://github.com/expo/expo/blob/master/templates/expo-template-blank/assets/icon.png?raw=true",
"splash": {
"image": "https://github.com/expo/expo/blob/master/templates/expo-template-blank/assets/splash.png?raw=true",
"resizeMode": "contain",
"backgroundColor": "#ffffff"
}
}
}

View File

@@ -1,3 +0,0 @@
{
"expo": {}
}

View File

@@ -1,23 +1,9 @@
{
"expo": {
"name": "with-webbrowser-redirect",
"slug": "with-webbrowser-redirect",
"privacy": "public",
"sdkVersion": "35.0.0",
"version": "1.0.0",
"orientation": "portrait",
"primaryColor": "#cccccc",
"icon": "https://github.com/expo/expo/blob/master/templates/expo-template-blank/assets/icon.png?raw=true",
"loading": {
"icon": "https://github.com/expo/expo/blob/master/templates/expo-template-blank/assets/splash.png?raw=true"
"splash": {
"image": "https://github.com/expo/expo/blob/master/templates/expo-template-blank/assets/splash.png?raw=true"
},
"ios": {
"supportsTablet": true
},
"scheme": "expo.examples.with-webbrowser-redirect",
"platforms": [
"android",
"ios"
]
"scheme": "expo.examples.with-webbrowser-redirect"
}
}
}

View File

@@ -1,6 +1,4 @@
{
"name": "with-webbrowser-redirect",
"private": true,
"dependencies": {
"expo": "^35.0.0",
"expo-web-browser": "~7.0.0",