Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

onSuccess call back of media.play breaks angular 4 change detection #179

Closed
praveen-angular opened this issue Sep 4, 2018 · 1 comment
Closed
Labels

Comments

@praveen-angular
Copy link

Hi Team,

i am using angular 4 with cordova-media-plugin, after playing an audio, the success call back not performing two way data binding,

Tried changeDetRef, ApplicationRef and ngzone, for all of these error is throughing "undefined is not an object (evaluating '_this.changeDetRef.detectChanges')"

Tried to invoke another method but no luck,

Tried for observable and subscribers no luck.

please can any one help me on this

Thanks,
Praveen

@janpio janpio added the support label Sep 4, 2018
@lolaswift
Copy link

Just curious how you do it with ngzone. ngZone works for me but I am using ionic 3 with angular 5 of course. Some code maybe?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants