Search Issue Tracker

By Design

Votes

0

Found in [Package]

2.0.0

Issue ID

1412727

Regression

Yes

[Android] AndroidJavaException thrown in logs when using Mobile Notifications package and Minimum API level set to 19

Package: Mobile Notifications

-

Reproduction steps:
1. Open the attached user's Unity project "TestNotificationsPackage.zip"
2. Go to Assets > Scenes folder and open "SampleScene.unity" Scene
3. Go to File > Build Settings and switch to Android Platform
4. Build and install the application on a device
5. Open the Android Logcat window and observe errors

Expected result: No errors are thrown in the Android Logcat
Actual result: Error is thrown in the Android Logcat: "Error Unity AndroidJavaException: java.lang.NoSuchFieldError: no static field with name='EXTRA_BIG_TEXT' signature='Ljava/lang/Object;' in class Landroid/app/Notification;

Reproducible with: 2.0.0 (2019.4.38f1, 2020.3.33f1)
Not reproducible with: 1.3.0, 1.4.2 (2019.4.38f1, 2020.3.33f1)
Could not test with: 2021.3.0f1, 2022.1.0b16, 2022.2.0a10 (Minimum API level 19 is not supported)

Reproduces with these devices:
VLNQA00030 - LG G2 (LG-D802), OS: 4.4.2, CPU: Snapdragon 800 MSM8974, GPU: Adreno 330

Not reproducible with these devices:
VLNQA00458 - Google Pixel 6 (Pixel 6), CPU: Google Tensor (Whitechapel), GPU: Mali-G78, OS: 12
VLNQA00404 - Galaxy Z Flip3 5G (SM-F711B), OS: 11, CPU: Snapdragon 888, GPU: Adreno 660
VLNQA00147 - Razer Phone (Cheryl), OS: 8.1.0, CPU: Snapdragon 835 MSM8998, GPU: Adreno 540
VLNQA00219 - Samsung Galaxy Note9 USA (SM-N960U), OS: 8.1.0, CPU: Snapdragon 845 SDM845, GPU: Adreno 630
VLNQA00006 - Samsung Galaxy S7 (SM-G930F), OS: 8.0.0, CPU: Exynos 8 Octa (8890), GPU: Mali-T880
VLNQA00034 - Google Nexus 4 (mako), OS: 5.1.1, CPU: Snapdragon S4 Pro APQ8064, GPU: Adreno 320

  1. Resolution Note:

    The minimum required API level for 2.0.0 is 21 (we had incorrect documentation, should be updated by now).
    We plan to release at least one more 1.4.x series release with most bugfixes from 2.0.0 (but no new features).

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.