[IOS] Cordova plugin + get record from database