chore: remove old version mobile folder

pull/90/head
moonrailgun 3 years ago
parent 10dedb5305
commit 4af83da178

@ -1,15 +0,0 @@
node_modules/
.expo/
.expo-shared/
npm-debug.*
*.jks
*.p8
*.p12
*.key
*.mobileprovision
*.orig.*
web-build/
__generated__/
# macOS
.DS_Store

@ -1,2 +0,0 @@
# https://npm.taobao.org/mirrors/
registry = https://registry.npm.taobao.org

@ -1,24 +0,0 @@
import { StatusBar } from 'expo-status-bar';
import React from 'react';
import { StyleSheet, View } from 'react-native';
import { AppMain } from './components/AppMain';
/**
* , expo
*/
export default function App() {
return (
<View style={styles.container}>
<StatusBar style="auto" />
<AppMain />
</View>
);
}
const styles = StyleSheet.create({
container: {
flex: 1,
backgroundColor: '#fff',
},
});

@ -1,34 +0,0 @@
{
"expo": {
"name": "Tailchat",
"slug": "tailchat",
"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
},
"android": {
"adaptiveIcon": {
"foregroundImage": "./assets/adaptive-icon.png",
"backgroundColor": "#FFFFFF"
}
},
"web": {
"favicon": "./assets/favicon.png"
},
"description": "A IM application which easy to use and develop",
"githubUrl": "https://github.com/msgbyte/tailchat"
}
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 17 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 22 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 47 KiB

@ -1,6 +0,0 @@
module.exports = function (api) {
api.cache(true);
return {
presets: ['babel-preset-expo'],
};
};

@ -1,27 +0,0 @@
import React from 'react';
import { StyleSheet } from 'react-native';
import Constants from 'expo-constants';
import { WebView } from 'react-native-webview';
/**
* Tailchat
*
* webview
*/
export const AppMain: React.FC = React.memo(() => {
return (
<WebView
style={styles.webview}
source={{ uri: 'https://nightly.paw.msgbyte.com/' }}
/>
);
});
AppMain.displayName = 'AppMain';
const styles = StyleSheet.create({
webview: {
flex: 1,
marginTop: Constants.statusBarHeight,
},
});

@ -1,31 +0,0 @@
{
"name": "tailchat-app",
"version": "1.0.0",
"repository": "https://github.com/msgbyte/tailchat.git",
"author": "moonrailgun <moonrailgun@gmail.com>",
"license": "GPLv3",
"private": true,
"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": "~42.0.1",
"expo-status-bar": "~1.0.4",
"react": "16.13.1",
"react-dom": "16.13.1",
"react-native": "https://github.com/expo/react-native/archive/sdk-42.0.0.tar.gz",
"react-native-web": "~0.13.12",
"react-native-webview": "11.6.2"
},
"devDependencies": {
"@babel/core": "^7.9.0",
"@types/react": "~16.9.35",
"@types/react-native": "~0.63.2",
"typescript": "~4.0.0"
}
}

@ -1,6 +0,0 @@
{
"extends": "expo/tsconfig.base",
"compilerOptions": {
"strict": true
}
}

File diff suppressed because it is too large Load Diff
Loading…
Cancel
Save