### Install and Run Playground Example (Bash) Source: https://github.com/wix/react-native-navigation/blob/master/website/docs/docs/docs-showcases.mdx Instructions to clone the React Native Navigation repository, install dependencies, and run the playground example on iOS and Android. ```bash git clone https://github.com/wix/react-native-navigation cd react-native-navigation yarn install # for iOS: yarn pod-install # Install iOS pods yarn xcode # Opens XCode yarn start # Starts the packager # for Android: # 1. open Android Studio inside "./playground/android" # 2. start an emulator yarn start # Start the packager # Run the app in Simulator or on Device from within XCode/Android Studio ``` -------------------------------- ### Full React Native Navigation App Setup with Theming Source: https://github.com/wix/react-native-navigation/blob/master/website/docs/docs/docs-basic-navigation.mdx This comprehensive example shows a typical setup for a React Native Navigation application, including screen declarations, component registration, setting default options for the app's theme, and defining the root layout. It integrates the `Navigation.setDefaultOptions` call before registering the app's launch listener to ensure the theme is applied correctly from the start. The example includes a basic Home screen with navigation to a Settings screen. ```jsx // In index.js of a new project import React from 'react'; import { View, Text, Button, StyleSheet } from 'react-native'; import { Navigation } from 'react-native-navigation'; // Home screen declaration const HomeScreen = (props) => { return ( Hello React Native Navigation 👋