Ionic Ios Sqlite

Hey guys ! I am using Sqlite in Ionic 3 to create an IOS application.
Here is my code. I have downloaded this code from “” it works fine on Android but didn’t work on IOS.

It is my error i tried google alot but nothing seems to work.