Giter VIP home page Giter VIP logo

Comments (5)

syllasrangel avatar syllasrangel commented on August 15, 2024 2

The react-native-foreground-service solved my problem. With react-native-foreground-service the application remains running as if it were in the foreground, even when the user closes the app (a notification is displayed to inform that the app is still running). To do this, simply starts both the call detector listener and the foreground service on componentDidMount and do not close them with componentWillUnmount. Hope this solves your problem.

from react-native-call-detection.

renege avatar renege commented on August 15, 2024

@syllasrangel great, but i have to support android 7. then it is not a solution. right?

from react-native-call-detection.

syllasrangel avatar syllasrangel commented on August 15, 2024

@syllasrangel great, but i have to support android 7. then it is not a solution. right?

Actually, the react native foreground service supports Android 7 as well. Indeed, the demo provided by the module requires minimum SDK version 19 (Android 4.4).

from react-native-call-detection.

SokolovRU avatar SokolovRU commented on August 15, 2024

Hi! Apparently I'm doing something wrong, but I can't listen to calls in the background. How is this supposed to work? If necessary, I can attach the project code.

from react-native-call-detection.

SokolovRU avatar SokolovRU commented on August 15, 2024

@renege

from react-native-call-detection.

Related Issues (20)

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.