Community

Community Forums

Where our customers, developers, and more can come together to help each other with both general and technical questions about our products and services.

Migration of UA SDK from 9 to 10.

fabio.rossato

I'm an Android developer and now one I wanna do the migration of UA SDK from 9 to 10. 

While doing it some questions came and I hope you can help me or address it to anyone who can.

Here it goes:

-Related to Inbox

We do not use the default list of messages, we have implemented ours. The problem is, after open the message and press back, the default menu of messages opens. Is there some way to bypass it?

 

-Related to messages:

I am facing some ghost messages here, not sure where it comes from. The images can explain it better. One image is the original message and the other is the ghost.

I am following the documentation here: https://docs.airship.com/reference/libraries/android/latest/reference/classes.html but it is not updated on version 10

 

Thanks in advance

Please sign in to leave a comment.

0
Avatar

Hi Fabio,

If you're migrating from 9 to 10 (you should be on 11 as that is the latest version), you can follow the migration guides below:

9 to 10: https://github.com/urbanairship/android-library/blob/master/documentation/migration/migration-guide-9-10.md

10 to 11: https://github.com/urbanairship/android-library/blob/master/documentation/migration/migration-guide-10-11.md

Regarding the default style (I'm assuming this is what they're meaning by the "default menu") is showing up, you're likely not changing the style in your project. That is, you've not set it up in the styles resources.

Like this (attributes and example included):

https://docs.airship.com/platform/android/message-center/#styling-android-mc

Please correct me if this is not the case.

Regarding the "ghost messages", there are no images attached so its hard to understand what you mean. Can you re-attach them so we can look into it?

Kind regards,

Chilun Liu

Airship Support London

chilun liu 0 votes
Comment actions Permalink
0
Avatar

We are also experiencing similar issues with the back button navigating to the default message center fragment. This was working fine in Airship v9.0. We are currently on version 11.0.1. We rolled back the versions and it worked fine. So it is definitely because of the update.

gagandeep.singh 0 votes
Comment actions Permalink