-
Notifications
You must be signed in to change notification settings - Fork 534
event not firing for defined config.xml path #29
Comments
Understood, will look into that. |
As I thought, the problem is with the Didn't think that in In the meantime, you can do the following:
|
The hash in the URL is because our web application is built on Angular.js, so our routing is actually done on the client-side in the browser. Your solution looks like it works, so thanks! Curious, do you think this enhancement may make it into the next release? It'll probably be 4-6 weeks before I look to add another path to the configuration for UL; ideally I want to integrate these paths one at a time. |
Think so, depends on a free time I'll have. But even if I'm not - you can still just add new As soon as feature is implemented - it will require minimum change in the code: just remove |
Oh really? Okay, it wouldn't be too difficult on my end to construct a handler in the interim if need be. Thanks! |
👍 |
My implementation only works when I try to access a url like this "https://foobar.com/public/%23/ResetPassword/1234" %23 is # escaped @theaccordance , Is this link (https://foobar.com/public/#/ResetPassword/1234) works for you? It opens the app? |
Hi , I do have a small issue though. Following the instructions, I was able to install and configure the plugin successfully. I sent an email to my android device and clicked on the link, my app was launched. Hooray! However, I couldn't get the events to fire... I do not see any console logs etc. Does this matter that my app is an
I also have in my
Does the addition of the below code specific for android as a hack to fix a flicker issue matter? I have added an entry that creates an
Any help on this is greatly appreciated. I have also tried bootstrapping the events in the Cheers |
Hi @fintis , I think the problem is with your configuration in <universal-links>
<ios-team-id value="3VJD6U4MGY" />
<host name="m.myservicecity.com" scheme="https">
<path url="/starr_notification/" event="openStarrNotificationPage" />
<path url="/job_review/" event="openJobReviewPage" />
<path url="/vip_notification/" event="openVipNotificationPage" />
<path url="/work_order/*" event="openWorkOrderDetailPage" />
<path url="*" event="launchedAppFromLink" />
</host>
</universal-links> You need to put |
Many thanks for your prompt response... Silly me! How could I have missed that? Will give it a try... Cheers |
@nikDemyankov one more thing, since we are on the topic, Is it absolutely necessary to put the event registering code in the Using
And in the
Cheers |
@fintis you can subscribe at any time you want and at any place. The only requirement is that |
@nikDemyankov Thanks for this awesome plugin +1 |
Thanks :) |
👋 Hi! Thank you for your interest in this repo. 😢 We are not using nordnet/cordova-universal-links-plugin anymore, and we lack the manpower and the experience needed to maintain it. We are aware of the inconveniece that this may cause you. Feel free to use it as is, or create your own fork. 🔒 This will now be closed & locked. ℹ️ Please see #160 for more information. |
Having trouble getting events to run when I narrow the scope of the path in the config.xml file and build the app for iOS.
The url that would trigger the event:
https://foobar.com/public/#/ResetPassword/1234
where1234
is a server-generated token.Currently, the app opens and the event fires if the path url attribute is set to the wildcard:
<path url="*" event="ul_ResetPassword" />
If I change the path to what I need it to be in production,
url="/public/#/ResetPassword/*"
, the app will open but the event never fires.The apple-app-site-association file found on the domain:
My JS code subscribing to the event in my Ionic app:
The text was updated successfully, but these errors were encountered: