chore(mobile): remove MobileApp configuration files

Remove obsolete MobileApp project configuration and dependency files to clean up the repository:
- MobileApp/package.json
- MobileApp/tailwind.config.js
- MobileApp/tsconfig.json

These files contained Expo / React Native specific settings (dependencies, Nativewind/Tailwind config, and TS config) for a mobile app that is no longer maintained in this repo. Removing them reduces clutter and prevents confusion about supported platforms.
This commit is contained in:
Nawaz Dhandala
2025-10-23 17:21:20 +01:00
parent 14377c68fe
commit 50ee87c86f
18 changed files with 0 additions and 26295 deletions

77
MobileApp/.gitignore vendored
View File

@@ -1,77 +0,0 @@
# OSX
#
.DS_Store
# Xcode
#
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
*.hprof
.cxx/
*.keystore
!debug.keystore
# node.js
#
node_modules/
npm-debug.log
yarn-error.log
# 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
**/fastlane/test_output
# Bundle artifact
*.jsbundle
# Ruby / CocoaPods
/ios/Pods/
/vendor/bundle/
# Temporary files created by Metro to check the health of the file watcher
.metro-health-check*
# Expo
.expo/
dist/
web-build/
# @generated expo-cli sync-2b81b286409207a5da26e14c78851eb30d8ccbdb
# The following patterns were generated by expo-cli
# Expo local environment
.env*.local
# macOS
.DS_Store

View File

@@ -1,14 +0,0 @@
import "react-native-get-random-values";
import React from "react";
import { Text, View } from "react-native";
import "./global.css";
export default function App(): React.ReactElement {
return (
<View className="flex-1 items-center justify-center bg-white">
<Text className="text-xl font-bold text-blue-500">
Welcome to Nativewind!
</Text>
</View>
);
}

View File

