              // Move temporary file to remove .tmp extension              let tmpDirectory = NSTemporaryDirectory()              let tmpFile = "file://".appending(tmpDirectory).appending(imgUrl.lastPathComponent)              let tmpUrl = URL(string: tmpFile)!              try! FileManager.default.moveItem(at: location, to: tmpUrl)              // Add the attachment to the notification content              if let attachment = try? UNNotificationAttachment(identifier: "