@piashsarker wrote:
Below is my source code that I am using in my app.component.ts file in the constructor.
platform.ready().then(() => { console.log('Platform is ready. '); platform.pause.subscribe((result)=>{ console.log("Platform Pause Event. "); }); platform.resume.subscribe((result)=>{ console.log("Platform Resume Event."); }); });
Althought , Pause and Resume event triggered together when resume should call only.
onPause state - nothing output .
onResume state - Platform Pause Event . Platform Resume Event.Checked with the real device and Chrome remote device.
Posts: 1
Participants: 1