- TypeScript 95%
- Nix 5%
HI!!! i wasnt gonna submit this at all but someone convinced me to anyways
the app is broken, doesnt work as intended, it's 23:35 and i havent documented anything yet ARGH!!!!
app concept
basically, my idea was to recreate nintendo streetpass as a mobile app!
it was gonna use BLE to scan for other clients, since all clients would emit recognizeable signatures on their advertising packets. users would input their hobbies, and those would be encoded along with the recognizeable strayy signature. then, users will get a phone notification when they go past someone else who has that hobby. apart from notifications, the app wouldn't be allowed to store any other information (not even about the location and time that the users met), due to GDPR restrictions. the app would function completely without a centralized server, so there can't be deletion requests, and if there can't be deletion requests, the data cannot be collected in the first place.
the reason I felt like this would be a good idea is since i hadn't started yet, and it wasn't too difficult to make a reality from a technical standpoint. also, it adds a new spin to the endless slue of ineffective social apps..?
problems
well, i had no idea how BLE and advertising packets worked, so I asked an LLM to tell me about it. i never got around to implementing that though, since for some reason react native simply doesnt have documentation on native modules????
also, i needed to learn react native, since i've never made a mobile app before. i followed this tutorial and i somewhat cannibalized some of the code from that example for my current app. I already knew react for the web (barely), so i figured that it wouldn't be too difficult??(i was wrong)
finally, there seems to be few examples of BLE online, and those projects that i did find only worked with outdated libraries (and im not gonna downgrade my libraries just to get something to work, NPM is waaaay to sketchy for me to do that).
how to run it
hey i dont have time to even test if this is correct, but last i checked the series of commands went something like
npm install -g eas-cli
eas build:configure
eas build --profile development --platform android
npm install @expo/ngrok@^4.1.0
expo start --dev-client --tunnel
so yeah now i have like 5 minutes to push this commit and hand this thing in
OLD README THAT WAS AUTO GENERATED I THINK Welcome to your Expo app 👋
This is an Expo project created with create-expo-app.
Get started
-
Install dependencies
npm install -
Start the app
npx expo start
In the output, you'll find options to open the app in a
- development build
- Android emulator
- iOS simulator
- Expo Go, a limited sandbox for trying out app development with Expo
You can start developing by editing the files inside the app directory. This project uses file-based routing.
Get a fresh project
When you're ready, run:
npm run reset-project
This command will move the starter code to the app-example directory and create a blank app directory where you can start developing.
Other setup steps
- To set up ESLint for linting, run
npx expo lint, or follow our guide on "Using ESLint and Prettier" - If you'd like to set up unit testing, follow our guide on "Unit Testing with Jest"
- Learn more about the TypeScript setup in this template in our guide on "Using TypeScript"
Learn more
To learn more about developing your project with Expo, look at the following resources:
- Expo documentation: Learn fundamentals, or go into advanced topics with our guides.
- Learn Expo tutorial: Follow a step-by-step tutorial where you'll create a project that runs on Android, iOS, and the web.
Join the community
Join our community of developers creating universal apps.
- Expo on GitHub: View our open source platform and contribute.
- Discord community: Chat with Expo users and ask questions.