iterable-android-sdk icon indicating copy to clipboard operation
iterable-android-sdk copied to clipboard

compose compatibility

Open gkaradagan opened this issue 3 years ago • 3 comments
trafficstars

Hello, We have been developing a new mobile app using jetpack compose. I implemented the iterable SDK. However, when showing the in-app message, the popup is flicking.

gkaradagan avatar Jul 25 '22 12:07 gkaradagan

Thanks for bringing this issue to light @gkaradagan! Is this happening on particular type of template OR in general all in-apps? How does the flicking look like? A small video/screenshot can be helpful.

I will recommend reaching out to Iterable Support - [email protected] with template used and sample code so that we can take deeper look.

Ayyanchira avatar Jul 25 '22 17:07 Ayyanchira

I also send an email to [email protected]. You can find a video related to the bug below.

Sample Code which I use for opening the dialog;

iterableApi.inAppManager.showMessage(message, false, null)

PS: We are developing the app using compose.

device-2022-07-26-111116.webm

gkaradagan avatar Jul 27 '22 07:07 gkaradagan

Thanks for sharing this @gkaradagan. Looks like the resizing logic of inapps does not suit the Compose UI. We currently haven't tested SDK functionalities on Compose based apps yet. Will definitely schedule a fix for this.

Meanwhile, have tried to see if recomposition of app's inbox page can be controlled? - and probably set the child views to not recompose ? Would that help?

Ayyanchira avatar Jul 27 '22 22:07 Ayyanchira