React Native: wake a locked phone and play a sound

This page summarizes the projects mentioned and recommended in the original post on /r/codehunter

InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
  • react-native-sound

    React Native module for playing sound clips

  • I am building a running app that shows a timer. When the timer reaches 0 seconds a sound is played. I use React Native Sound for playback. I use an interval on componentDidMount for counting the seconds:

  • react-native-keep-awake

    Keep the screen from going to sleep. iOS and Android.

  • componentDidMount() { this.recalcTotalSeconds(); KeepAwake.activate(); this._interval = setInterval(() => { this.step(); }, 999);} It works nicely as long as the phone is unlocked. When the phone is locked the interval is not fired and the sound is not played. As a first measure I uploaded a version with Keep Awake that prevents the screen from locking. I am looking for a battery-friendly solution.

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts

  • Dropbox Sign Hacked

    2 projects | news.ycombinator.com | 2 May 2024
  • Why Build a ChatBot When You Can Create a LLM Agent on OpenAI or Gemini

    1 project | dev.to | 1 May 2024
  • System Design: Databases and DBMS

    12 projects | dev.to | 1 May 2024
  • Setup Azure Cosmos DB for Gremlin in Spring Boot Java

    1 project | dev.to | 30 Apr 2024
  • Open-source platform accelerating enterprise apps development

    1 project | news.ycombinator.com | 30 Apr 2024