@coralbue wrote:
Hi,
I'm trying to send push notifications that would redirect users to a different page when their app loads. Initially, I would redirect the users with my Push object in "onNotification", but I soon discovered that if the app isn't in the foreground, the code will never run.
After googling around, I've followed this tutorial on deep linking with Custom URL Schemes (http://mcgivery.com/using-custom-url-schemes-ionic-framework-app/)
Now I'm stuck on trying to figure out how to put them together. Using Ionic's push notification's service I can send push notifications, but my the handleOpenURL function is never called. I've confirmed that the function does indeed run if I visit my URL I created with the Custom URL Schemes, but how do I setup my push notification to visit that URL?
Thanks for any help!
Posts: 1
Participants: 1