mirror of
https://github.com/aljazceru/breez-sdk-liquid.git
synced 2025-12-23 00:44:26 +01:00
Add LNURL-verify notification plugin tasks (#911)
* Add LNURL-verify notification plugin tasks * Only settled when MRH payment is complete * Ignore unknown JSON keys * Log fail replyURL * Prevent escaping slashes
This commit is contained in:
@@ -80,6 +80,8 @@ open class SDKNotificationService: UNNotificationServiceExtension {
|
||||
return LnurlPayInfoTask(payload: payload, logger: self.logger, contentHandler: contentHandler, bestAttemptContent: bestAttemptContent)
|
||||
case Constants.MESSAGE_TYPE_LNURL_PAY_INVOICE:
|
||||
return LnurlPayInvoiceTask(payload: payload, logger: self.logger, contentHandler: contentHandler, bestAttemptContent: bestAttemptContent)
|
||||
case Constants.MESSAGE_TYPE_LNURL_PAY_VERIFY:
|
||||
return LnurlPayVerifyTask(payload: payload, logger: self.logger, contentHandler: contentHandler, bestAttemptContent: bestAttemptContent)
|
||||
default:
|
||||
return nil
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user