(NATIVE AUDIO) Asset not found


#1

Home.ts

constructor(public navCtrl: NavController, public nativeAudio:NativeAudio, private platform:Platform) {
nativeAudio.preloadSimple(‘track1’, ‘assets/audio/song.mp3’).then(this.onSuccessPreloading, this.onError);
}

onSuccessPreloading = (data) => {
console.log(‘success preloading’, data);
this.nativeAudio.play(‘track1’).then(this.onSuccessPlaying, this.onError);
}
onError = (data) =>{
console.log(‘Error’, data);
}
onSuccessPlaying = (data) =>{
console.log(‘Audio is playing’, data);
}

Getting Following error: (NATIVE AUDIO) Asset not found