Quantcast
Viewing all articles
Browse latest Browse all 49219

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

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 49219

Trending Articles