Open gidich opened 10 years ago
Yeah it's on my todo list for quite some while. Just can't find the time to add it. Thanks for the links by the way, adding my own for completeness sake and marking this an enhancement so everyone can step in if they like: http://code.msdn.microsoft.com/windowsapps/Association-Launching-535d2cec
Would you take a pull request if I gave it a shot?
Yes, absolutely. It's on my todo list for too long. I may get to it in a few weeks but it would be a great help indeed.
Really appreciate if the WP8.1 version can be rolled out :)
I'm also pretty interested to have this feature on Windows Phone.
No sure how Eddy want to pull, but this is the solution that I made for WP 8.0 (.xap) http://bit.ly/1umypsX
Ho yeah ! it can be realy interresting.
@EddyVerbruggen pls take a look at @eugene8488 comment on a pull request and possible solution. Hope this solution can be implemented on WP8.1 really soon. That's the only thing preventing me from using this plugin. I need cross-platform support for Windows Phone, Android and iOS.
Thanks
I will focus on this any day soon now!
@EddyVerbruggen that's the best news I've heard all day!! thanks. :)
Hi @writeosahon, you mentioned wp8.1 support. That should already be part of this plugin if you use the windows
platform. So my question is: how are you building your app? Locally or with a cloud tool?
As far as wp8 support goes: I've found that it will be impossible without a few manual steps.
Hello @EddyVerbruggen , I am using a cloud tool for my build. Phonegap build to be precise. Sorry, I don't really know the technicalities of WP8 and WP8.1 since I don't program in C# . But what you mean is that unless my app is built in the APPX WP 8.1 format as opposed to the XAP WP8 format, I cant use custom URL Schemes? Right?
Yes, that's it - on a cloud tool which allows for tweaks to the plugin/native code (like Telerik AppBuilder) you would be able to, but on PhoneGap Build I'm afraid it's a no-go as you need to add a line of native code to your project to wire up a uri scheme handler. And that's not something a plugin can do. God knows I tried.
@EddyVerbruggen oh!! ok thanks :( I appreciate all the effort you put into assisting me. I also appreciate all the effort you put into trying to ensure all your plugins support the 3 platforms (i.e. Android , iOS and Windows Phone)
Cheers!!
@EddyVerbruggen any news on windows phone 8.1 support? We have an ongoing project which needs the plugin for windows phone 8.1. If there are no concrete plans from your side, we may fork and create a pull request on github. btw thanks for the excellent plugin!
@elsewhat Are you building you apps locally or with PhoneGap Build?
Our main build platform is phonegap build, but we could live with building winphone 8.1 on the side in visual studio (need it for debugging anyhow) On 6 Apr 2015 13:57, "Eddy Verbruggen" notifications@github.com wrote:
@elsewhat https://github.com/elsewhat Are you building you apps locally or with PhoneGap Build?
— Reply to this email directly or view it on GitHub https://github.com/EddyVerbruggen/Custom-URL-scheme/issues/48#issuecomment-90028707 .
@elsewhat if you can find a way to make the plugin work for Windows Phone using PhoneGap Build, that would be great!! Look forward to any ideas you may have regarding solving this on the PhoneGap Build platform.
Cheers
Osahon Okungbowa Sent from my Windows Phone
-----Original Message----- From: "Eddy Verbruggen" notifications@github.com Sent: 06/04/2015 12:58 PM To: "EddyVerbruggen/Custom-URL-scheme" Custom-URL-scheme@noreply.github.com Cc: "Osahon Okungbowa" writeosahon@yahoo.co.uk Subject: Re: [Custom-URL-scheme] WP8 Support Possible? (#48)
@elsewhat Are you building you apps locally or with PhoneGap Build? — Reply to this email directly or view it on GitHub.
Btw seems like someone has started with a wp8 plugin already https://github.com/hypery2k/cordova-urlhandler-plugin
Currently hardcoded to a single uri scheme, but should be straigtforward to extend if it works
@elsewhat that fork won't work without a few manual adjustments.
One of the problems is that it adds a tag to WPAppManifest.xml in the wrong place. Another one is that the Custom URI mapper isn't instantiated.
If only we had WP 8.1 templates in Cordova already. It's as easy as Android.
@EddyVerbruggen : I build my Cordova app locally. Does anyone have the steps for making this work for WP8?
@esol1 I just went through the process of figuring this out myself. Here's the solution I came up with:
https://gist.github.com/dpolivy/9ca4ee3fbf0c89918a58
Hope that helps others -- and happy to take any feedback from those that have also implemented this!
quick update. For now we've postponed the wp8 version of the app, so it's not likely we will contribute with this functionality unfortunately
Since phonegap now supports config file editing, would you believe it is possible to support similar functionality in windows phone 8 for phonegap apps?
Phonegap supporting gap:config-file: https://github.com/phonegap/build/issues/1#issuecomment-30786763
WP8 URI Associations how-to: http://www.geekchamp.com/articles/uri-associations-in-windows-phone-8