Task
Task
Goal:
Create a React Native dashboard that:
Fetches weather data from a free API
Has two sections: Add Details & See Details
The Add Details section has a multi-step form:
• Page 1: QR Code Scanner ➝ Next Button
• Page 2: Dropdown (City) + Name Input ➝ Previous & Submit Button
The details store in AsyncStorage and display on the See Details page
Implementation Flow
1️ Dashboard ➝ Shows Weather & Add/See Details Sections
2️ AddDetails (Parent Component) ➝ Loads Page1.js or Page2.js
3️ Page1 (QR Scanner) ➝ Gets QR value, stores it, & moves to Page 2
4️ Page2 (City & Name Input) ➝ Saves details in AsyncStorage & returns to Dashboard
5️ SeeDetails ➝ Fetches & Displays stored details
Bonus Features
Loading Spinner while fetching weather data
Edit Stored Details
Disable "Next" until QR is scanned