diff --git a/src/main/scala/com/snowplowanalytics/refererparser/Parser.scala b/src/main/scala/com/snowplowanalytics/refererparser/Parser.scala index 0765697..0ad73ee 100644 --- a/src/main/scala/com/snowplowanalytics/refererparser/Parser.scala +++ b/src/main/scala/com/snowplowanalytics/refererparser/Parser.scala @@ -93,7 +93,9 @@ class Parser private[refererparser] (referers: Map[String, RefererLookup]) { val path = refererUri.getPath val query = Option(refererUri.getRawQuery) - val validUri = (scheme == "http" || scheme == "https") && host != null && path != null + val validSchemes = Seq("http", "https", "android-app") + + val validUri = validSchemes.contains(scheme) && host != null && path != null if (validUri) { if (// Check for internal domains