I've been struggling with this for the whole day. I managed to override my previous revision to the newest and suddenly everything stopped working.
The fix is to add this right before constructor():
static get parameters() {
return [[Platform]];
}
constructor(platform) {
...
That is the equivalent to:
constructor(platform: Platform) {
...
However, I am uncertain how you should work with multiple modules. But I suppose it would be:
static get parameters() {
return [[IonicApp], [Platform]];
}
constructor(app, platform) {
...
Let me know if it worked!