Skip to content

Error decoding some Lightning and LNURL schemes #70

@jvsena42

Description

@jvsena42

Had to add this workaround to Android

    private fun String.removeLightningSchemes(): String {
        return this
            .replace(Regex("^lightning:", RegexOption.IGNORE_CASE), "")
            .replace(Regex("^lnurl:", RegexOption.IGNORE_CASE), "")
            .replace(Regex("^lnurlw:", RegexOption.IGNORE_CASE), "")
            .replace(Regex("^lnurlc:", RegexOption.IGNORE_CASE), "")
            .replace(Regex("^lnurlp:", RegexOption.IGNORE_CASE), "")
    }

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions