Quantcast
Channel: Ionic Framework - Ionic Forum
Viewing all articles
Browse latest Browse all 49247

Ionic Cordova Pause Event Not Triggered

$
0
0

@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

Read full topic


Viewing all articles
Browse latest Browse all 49247

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>