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