Giter VIP home page Giter VIP logo

mrezkys / love-alarm-inspired Goto Github PK

View Code? Open in Web Editor NEW
2.0 1.0 0.0 702 KB

Love Alarm Inspired is inspired by the Love Alarm application in the Korean drama series Love Alarm. The way it works is that we choose the person we like/want to ring the alarm for. When we are near that person (utilize advertising data on bluetooth), their Love Alarm will ring. If they choose us as well, our Love Alarm will also ring.

Swift 100.00%
swiftui avfoundation cloud-kit cloudkit core-bluetooth corebluetooth swift

love-alarm-inspired's Introduction

Space Invader - IOS (SwiftUI)

Love Alarm Inspired is inspired by the Love Alarm application in the Korean drama series Love Alarm. The way it works is that we choose the person we like/want to ring the alarm for. When we are near that person, their Love Alarm will ring. If they choose us as well, our Love Alarm will also ring.

This application utilizes Apple's Bluetooth Low Energy (BLE) to advertise a unique device name data. This unique name will be recognized by other devices performing scans. If the unique name belongs to the person we like, it will trigger the alarm on their device.

Unfortunately, this application will only run if the user opens it. This is because BLE does not advertise the unique name data normally in the background. It doesn't advertise the unique name, but rather the service ID within the flow. Due to my limited capabilities, I haven't fully understood this flow and how to detect it.

I chose BLE over GPS because I believe BLE would be more energy-efficient than GPS. However, after the development, I realized that BLE has this limitation. After this, I will try to explore BLE again, and if it doesn't work, I might consider using GPS.

Demo

Demo : Youtube Video

Framework

  • SwiftUI
  • CloudKit
  • CoreBluetooth
  • AVFoundation

Credit

love-alarm-inspired's People

Contributors

mrezkys avatar

Stargazers

 avatar Narcis avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.