A wrapper for the Cordova Custom-URL-scheme plugin by EddyVerbruggen
Add the package to meteor
meteor add q42:custom-scheme
You will need to specify your url scheme in your mobile-config.js.
App.configurePlugin('cordova-plugin-customurlscheme', {
URL_SCHEME: [Your URL scheme here]
});
When the app is opened using the custom url scheme, the Meteor.onCustomScheme(callback) function is called. You can use this as an event to easily subscribe to, and to create your own logic for when this happens.
Meteor.onCustomScheme(function(url){
// Use the url here
});