Giter Club home page Giter Club logo

cordova-plugin-volume-control's People

Contributors

jlorente avatar sy1vain avatar

Stargazers

 avatar

Watchers

 avatar  avatar

cordova-plugin-volume-control's Issues

Build fails in Cordova

Including this plugin with this in my config.xml:
<plugin name="cordova-plugin-volume-control" version="0.1.8" />

Getting this error when building with cordova:

Error: cmd: Command failed with exit code 1 Error output:
C:\Projects\gogyup-literacy-app\litapp-source\builds\build-cordova-litapp2\platforms\android\src\com\lorentech\plugins\vo
lumeControl\VolumeControl.java:42: error: ';' expected
                                int volumeToSet = (int) Math.round(args.getDouble(0) * 100.0f)
                                                                                              ^
1 error

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':compileReleaseJavaWithJavac'.
> Compilation failed; see the compiler error output for details.

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.

I suspect the latest github version is not uploaded to npm, as the semi-colon looks ok in latest github source. But the VolumeControl.java in my local plugins/cordova-plugin-volume-control/src/android folder is missing the semi-colon, like the error message indicates.

onChange event

On volume change event might be more useful for sync with the application volume slider if user change volume by the physical button.

Feature Request: App Store Compatible

Your plugin notes that "This plugin uses private AVSystemController.h APIs and can't be used for AppStore apps."

I'm curious, is it not possible to achieve device volume control in iOS via the app in a way that is allowed by the Apple Store?

Ionic 3 compatibility

Is this plugin compatible with ionic 3? Because I've installed using ionic cordova plugin add and I can't inject the VolumeControl, it's not shown to me

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.