You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Aug 17, 2023. It is now read-only.
When working with subdomains of a given URL, the current implementation of this plugin only allows us to set the ANDROID_PATH_PREFIX which according to Android docs:
[...] specifies a partial path that is matched against only the initial part of the path in the Intent object.
In some cases, we need a more powerful way to define the URLs that are going to be handled by our app using wildcards. For example, if we want our app to handle URLs like www.domain.com/../subdomain/.* (where the two consecutive dots could match "en", "es", "fr", "de", ...) but we don't want our app to be opened with URLs like www.domain.com/../password-reset/.*
That can be achieved using pathPattern:
The pathPattern attribute specifies a complete path that is matched against the complete path in the Intent object, but it can contain the following wildcards:
An asterisk ('*') matches a sequence of 0 to many occurrences of the immediately preceding character.
A period followed by an asterisk (".*") matches any sequence of 0 to many characters.
In the meantime, we've added a custom hook that modifies the AndroidManifest.xml file and replaces the pathPrefix key by pathPattern and it works as expected. So maybe ANDROID_PATH_PATTERN could be added as another optional parameter of the plugin to handle this scenario.
Thanks :)
The text was updated successfully, but these errors were encountered:
When working with subdomains of a given URL, the current implementation of this plugin only allows us to set the
ANDROID_PATH_PREFIX
which according to Android docs:In some cases, we need a more powerful way to define the URLs that are going to be handled by our app using wildcards. For example, if we want our app to handle URLs like
www.domain.com/../subdomain/.*
(where the two consecutive dots could match "en", "es", "fr", "de", ...) but we don't want our app to be opened with URLs likewww.domain.com/../password-reset/.*
That can be achieved using
pathPattern
:In the meantime, we've added a custom hook that modifies the
AndroidManifest.xml
file and replaces thepathPrefix
key bypathPattern
and it works as expected. So maybeANDROID_PATH_PATTERN
could be added as another optional parameter of the plugin to handle this scenario.Thanks :)
The text was updated successfully, but these errors were encountered: