eBay/NMessenger

Bubble not show

Opened this issue · 2 comments

Hey @atainter
I have issue with message bubble view, actually bubble view not show & it work perfeactly in your github example

Step 1 : Create MessageNode
let textContent = TextContentNode(textMessageString: "Hi", currentViewController: self, bubbleConfiguration: self.sharedBubbleConfiguration)
textContent.isIncomingMessage = isIncoming

                let newMessage = MessageNode(content: textContent)
                newMessage.cellPadding = self.messagePadding
                newMessage.currentViewController = self

Step 2: Add message to messageview
let footer = ASTextNode()
footer.attributedText = NSAttributedString(string: "Sending") //text indicate sending

        message.footerNode = footer
        message.isIncomingMessage = isIncomingMessage
    
        self.messengerView.addMessage(message, scrollsToMessage: true)

ScreenShot :
img_1155

Please any help or suggestion as soon as possible
Thanks

hey @girishghoda it's work for me...
You just add this code in you podfile

post_install do |installer|
    installer.pods_project.targets.each do |target|
        if target.name == 'NMessenger'
            target.build_configurations.each do |config|
                config.build_settings['SWIFT_VERSION'] = '3.0'
            end
        end
    end
end

@patelhari Ok i will check
Thank you