Fixed: [ionic 2] NativeAudio error : plugin_not_installed

I am trying to play mp3 file using ionic NativeAudio. I added the plugin with no errors…but I test on android device I am getting plugin_not_installed error

using Inspect With Chrome I can see that the plugin is installed on the device

image

This is my code…

platform.ready().then(() => {
        NativeAudio.preloadSimple('win', 'images/win.mp3').then(function(msg) {
            console.log(msg);
          }, function(error) {
            alert(error);
          });
         this.playSound('win');
     });

This is fixed by updating ionic native to the latest