Skip to content

Push Notifications Not Working on Android 36 #671

Closed
@max-mcgee-valtech

Description

@max-mcgee-valtech

Summary

Push notifications are not being delivered to devices running Android 36 (Android 16), while they work correctly on older versions (e.g., Android 33 and 35). This issue is observed in a bare React Native project using the Urban Airship React Native plugin. Given Android 36’s recent release, this may indicate a compatibility issue with the current SDK version.

Environment

  • Device: [e.g., Google Pixel 8]
  • Android Version: 36 (Android 16)
  • React Native Version: [e.g., 0.79.5]
  • Urban Airship React Native Plugin Version: [e.g., @ua/react-native-airship ^24.3.0]
  • Build Configuration (from android/build.gradle):
    android {
        compileSdkVersion 36
        defaultConfig {
            targetSdkVersion 36
            minSdkVersion [e.g., 23]
        }
    }
  • Firebase Setup: [e.g., google-services.json included and up-to-date]

Steps to Reproduce

  1. Install the app on an Android 36 device.
  2. Grant notification permissions through the app’s permission flow.
  3. Confirm the device registers with Urban Airship (e.g., a channel ID is generated).
  4. Send a test push notification via the Urban Airship dashboard or backend API.
  5. Observe that the notification is not received on the Android 36 device.

Expected Behavior

The Android 36 device should receive push notifications, consistent with behavior on Android 33 and 35 devices.

Actual Behavior

No push notifications are delivered to the Android 36 device. The device successfully registers with Urban Airship (channel ID is created), but the PushReceived event is not triggered.

Additional Context

  • App State: Issue observed in both foreground and background states.
  • Network: Tested on Wi-Fi and mobile data with no difference.
  • Urban Airship Dashboard: The device’s channel ID is listed, but test notifications are not delivered.
  • Permissions: Notification permissions are granted, verified via Airship.push.isUserNotificationsEnabled().

Possible Cause

Android 36 (Android 16), released around July 2025, may introduce new notification APIs, security restrictions, or Intent handling changes not yet supported by the current Urban Airship React Native plugin version. Older Android versions (33, 35) are unaffected, suggesting a version-specific compatibility issue.

Request for Assistance

  • Is Android 36 (Android 16) supported by the current version of the Urban Airship React Native plugin?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions