Giter VIP home page Giter VIP logo

cordova-plugin-nativeclicksound's People

Contributors

matimenich avatar simbaclaws avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

cordova-plugin-nativeclicksound's Issues

cordova-plugin-nativeClickSound in Ionic

Hi,
how do i had cordova-plugin-nativeClickSound in a Ionic project, please ? I mean after installation.

Thank you.

EDIT: Got it. Works fine. Thanks for the plugin. :)

click sounds triggered multiple times instead of once

Hey MatiMenich,

Apparently when I'm using your nativeclicksound plugin in ionic 3 some button click sounds will trigger multiple times, while others only trigger once or even not at all. Is this a issue with the plugin or is it ionic related?

I've tried both watching the buttons and a tags and also trying to trigger them manually. Even when triggering them manually I get multiple click sounds at once.
I'm going to continue checking out my code to be sure no click events are fired multiple times...

EDIT: It seems like event binding doesn't work properly outside of angular and causes random elements to fail registering as click handler. Whenever I find a tutorial on writing angular cordova plugins I'll rebuild this plugin into one that works for ionic.

EDIT2: It wasn't a angular issue or event binding issue but rather a nativeclick.js issue.

What are possible classes for 'watch' method?

Hi. Nice work with this little plugin. This should be default behavior for Ionic apps on devices.

My question is: what are possible values for class names that should make a sound?
I tried various things, and it seems that only 'button' and 'a' produce results.

I am trying to give audible feedback to user clicking 'back' button in Ionic navbar with no success. Other navbar buttons work, but 'back' doesn't. I know I could do it manually, but in this case, if I add nativeclick.trigger() to navCtrl.pop() and user presses hardware back button, two clicks will be fired.

Also can't make it work for ion-segment buttons and radio buttons.
Any suggestions?

Iphone 6

Hello,
I installed this plugin on a project that I'm developing, it works on Android but IOS does not have any sound.

This is my code.

var clickclasses = ['ClickSound'];
nativesound.nativeClickSound.watch(clickclasses);

Does anyone have the same problem? How to solve?

thank you

No 'Click' on Android

This plugin is working fine on iOS but not on Android. On Android, nativeclick appears to be defined but I don't hear anything. The error callback isn't triggered either. Please advise.

"platform": "Android",
"version": "6.0.1",
"cordova": "4.1.1",
"model": "Nexus 5X",
"manufacturer": "LGE",

cordova-plugin-crosswalk-webview 1.5.0

Thanks

hi

today i'm developing project as cordova. and then i need native sound click and your git.
i tested in class of tag and i listened it.

but class only not also i recommendation option or function, method. for tag, type, etc... selector

What are possible classes for 'watch' method?

Hi. Nice work with this little plugin. This should be default behavior for Ionic apps on devices.

My question is: what are possible values for class names that should make a sound?
I tried various things, and it seems that only 'button' and 'a' produce results.

I am trying to give audible feedback to user clicking 'back' button in Ionic navbar with no success. Other navbar buttons work, but 'back' doesn't. I know I could do it manually, but in this case, if I add nativeclick.trigger() to navCtrl.pop() and user presses hardware back button, two clicks will be fired.

Also can't make it work for ion-segment buttons and radio buttons.
Any suggestions?

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.