A React Native mobile application that displays a real-time digital clock with dark/light mode toggle, popup notifications, and a timer feature.
- Real-time Digital Clock – Always displays the current time.
- Dark & Light Mode – Switch between themes easily.
- Popup Notifications – Show messages or alerts within the app.
- Timer Functionality – Start, pause, and reset a timer.
- Cross-platform – Works on both Android and iOS.
1️⃣ Clone the repository
git clone https://github.com/mathilika-G/DigitalClockApp1.git
If you want to create a file
Step 1: Create the Project
npx create-expo-app --template blank DigitalClockApp
Step 2: Open in VS Code
cd DigitalClockApp
code .
Step 3: Create the Folder & Files
Inside your project, create a screens folder and add:
Login.js (login page)
Home.js (digital clock page)
step 5: update App.js
Step 6: Install Required Packages
npm install @react-navigation/native
npm install @react-navigation/stack
npx expo install react-native-screens react-native-safe-area-context
Step 7: Run the App
npx expo start