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

Inbox view in Android 15 #692

Closed
radubn opened this issue Nov 20, 2024 · 2 comments
Closed

Inbox view in Android 15 #692

radubn opened this issue Nov 20, 2024 · 2 comments

Comments

@radubn
Copy link

radubn commented Nov 20, 2024

Describe the bug
The toolbar is under the status bar on Android 15.

To Reproduce
CT Inbox has been implemented for a while and it's working just fine. However, after setting targetSdk to 35, the inbox is not properly displayed. The toolbar is under the status bar and the back button does not work, only the back gesture.
On the other views in the app, after setting the targetSdk to 35, I had to have the parent CoordinatorLayout with android:fitsSystemWindows="true".

Expected behavior
The Inbox title should be below the status bar and the back button accessible.

Screenshots/Logs


fun displayCleverTapInbox() {
        cleverTapDefaultInstance?.apply {
            ctNotificationInboxListener = object : CTInboxListener {
                override fun inboxDidInitialize() {
                    [email protected](
                        CTInboxStyleConfig().apply {
                            navBarTitle = string(R.string.menu_user_inbox)
                            navBarColor = colorAsString(R.color.xxx)
                            navBarTitleColor = colorAsString(R.color.xxx)
                            backButtonColor = colorAsString(R.color.xxx)
                            inboxBackgroundColor = colorAsString(R.color.xxx)
                            noMessageViewText = string(R.string.inbox_default)
                            noMessageViewTextColor = colorAsString(R.color.xxx)
                        }
                    )
                }

                override fun inboxMessagesDidUpdate() {

                }
            }
            initializeInbox()
        }
    }

ct_inbox_android_15

Environment (please complete the following information):

  • Device: Google Pixel 6a
  • OS: Android 15
  • CleverTap SDK Version v7.0.2
  • Android Studio Version 2024.2.1 Patch 2 (Ladybug)
@piyush-kukadiya
Copy link
Contributor

@radubn We have planned release for Android 15 by end of the December. #664

@radubn
Copy link
Author

radubn commented Nov 20, 2024

Thank you!

@radubn radubn closed this as completed Nov 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants