Github user ghenry22 commented on the issue:
https://github.com/apache/cordova-plugin-media/pull/122
@shazron thanks, sorry to bug you just figured you were kind of the
gatekeeper here.
@infil00p I have been running with this PR (and the other null point PR
that was recently added) for a few days in all my apps testing and all works
well. This has resolved the issue where another app taking audio focus just as
a create/release of media was happening would cause the media plugin to throw a
null pointer. I have not seen any ill effects and I can no longer reproduce
the issue.
Have tested on Android 5/6 on a 3 different devices and all good so far.
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]