OneSignal / OneSignal-Cordova-SDK

OneSignal is a free push notification service for mobile apps. This plugin makes it easy to integrate your Ionic, PhoneGap CLI, PhoneGap Build, Cordova, or Sencha Touch app with OneSignal. Supports Android, iOS, and Amazon's Fire OS platforms. https://onesignal.com
Other
251 stars 197 forks source link

[question]: Deeplinks in idle iOS app are not registred #897

Open swebSi opened 1 year ago

swebSi commented 1 year ago

How can we help?

Hi,

we are using angular + capacitor and onesignal-cordova-plugin 3.3.1

We followed instructions for setting up deeplinks and we handle our logic in notificationOpenHandler. The issue is that when iOS app is idle for at least a day, launch url seems to be disregarded and app opens on the last page.

Links are working correctly on android and when app is not in background for a longer period of time on iOS. Are there any other settings required to handle push notification when in idle mode? It seems to work when app is force closed as well.

Working: Android in background ✅ Android in background after 1 day ✅ Android force closed ✅ iOS in background ✅ iOS force closed ✅ iOS in background after 1 day ❌

Code of Conduct

emawby commented 8 months ago

@swebSi I apologize for the delay in response. Is this still an issue for you? I am not aware of any settings that would fix this outright. If it is still an issue some kind could you let us know if the opened handler is being called?