This is a React Native project that simulates the experience of opening a fortune cookie. With a simple press of a button, users can receive a random fortune or piece of advice. The app presents a closed fortune cookie that opens upon tapping, revealing a new message every time.
- Tap the button to open a virtual fortune cookie.
- Displays a random fortune or saying each time the cookie is opened.
- Includes visual representations of a closed and open fortune cookie.
Note: Before starting, ensure you have completed the React Native Environment Setup instructions up to the "Creating a new application" section.
Metro is the JavaScript bundler that comes with React Native. Run the following command to start Metro from the root of your project:
# Using start
npx react-native start
# Run for Android
npx react-native run-android
# Run for IOS
npx react-native run-ios