I had the same error and did the same mistake
Basically you have to declare ionic storage as a provider in app.module and then declare it again in your constructor aka not use it directly NativeStorage.setItem or NativeStorage.getItem as you did
There the steps I did to achieve it working: