Error: No Provider for IonicApp after RC0

in beta11 i was using the IonicApp for app.getRootNav().present() but after the release of rc0 it is shownig error.
please suggest.

 window.setTimeout(() => {  
                self.app.getRootNav().present(qAlert);
            }, 500);

getRootNav() is showing error

error message which i am getting on use of IonicApp is:(error in console)

EXCEPTION: Error in ./Settings class Settings_Host - inline template:0:0 caused by: No provider for IonicApp!

Error: No provider for IonicApp!
at NoProviderError.Error (native)
at NoProviderError.BaseError [as constructor] (http://localhost:8100/build/main.js:1220:34)
at NoProviderError.AbstractProviderError [as constructor] (http://localhost:8100/build/main.js:1654:16)
at new NoProviderError (http://localhost:8100/build/main.js:1685:16)
at ReflectiveInjector_.throwOrNull (http://localhost:8100/build/main.js:3292:19)
at ReflectiveInjector
.getByKeyDefault (http://localhost:8100/build/main.js:3320:25)
at ReflectiveInjector
.getByKey (http://localhost:8100/build/main.js:3283:25)
at ReflectiveInjector
.get (http://localhost:8100/build/main.js:3092:21)
at NgModuleInjector.get (AppModule.ngfactory.js:292:146)
at NgModuleInjector.AppModuleInjector.getInternal (AppModule.ngfactory.js:410:60)

please help

1 Like