We all know masks have become part of our daily life. But most of the time we forget to take our mask whenever we leave our house. So I thought wouldn't it be cool if an app would remind you to take your mask whenever you leave your house??
What it does
The App takes two inputs: your home location's coordinates and a rough estimate of the distance between your door and current home location that you recently set. So whenever the user leaves the house the app sends a push notification to remind you to take your mask.
How I built it
We used React-native and Expo to build our mobile app. First, the user sets the house's latitude and longitude. Second, the user enters a rough estimate of the distance between the door and the current home location. Then, our app takes those two pieces of information and builds a GeoFence area around the house's location using basic coordinate geometry. Finally, when the user walks out of that GeoFence area, the app sends a push notification.
Challenges I ran into
When we used the built-in Geofencing function of react-native we ran into an accuracy problem. We solved this problem by building our own algorithm to build a geofence area.
Accomplishments that I'm proud of
We learned to work with location data. We are proud of using basic high school math(which we thought we'll never use) to solve real-world problems.
What I learned
We learned to build our own geofencing algorithm. Honed our video editing skills.
What's next for Mask Notify
To make an apk file for this app. Next, we are planning to extend this app to remind us of various daily items(Car Keys, ID card, Wallets) we tend to forget while leaving our homes.