Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Truncated Messages at the end of the screen #48

Open
KaiBusu opened this issue Oct 2, 2023 · 7 comments
Open

Truncated Messages at the end of the screen #48

KaiBusu opened this issue Oct 2, 2023 · 7 comments
Assignees
Labels

Comments

@KaiBusu
Copy link

KaiBusu commented Oct 2, 2023

Hello,

Device: iPhone SE (2nd Gen)
iOS: 16.0
SDK: Dimelo-iOS v2.6.1 and 2.6.2

image

We appreciate any assistance with regard to this matter.

Thanks

@waelba
Copy link
Contributor

waelba commented Oct 2, 2023

hi @KaiBusu,

We have a ticket on our side and we will work on it soon.

Regards,

@waelba waelba self-assigned this Oct 2, 2023
@nokiaowner
Copy link

Hi @waelba any news on this please?

Thank you

@waelba
Copy link
Contributor

waelba commented Dec 15, 2023

Hi @nokiaowner,

This issue has been solved in the last release (v2.6.4). Can you check it in your side please? Thanks.

Regards,

@nokiaowner
Copy link

Hello,

I tested using Dimelo (iOS) v2.6.4 and I confirmed the problem is still there.

@waelba
Copy link
Contributor

waelba commented Jan 12, 2024

Hi @nokiaowner,

Can you share your Dimelo integration code?

Regards,

@waelba waelba added the bug label Jan 12, 2024
@nokiaowner
Copy link

nokiaowner commented Jan 17, 2024

This is part of our DimeloManager class implementation. Let me know if this is enough.

 func createInAppMessagingView(orderId: String? = nil, productType: String? = nil) -> UIViewController? {
        if !isInitialized { initialize() }
        guard let dimelo = Dimelo.sharedInstance(), isInitialized else {
            return nil
        }
        
        configureMessagingViewStyle()
        
        addMetaInfo(dimelo: dimelo, orderId: orderId, productType: productType, resetOrderIdIfNil: true)
        return dimelo.chatViewController()
    }

func configureMessagingViewStyle() {
   
        guard let dimelo = Dimelo.sharedInstance() else {
            return
        }
        
        let neutral200 = XColor.Base.Neutral.v200
        let primary600 = XColor.Base.Primary.v600
        let information600 = XColor.Base.Information.v600
         
        dimelo.messageFont = XFont.regular.font(ofSize: .L)
        dimelo.userMessageBackgroundColor = primary600
        dimelo.agentMessageBackgroundColor = neutral200
        dimelo.createNewThreadBackgroundColor = neutral200
        
        dimelo.quickRepliesTextColor = information600
        dimelo.quickRepliesBorderColor = information600
        dimelo.quickRepliesBorderWidth = 2
        
        dimelo.systemMessageBackgroundColor = neutral200
        dimelo.systemMessageFont = XFont.regular.font(ofSize: .L)
        
        dimelo.sendTintColor = primary600
        dimelo.disabledSendButtonColor = neutral200
        
        dimelo.loadMoreMessagesButtonTextColor = primary600
        
        dimelo.tintColor = primary600
        dimelo.navigationBarTitleFont = XFont.semibold.font(ofSize: .L)
        dimelo.messageFieldFont = XFont.regular.font(ofSize: .M)
        dimelo.cursorTintColor = primary600
        
        dimelo.title = Assistance.TranslationKey.chatPageTitle.translation
    }

@waelba
Copy link
Contributor

waelba commented Jan 19, 2024

Hi @nokiaowner,

Thanks for your response. Can you also share the code snippet of dimelo chat integration in your view pager ?

Regards,

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants