These are chat archives for angular/angular-2-ionic-2

14th
Feb 2017
Oliver Henrique
@oliverhm
Feb 14 2017 12:54
Hey guys. Could someone tell me why my custom splash and icon doesn't work properly. I've emulate my app and it only shows the default splash and icon.
I'm building on ionic 2
Andrew Graham-Yooll
@andrewgy8
Feb 14 2017 13:40
@oliverhm What have you tried? And what does ionic info return?
Kenny G
@Jehuty777_twitter
Feb 14 2017 14:46

I'm having this error when including "import { FilePath } from 'ionic-native';"

"has no exported member 'FilePath'"

Andrew Graham-Yooll
@andrewgy8
Feb 14 2017 15:01
@Jehuty777_twitter What have you tried to debug this?
Add/remove plugin?
Check you plugin file to make sure its there?
Check you ionic-native version and make sure its up to date?
Check the cordova repo and see what version is compatible with?
Just a few ideas...
Oliver Henrique
@oliverhm
Feb 14 2017 15:49
@andrewgy8 I have tried to run "ionic resources" and add option "--clean-cache" too, but have no success.
Andrew Graham-Yooll
@andrewgy8
Feb 14 2017 15:50
Whats the ionic info output?
Amd what version of android are you using?
Oliver Henrique
@oliverhm
Feb 14 2017 15:51
Cordova CLI: 6.4.0
Ionic Framework Version: 2.0.1
Ionic CLI Version: 2.2.1
Ionic App Lib Version: 2.2.0
Ionic App Scripts Version: 1.0.0
ios-deploy version: Not installed
ios-sim version: Not installed
OS: Linux 4.8
Node Version: v7.4.0
Xcode version: Not installed
At the emulator, android version is 6
Andrew Graham-Yooll
@andrewgy8
Feb 14 2017 15:53
What does cordova platforms android give you?
Oliver Henrique
@oliverhm
Feb 14 2017 15:55
Installed platforms:
android 6.0.0
Available platforms:
amazon-fireos ~3.6.3 (deprecated)
blackberry10 ~3.8.0
browser ~4.1.0
firefoxos ~3.6.3
ubuntu ~4.3.4
webos ~3.7.0
Andrew Graham-Yooll
@andrewgy8
Feb 14 2017 15:55
I had an issue with splashscreen/icon in android version 6.0.0
Try runningcordova platform update android@6.1.0
Then ionic resources android
Oliver Henrique
@oliverhm
Feb 14 2017 15:59
Now it's working! :)
Andrew Graham-Yooll
@andrewgy8
Feb 14 2017 16:00
Good to hear!
Oliver Henrique
@oliverhm
Feb 14 2017 16:00
Android 6 won't work yet?
Thank you @andrewgy8
jayh92
@jayh92
Feb 14 2017 21:01

Has anybody been able to get fusioncharts to work with Ionic2? The only example I've found is here: https://github.com/fusioncharts/angular2-fusioncharts but I always get build errors saying...

Error: Type FusionChartsComponent is part of the declarations of 2 modules
[16:01:22] FusionChartsModule and AppModule! Please consider moving FusionChartsComponent to a higher
module that imports FusionChartsModule and AppModule. You can also create a new NgModule
that exports and includes FusionChartsComponent then import that NgModule in FusionChartsModule
and AppModule.
[16:01:22] ngc failed
[16:01:22] ionic-app-script task: "build"
[16:01:22] Error: Error