Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

react native webview get query params

var regexp = /[?&]([^=#]+)=([^&#]*)/g,params = {},check;
while (check = regexp.exec(webViewState.url)) {
  params[check[1]] = check[2];
}
console.log("params",params)
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #react #native #webview #query #params
ADD COMMENT
Topic
Name
9+9 =