crisp-im / crisp-sdk-android

:package: Crisp Android SDK, add a chat in any Android app and communicate with your users.
https://docs.crisp.chat/guides/chatbox-sdks/android-sdk/
Other
55 stars 17 forks source link

After Adding Crisp SDK, UI of my project is changed. UI Messed! #77

Closed kishansolankiOpenxcell closed 2 years ago

kishansolankiOpenxcell commented 2 years ago

@baptistejamin @eliottvincent @Doc1faux

Here is the screenshot of the app BEFORE ADDING CRISP SDK

device-2021-10-08-091958

And, here is the screenshot of the app AFTER ADDING CRISP SDK

device-2021-10-08-094339

Let us know if anyone has faced this issue before and resolve it. With this issue, I can't integrate Crisp SDK.

Crisp Integrated SDK is: implementation 'im.crisp:crisp-sdk:1.0.7'

It seems the issue is of the material library used in Crisp SDK. So how can one resolve this issue? I am not using Material Dependency in my project, but crisp is using it internally.

Doc1faux commented 2 years ago

Hi @kishansolankiOpenxcell and sorry to hear that. Indeed, in our SDK, we are using androidx.appcompat:appcompat and com.google.android.material:material libraries. With the recently released 1.0.9, I updated both libraries to latest.

All our res are prefixed with crisp_ so it should not come from there. Moreover, we define styles (also prefixed with CrispTheme. or Crisp.) only for theming:

And we apply them only to our activity & fragments so it should not come from here either.

I let you try the SDK update and come back to me if you still have this issue

Doc1faux commented 2 years ago

No feedback for a while, consider this as fixed, closing...