Ionic - App not working in background

Hello my friends!

Background mode doesn’t work on Ionic 3, I accomplished check but nothing.

Thanks a lot :alien:

What does that mean?
How did you implement it?

this.platform.ready().then(() => {
      this.platform.registerBackButtonAction(() => {

        console.log('não é pra sair');
       const alert = this.alertCtrl.create({
          title: 'Alert!',
          subTitle: 'Are you sure you want to exit?',
          buttons: [
              text: 'no',
              role: 'cancel',
              handler: () => {
               // console.log('Cancel clicked');
              text: 'yes',
              handler: () => {


Please edit your post, it is not very readable at the moment.
Use the </> button above the input field to format your code, command line output or error message (select the text first, then click the button or wrap it in ``` manually). Check the preview if it looks better. This will make sure your text is readable and if it recognizes the programming language it also automatically adds code syntax highlighting. Thanks.

Besides: Still no idea what you are talking about.