Closed panagulis72 closed 5 years ago
I'm catching the following link: https://myapp.it/test/redirectPage.html?itemType='xxx' with the following code: handleOpenURL((appURL: AppURL) => { console.log(JSON.stringify(appURL.params['itemType'])); });
handleOpenURL((appURL: AppURL) => { console.log(JSON.stringify(appURL.params['itemType'])); });
but params is an empty object, and appURL.path doesn't contain the params (it is: myapp.it/test/redirectPage.html)
This is AndroidManifest configuration:
<data android:scheme="https" android:host="myapp.test.com" android:pathPrefix="/manager" />
Solution found. It is a map, so I have to use the following method: appURL.params.get('itemType')
appURL.params.get('itemType')
I'm catching the following link: https://myapp.it/test/redirectPage.html?itemType='xxx' with the following code:
handleOpenURL((appURL: AppURL) => { console.log(JSON.stringify(appURL.params['itemType'])); });
but params is an empty object, and appURL.path doesn't contain the params (it is: myapp.it/test/redirectPage.html)
This is AndroidManifest configuration:
<data android:scheme="https" android:host="myapp.test.com" android:pathPrefix="/manager" />