Receiving 2 notifications with Ionic 3 and Onesignal

My device get the notifications perfectly when the app is opened or in background. But if I close the app, It’ll get two notifications.

constructor(platform: Platform, statusBar: StatusBar, splashScreen: SplashScreen, private oneSignal: OneSignal) {
platform.ready().then(() => {

              .sendTag('email', 'XXXXXXXXXXXXXXXXXX')

I’ve injected a Onesignal dependency as public or private and the error continue. I thought that the error happen in backend and I made a test using the onesignal website, but not work again.

look the example: