Hi everyone! I am trying to follow the guide to setup with Ionic Cloud Push, but I am getting stuck when I have to import Push
from @ionic/cloud-angular
:
import {Component} from '@angular/core';
import {
Push,
PushToken
} from '@ionic/cloud-angular';
@Component( ... )
export class MyPage {
constructor(public push: Push) {
...
}
}
I followed this example code in app.ts
and also in a random page, but everytime I try to include Push
in the constructor, the app will whitescreen at the page with no error.
Also, ionic info
output for good measure:
Cordova CLI: 6.3.0
Ionic Framework Version: 2.0.0-beta.11
Ionic CLI Version: 2.0.0-beta.36
Ionic App Lib Version: 2.0.0-beta.19
OS: Windows 10
Node Version: v5.12.0
Any ideas on how to proceed will be greatly appreciated!