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

Web-intent not able recieve extras when the app is closed

$
0
0

In the platform ready i am using the following code to handle the indent

 this.webIntent.onIntent().subscribe((intent: { extras: any; }) => {
    console.log('Received Intent: ' + JSON.stringify(intent.extras));
    alert('Received Intent: ' + JSON.stringify(intent.extras));
});

When the app is running in the background this works fine, but if the app is closed then this is not triggered.
Using https://ionicframework.com/docs/native/web-intent

It seems like when the app is closed the subscription is lost.
Am i doing something wrong or is this a limitation ?

1 post - 1 participant

Read full topic


Viewing all articles
Browse latest Browse all 49083

Trending Articles



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