Custom-URL-scheme icon indicating copy to clipboard operation
Custom-URL-scheme copied to clipboard

how to open specific page of application

Open harishmahajan opened this issue 7 years ago • 2 comments

see my question

https://stackoverflow.com/questions/44797486/open-specific-page-using-ionic1-firebase

harishmahajan avatar Jun 29 '17 04:06 harishmahajan

You have the solution there now. One thing that you need also to double check is when you maximize the app with a new link and maybe the function is not being called.

For that I use: document.addEventListener("resume", this.getLinks, false);

erperejildo avatar Aug 13 '17 17:08 erperejildo

@harishmahajan try this:

window.handleOpenURL = function (url) {
  window.location.hash = url.slice(7) // your URLscheme.length
}

Helianthus21 avatar Dec 05 '17 06:12 Helianthus21