Browser based App - Query Parameters


#1

Hi,

I am building a browser based app using Ionic 3 and would like to use query parameters in the URL or another mechanism if there is one to pass input when opening the web page:

ie http://localhost:8100?id=1234

How can I access these parameters in Ionic 3?

Thanks in advance.

Alex


#2

You should be able to handle this with the Angular Router Parameters: https://angular-2-training-book.rangle.io/handout/routing/routeparams.html


#3

Did you got any solution for this?
How can we pass query params in the Ionic app?