Unity-Technologies / com.unity.mobile.notifications

Mobile Notifications Package
https://docs.unity3d.com/Packages/com.unity.mobile.notifications@2.1/manual/index.html
Other
131 stars 42 forks source link

Android api level cleanup #253

Closed aurimasc closed 1 year ago

aurimasc commented 1 year ago

Removes hardcoded numbers and use of reflection from Java code. Also specifies the required API level is documentation. Unity infrastructure has been updated and API level 31 is now available for all versions. It is also the level new apps must target to be accepted to Google Play, so it looks reasonable to require such SDK when building.

No user visible changes other than API level requirement in this PR. I don't think there is a reason to test anything here (of course it won't hurt to do it).

aurimasc commented 1 year ago

Do you need to add entries in changelog?

There are no user visible changes here. A micro optimization of not using reflection.