@Mange wrote:
Hello. I'm having trouble with the $cordovaNativeAudio plugin and i'm really lost.
I have install the plugg using; "cordova plugin add https://github.com/christocracy/cordova-plugin-background-geolocation.git" and ofc added it as a dependency into the controller.
The success msg triggers and logs that the sound has ben preloaded. But then i hit my button i get following error: "998: Failure to setup sound, err = -50". (no sound is playing)
This happens both in the simulator and on my phone, i'm so lost? Any settings I'm missing in xcode or any iOS update messing with the plugin?
$ionicPlatform.ready(function () {
$cordovaNativeAudio
.preloadSimple('ducking', 'sounds/ducking.mp3').then(function (msg) {
console.log(msg);
}, function (error) {
alert(error);
});
$scope.play = function () {
$cordovaNativeAudio.play('ducking');
};
});I'm getting following error when building but the build succeeds by the end, don't know if this error is an issue??
2015-11-24 20:57:45.334 xcodebuild[65264:1564517] [MT] PluginLoading: Required plug-in compatibility UUID 7265231C-39B4-402C-89E1-16167C4CC990 for plug-in at path '~/Library/Application Support/Developer/Shared/Xcode/Plug-ins/Unity4XC.xcplugin' not present in DVTPlugInCompatibilityUUIDs
Posts: 1
Participants: 1