This is a React Native app that replaces the existing DASH Bus app from the Alexandria Transit Company.
Notable features include:
- Favorite bus settings
- A reskin of the existing DASHTracker mobile web interface using CSS and base JS
- A seamless transition between native app views and web views, meaning the user doesn't know they're actually looking at a website
iOS installation instructions:
- Clone the project and run
npm i
in the root directory. - Run
npm run build:ios
to create a new main.jsbundle file - Either run the project using expo-cli (step 4) or in Release mode using XCode (step 5)
- If you'd like to install the app using expo-cli (RECOMMENDED), run
npm run prod
. This will install a standalone version of the app to your device (which you can select once the command is run) that does not need a metro bundler server to be active for use. - If you'd like to install the app using XCode, open the
DashNative.xcworkspace
(eg NOT the.xcodeproj
) file.
5a. Click on the DashNative target in the header:
![Screenshot 2023-07-06 at 01 05 59](https://private-user-images.githubusercontent.com/31376764/251349556-a3f7fc56-4a34-48ad-b061-1f362ef01b0e.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjYxMTg2NDgsIm5iZiI6MTcyNjExODM0OCwicGF0aCI6Ii8zMTM3Njc2NC8yNTEzNDk1NTYtYTNmN2ZjNTYtNGEzNC00OGFkLWIwNjEtMWYzNjJlZjAxYjBlLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA5MTIlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwOTEyVDA1MTkwOFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWJkMzhiZjM0MWMzYWJlZmE1Y2MzYmY0MjBlZjBiNjdiZWM4NzQ4OGYzMzZjNzdjMzI1MzNjOGJjNWViY2ExYWImWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.WzQ4ILLC1YTk-pkR5rc-YJC3dVmmT17reEeopvBPBR4)
5b. Click on Edit Scheme:
![Screenshot 2023-07-06 at 01 08 38](https://private-user-images.githubusercontent.com/31376764/251349722-9abb2070-3c48-4a0a-9f6a-a7ae2ec9d519.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjYxMTg2NDgsIm5iZiI6MTcyNjExODM0OCwicGF0aCI6Ii8zMTM3Njc2NC8yNTEzNDk3MjItOWFiYjIwNzAtM2M0OC00YTBhLTlmNmEtYTdhZTJlYzlkNTE5LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA5MTIlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwOTEyVDA1MTkwOFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWI4YWMzOWY2ZGE1MzYxOWI3ZTdmY2UyNGVmNDdmYTBhYzdlMjU3NzJmMTcwMGE3ZjAyYmI4MDc3ZmNhYTEyZjQmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.4ohm4iXsdguc6kN1tmIn0DfVHUcO6j5bGxPPYTemeJo)
5c. Set "Build Configuration" to "Release":
![Screenshot 2023-07-06 at 01 11 03](https://private-user-images.githubusercontent.com/31376764/251350093-b1eccd11-6003-4e85-b9e8-b7fa7374c7e7.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjYxMTg2NDgsIm5iZiI6MTcyNjExODM0OCwicGF0aCI6Ii8zMTM3Njc2NC8yNTEzNTAwOTMtYjFlY2NkMTEtNjAwMy00ZTg1LWI5ZTgtYjdmYTczNzRjN2U3LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA5MTIlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwOTEyVDA1MTkwOFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTRlOTJmMjIyNDAyYjU2MjhjYTBhMDlhZjFmNDY3OTY3MDUxOTJkMTY3ZDU1NGYyMzc0YWJiOGVkNTI3ZDg3NDEmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.DMo6lVHV46WZCueQ64S7Ft5hm74aZPKGWiA1CEy0uA8)
5d. Press Run.