Open monsif opened 6 years ago
@monsif - Please double check your app.module.ts file "Providers" section whether "FCM" added.
For example:
import { FCM } from '@ionic-native/fcm';
providers: [
StatusBar,
SplashScreen,
{provide: ErrorHandler, useClass: IonicErrorHandler},
FCM
]
@shivsuthanmhub yes i do have FCM in providers:
providers: [
StatusBar,
SplashScreen,
{provide: ErrorHandler, useClass: IonicErrorHandler},
AuthService,
MarkersService,
Facebook,
Geolocation,
Camera,
File,
FCM,
Properties,
Diagnostic,
PermissionsService
]
+1
do u install on android 7.0 ?
on ios 10, i think there was a conflict with facebook plugin, i injected FCM service in another page and everything is working fine.
I am not using facebook plugin but still getting white screen after splash screen in ios devices. Any fix ??
White screen issue resolved by updating the following:-
"ionic-angular": "^3.9.2", "cordova-ios": "~4.5.4", "cordova-plugin-fcm": "^2.1.2",
Cordova CLI: 7.1.0 Ionic Framework Version: 3.8.0 Ionic CLI Version: 2.2.1 Ionic App Lib Version: 2.2.0 Ionic App Scripts Version: 3.0.1 ios-deploy version: 1.9.2 ios-sim version: 5.0.13 OS: macOS Sierra Node Version: v6.11.5 Xcode version: Xcode 8.3.3 Build version 8E3004b