mirror of
https://github.com/mudabbir-ahmad/MAD-Treasure-Hunt.git
synced 2026-10-07 19:00:20 +00:00
9111b387080695f76895f8394d76eafa3586a0f5
fixed routings to global game screen. Fixed navbar layouts on the screen. Updated api keys to use private key and added .env file. Configured useGlobalHook to use api from env variable.
MAD Treasure Hunt
Treasure Hunt mobile app built with React Native and Expo.
Run
npm i
npx expo start --android
Notes
- The app accesses game/auth data through the centralized API endpoint via
src/components/API/API.js. - Navigation is handled with React Navigation native stack.
- Sometimes you might have to switch the API Endpoint URL. This is just Because of the fact that when I'm using the app I can't access the API endpoint, from the global URL. Therefore, I need my local API Server's IP as the URL
- Just Uncomment the
API_ENDPOINTvariable insrc/components/API/API.jsto use the actual API Server Which isapi.bobby.ip-ddns.com[Do not add any port thing here as it uses port 80 by default].
Languages
JavaScript
100%