Git Product home page Git Product logo

Comments (5)

thiagobrez avatar thiagobrez commented on June 19, 2024 1

If someone ever needs it again, I wrote a Capacitor plugin for listening to volume button clicks:
https://github.com/thiagobrez/capacitor-volume-buttons

from cordova-broadcaster.

bsorrentino avatar bsorrentino commented on June 19, 2024

Hi @bionner

This plugin is an enabler to exchange events between native & web

The name of events that you want manage doesnโ€™t concern the plugin but the application that use it

Anyway if you give me more details I could help to solve your problem

from cordova-broadcaster.

bionner avatar bionner commented on June 19, 2024

Hi.The project is an emergency app. The idea is the next:

The app will run in background mode, when the user clicks 3 times the volume buttons, the app will send a SMS message to 3 different contacts, a push notification to the same contacts and maybe do an emergency call.
So, my probable approach is to enable the background mode with this plugin:
https://ionicframework.com/docs/native/background-mode/
and then subscribe to the click event with the broadcaster plugin.

I hope it can be possible.
Ill wait for your comments.

from cordova-broadcaster.

bsorrentino avatar bsorrentino commented on June 19, 2024

Hi @bionner

This plugin is an enabler to exchange events between native & web

In your case I think that you have to manage entire workflow in native code .. I don't see any implication with web part of your app ... is it so ?

from cordova-broadcaster.

bsorrentino avatar bsorrentino commented on June 19, 2024

closed due inactivity

from cordova-broadcaster.

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.