Super template not compatible with ionic-native 3+
ihadeed opened this issue · comments
From @05bca054 on March 25, 2017 9:8
Hello,
I have tried many times to work with ionic but i think super template from ionic is not quite working with ionic-naitve V3+.
Yet i tried to fix several errors(Which causes ionic-native to run) but now i stuck with weird error(No modification made to template pages) which says
Runtime Error
Error in :0:0 caused by: No provider for SplashScreen!
Error: DI Error
at v (http://localhost:8100/build/polyfills.js:3:4864)
at NoProviderError.BaseError [as constructor] (http://localhost:8100/build/main.js:35764:27)
at NoProviderError.AbstractProviderError [as constructor] (http://localhost:8100/build/main.js:76992:16)
at new NoProviderError (http://localhost:8100/build/main.js:77054:16)
at ReflectiveInjector_.throwOrNull (http://localhost:8100/build/main.js:112940:19)
at ReflectiveInjector.getByKeyDefault (http://localhost:8100/build/main.js:112979:25)
at ReflectiveInjector.getByKey (http://localhost:8100/build/main.js:112911:25)
at ReflectiveInjector.get (http://localhost:8100/build/main.js:112780:21)
at AppModuleInjector.NgModuleInjector.get (http://localhost:8100/build/main.js:77928:52)
at CompiledTemplate.proxyViewClass.AppView.injectorGet (http://localhost:8100/build/main.js:113715:45)
at CompiledTemplate.proxyViewClass.DebugAppView.injectorGet (http://localhost:8100/build/main.js:114143:49)
at ElementInjector.get (http://localhost:8100/build/main.js:113219:27)
at CompiledTemplate.proxyViewClass.AppView.injectorGet (http://localhost:8100/build/main.js:113715:45)
at CompiledTemplate.proxyViewClass.DebugAppView.injectorGet (http://localhost:8100/build/main.js:114143:49)
at CompiledTemplate.proxyViewClass.View_MyApp_Host0.createInternal (/AppModule/MyApp/host.ngfactory.js:15:255)
-Naitik
Copied from original issue: danielsogl/awesome-cordova-plugins#1253
Did you add SplashScreen
and other plugin providers to your @NgModule
?
From @05bca054 on March 26, 2017 3:45
Thank you ihadeed,
This will fix those problem, but i recommended that update super template which fix those ionic-native V3+ issues.
-Naitik
There is a PR #84 to update ionic-native to 3.x.