Ionic Native Media Plugin

I want to create a music player app that plays music from url.
I am using ionic 3 with the latest version of cordova.
I also have used the Media Plugin as explained in the docs to play the audio and I have used ion-range to create a seekbar. On iOS everything works as expected, however when running on an android device, whenever I want to use seekTo function it returns an error without a message and with error code of -2147483648
My android version in 7.
I am literally pulling my hair out, I have searched and I have found nothing with the similar issue.