urbanairship / android-library

Urban Airship Android SDK
Other
111 stars 122 forks source link

Airship SDK Android 14 (compileSdkVersion 34) compatibility #232

Closed iebayirli closed 1 year ago

iebayirli commented 1 year ago

Preliminary Info

What Airship dependencies are you using?

implementation "com.urbanairship.android:urbanairship-message-center:17.0.0"
implementation "com.urbanairship.android:urbanairship-automation:17.0.0"

What are the versions of any relevant development tools you are using?

Android studio

Report

What unexpected behavior are you seeing?

In release notes it says:

It also says a bit down:

What is the expected behavior?

I upgraded my compile and target sdk version to 34. I want to the my app works properly. But i am getting error. I am not sure this error related to the Airship sdk. Does Airship supports Android 14 (compileSdkVersion 34)? Because the release notes are confusing.

What are the steps to reproduce the unexpected behavior?

java.lang.RuntimeException: Unable to resume activity {.......StartActivity}: java.lang.SecurityException: package_name: One of RECEIVER_EXPORTED or RECEIVER_NOT_EXPORTED should be specified when a receiver isn't being registered exclusively for system broadcasts

iebayirli commented 1 year ago

Found the problem. It is not related to Airship SDK. Thank you!