Stop reload app on resume

Hello, i build app like instagram and want to prevent app reload after app hidden (open another app).

For example:
On app i open comment page, same time i open whatsapp. After read message on whatsapp, i back again to my app, but everything reload again and back to home again.

I want my app keep on comment page. How to implement it. I try with BackgroundMode but not working.

app.component.ts

import { Component } from '@angular/core';
import { Platform } from 'ionic-angular';
import { StatusBar } from '@ionic-native/status-bar';
import { SplashScreen } from '@ionic-native/splash-screen';
import { BackgroundMode } from '@ionic-native/background-mode';

import { TabsPage } from '../pages/tabs/tabs';

@Component({
  templateUrl: 'app.html'
})
export class MyApp {
  rootPage:any = TabsPage;

  constructor(
    platform: Platform, 
    statusBar: StatusBar, 
    splashScreen: SplashScreen,
    backgroundMode: BackgroundMode) {

    platform.ready().then(() => {
      // Okay, so the platform is ready and our plugins are available.
      // Here you can do any higher level native things you might need.
      statusBar.styleDefault();
      splashScreen.hide();
      backgroundMode.enable();
    });
  }
}
1 Like

See:

So, no solutions about this problem?

has anyone found a solution to this? i’ve not been able to come up with a fix - other than an idea that i could save the state on app pause and then reload - but this seems like something that the framework should be providing?