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.

Urban Airship SDK version 9.7.1

vramz

Hi Team,

Currently we are using Compile time SDK 27 and UrbanAirship SDK version 9.5.5 in our application

1. For updating  UrbanAirship SDK version to 9.7.1 do we need to updated our Compile time SDK 28 as UrbanAirship targeting to 28?

2. Do we need to update our play services versions as well to the latest version as UrbanAirship SDK(playservices version is 16) using?

 

Official comment

Avatar

Hi,

Thanks for writing in with your questions. The answer to both, in this case, is yes. 

Let us know if you have any additional questions. 

Jay M.
Urban Airship Technical Support

Jay Mutzafi

Please sign in to leave a comment.

0
Avatar

Hi Team,

 

When I tried below the solution given by your team for security patch fix for sdk

<activity

android:name="com.urbanairship.actions.RateAppActivity"

android:exported="false"

tools:node="merge-only-attributes" />

 

We are getting below error

No enum constant com.android.manifmerger.NodeOperationType.MERGE-ONLY-ATTRIBUTES

 

Dependency :

implementation 'com.urbanairship.android:urbanairship-fcm:9.5.5'
vramz 0 votes
0
Avatar

Can you try the follow:

<activity

android:name="com.urbanairship.actions.RateAppActivity"

android:exported="false"

tools:node="remove" />

Jay Mutzafi 0 votes
0
Avatar

After adding tools:node="remove" , our app is building. 

Is this is the fix for that security fix?

vramz 0 votes
0
Avatar

The fix is updating to 9.7.1, if you did this, you should be good. 

Jay M.
Urban Airship Technical Support

Jay Mutzafi 0 votes
0
Avatar

Hi,

Our application compile and taget sdk is 26, as UrbanAirship need sdk version 28. In our app we have lot of module not migrated to 28 so we cannot taget to 28 as we have dependency . so we want to go with alternative solution as previous fix. 

Just need clarification like if we are not updating UrbanAirship sdk version to 9.7.1 the solution would be adding below code in our manifest file. Is my understanding is correct?

 

<activity

android:name="com.urbanairship.actions.RateAppActivity"

android:exported="false"

tools:node="remove" /> 

 

Above code should be alternative for not updating UA library to 9.7.1?

vramz 0 votes
0
Avatar

Yes, that should be fine for now, but work towards updating as soon as you can. 

Jay Mutzafi 0 votes