White screen issue while using three-dee-touch (native) [solved]


#1

I get a white screen after the splash screen while using the 3D touch extension (refering to this documentation: https://ionicframework.com/docs/native/3d-touch/).

Using Ionic 3.9.2.

Can be reproduced with a new project from scratch
Shell:

$ ionic cordova plugin add cordova-plugin-3dtouch
$ npm install --save @ionic-native/three-dee-touch

Code:

// app.component.ts
import { ThreeDeeTouch, ThreeDeeTouchQuickAction, ThreeDeeTouchForceTouch } from '@ionic-native/three-dee-touch';
// [...]
  constructor(platform: Platform, statusBar: StatusBar, splashScreen: SplashScreen, private threeDeeTouch: ThreeDeeTouch) {
// [...]

Any hints?

Best regards,
Heiko


#2

Solved:
I missed to enter “ThreeDeeTouch” in the providers-array in the @Component-section (app.component.ts).