@@ -1,120 +0,0 @@
# OneUptime Mobile App
A React Native mobile application built with Expo for the OneUptime monitoring platform. This app enables users to monitor their infrastructure, services, and applications on the go with real-time alerts and dashboards.
## 📱 About
OneUptime Mobile brings the power of OneUptime's comprehensive monitoring and observability platform to your mobile device. Stay connected to your systems wherever you are, receive instant notifications, and respond to incidents quickly.
### Key Features (Planned)
- 📊 Real-time monitoring dashboards
- 🔔 Push notifications for alerts and incidents
- 🚨 Incident management on the go
- 📈 Performance metrics and analytics
- 🔐 Secure authentication
- 🌐 Multi-tenant support
- 📱 Native iOS and Android experience
## Getting Started
### Prerequisites
- Node.js (v18 or later)
- npm or yarn
- Expo CLI (will be installed with dependencies)
- For iOS development: macOS with Xcode
- For Android development: Android Studio with Android SDK
### Installation
Dependencies are already installed. If you need to reinstall:
```bash
npm install
```
### Running the App
#### Start the Expo development server:
```bash
npm start
```
This will open the Expo DevTools in your browser where you can:
- Press `i` to open in iOS simulator
- Press `a` to open in Android emulator
- Scan the QR code with Expo Go app on your physical device
#### Run directly on Android:
```bash
npm run android
```
#### Run directly on iOS:
```bash
npm run ios
```
#### Run in web browser:
```bash
npm run web
```
### Project Structure
```
MobileApp/
├── App.tsx # Main application component
├── app.json # Expo configuration
├── package.json # Dependencies and scripts
├── tsconfig.json # TypeScript configuration
├── babel.config.js # Babel configuration
├── assets/ # Images, fonts, and other assets
└── .gitignore # Git ignore patterns
```
### Development
The app is built with:
- **React Native** - Mobile framework
- **Expo** - Development platform and tools
- **TypeScript** - Type-safe JavaScript
- **React** 18.2.0
- **React Native** 0.74.5
### Assets
Place your app assets in the `assets/` directory:
- `icon.png` - App icon (1024x1024)
- `splash.png` - Splash screen (1284x2778)
- `adaptive-icon.png` - Android adaptive icon (1024x1024)
- `favicon.png` - Web favicon
### Building for Production
For production builds, you'll need to configure EAS Build:
```bash
npm install -g eas-cli
eas login
eas build:configure
```
Then build for your platform:
```bash
eas build --platform android
eas build --platform ios
```
### Troubleshooting
- If you encounter issues, try clearing the Expo cache: `expo start -c`
- For iOS simulator issues, rebuild: `expo run:ios --clean`
- For Android emulator issues, clean build: `expo run:android --clean`
## Learn More
- [Expo Documentation](https://docs.expo.dev/)
- [React Native Documentation](https://reactnative.dev/)
- [OneUptime Documentation](https://oneuptime.com/docs)

View File

@@ -1,30 +0,0 @@
import { StyleSheet, ViewStyle, TextStyle } from "react-native";
type StylesType = {
container: ViewStyle;
title: TextStyle;
subtitle: TextStyle;
};
const Styles: StylesType = StyleSheet.create<StylesType>({
container: {
flex: 1,
backgroundColor: "#fff",
alignItems: "center",
justifyContent: "center",
padding: 20,
},
title: {
fontSize: 24,
fontWeight: "bold",
marginBottom: 10,
textAlign: "center",
},
subtitle: {
fontSize: 16,
color: "#666",
textAlign: "center",
},
});
export default Styles;

View File

@@ -1,35 +0,0 @@
{
"expo": {
"name": "OneUptime Mobile",
"slug": "oneuptime-mobile",
"version": "1.0.0",
"orientation": "portrait",
"icon": "./assets/icon.png",
"userInterfaceStyle": "light",
"splash": {
"image": "./assets/splash.png",
"resizeMode": "contain",
"backgroundColor": "#ffffff"
},
"assetBundlePatterns": [
"**/*"
],
"ios": {
"supportsTablet": true,
"bundleIdentifier": "com.oneuptime.mobile",
"bundler": "metro"
},
"android": {
"adaptiveIcon": {
"foregroundImage": "./assets/adaptive-icon.png",
"backgroundColor": "#ffffff"
},
"bundler": "metro",
"package": "com.oneuptime.mobile"
},
"web": {
"favicon": "./assets/favicon.png",
"bundler": "metro"
}
}
}

View File

@@ -1,11 +0,0 @@
# Assets Directory
This directory contains app assets such as icons and splash screens.
You should replace the placeholder files with actual assets:
- `icon.png` - App icon (1024x1024)
- `splash.png` - Splash screen image (1284x2778)
- `adaptive-icon.png` - Android adaptive icon (1024x1024)
- `favicon.png` - Web favicon (48x48 or larger)
For now, placeholder files can be generated using Expo's tools or you can add your own custom assets.

Binary file not shown.

Before

Width:  |  Height:  |  Size: 42 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 42 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 42 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 42 KiB

View File

@@ -1,9 +0,0 @@
module.exports = function (api) {
api.cache(true);
return {
presets: [
["babel-preset-expo", { jsxImportSource: "nativewind" }],
"nativewind/babel",
],
};
};

View File

@@ -1,3 +0,0 @@
@tailwind base;
@tailwind components;
@tailwind utilities;

View File

@@ -1,6 +0,0 @@
const { getDefaultConfig } = require("expo/metro-config");
const { withNativeWind } = require('nativewind/metro');
const config = getDefaultConfig(__dirname)
module.exports = withNativeWind(config, { input: './global.css' })

View File

@@ -1 +0,0 @@
/// <reference types="nativewind/types" />

25916
MobileApp/package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@@ -1,35 +0,0 @@
{
"name": "oneuptime-mobile",
"version": "1.0.0",
"main": "node_modules/expo/AppEntry.js",
"scripts": {
"start": "expo start",
"android": "expo start --android",
"ios": "expo start --ios",
"web": "expo start --web"
},
"dependencies": {
"@expo/metro-runtime": "~3.2.3",
"@oneuptime/common": "*",
"expo": "~51.0.28",
"expo-status-bar": "~1.12.1",
"nativewind": "^4.2.1",
"prettier-plugin-tailwindcss": "^0.5.14",
"react": "18.2.0",
"react-dom": "18.2.0",
"react-native": "0.74.5",
"react-native-get-random-values": "^1.11.0",
"react-native-reanimated": "~3.17.4",
"react-native-safe-area-context": "^5.4.0",
"react-native-screens": "~3.31.1",
"react-native-web": "~0.19.10",
"tailwindcss": "^3.4.18"
},
"devDependencies": {
"@babel/core": "^7.24.0",
"@types/react": "~18.2.79",
"react-native-worklets": "^0.6.1",
"typescript": "~5.3.3"
},
"private": true
}

View File

@@ -1,10 +0,0 @@
/** @type {import('tailwindcss').Config} */
module.exports = {
// NOTE: Update this to include the paths to all files that contain Nativewind classes.
content: ["./App.tsx", "./src/**/*.{js,jsx,ts,tsx}"],
presets: [require("nativewind/preset")],
theme: {
extend: {},
},
plugins: [],
}

View File

@@ -1,28 +0,0 @@
{
"extends": "expo/tsconfig.base",
"compilerOptions": {
"strict": true,
"jsx": "react-native",
"target": "esnext",
"module": "esnext",
"lib": [
"esnext"
],
"moduleResolution": "node",
"noEmit": true,
"skipLibCheck": true,
"resolveJsonModule": true,
"allowSyntheticDefaultImports": true,
"esModuleInterop": true,
"forceConsistentCasingInFileNames": true
},
"include": [
"**/*.ts",
"**/*.tsx",
"nativewind-env.d.ts"
],
"exclude": [
"node_modules",
"../Common"
]
}