Android Device cannot registered with Urban Airship

We recently noticed that no device was registered at all with Urban Airship. When debugging, we noticed that the following two apis are never hit now. When it was working, we can see these apis were hit and channel id was created. 

public class AirshipListener implements PushListener, NotificationListener, PushTokenListener, AirshipChannelListener {


    public void onChannelCreated(@NonNull String channelId) {
        //some code not shown here

    public void onChannelUpdated(@NonNull String channelId) {
        //some code not shown here



In build.gradle (app), we have these line:

    // Note : All Airship dependencies included in the build.gradle file should all specify the exact same version.
    def airshipVersion = "13.3.5"
    implementation "$airshipVersion"
    implementation "$airshipVersion"

When debugging, we do see credentials are there and passed to the following method:

public AirshipConfigOptions createAirshipConfigOptions(Context context) {
            AirshipConfigOptions options = new AirshipConfigOptions.Builder()
                    .setFcmSenderId(BuildConfig.GOOGLE_PROJECT_NUMBER) // FCM/GCM sender ID
                    .setNotificationAccentColor(ContextCompat.getColor(context, R.color.abc_blue))

            return options;

We haven't really make any code changes recently except upgrade "airshipVersion" in build.gradle, but I tried to rollback to previous value, still registration with Urban Airship fails. So where comes this issue all of sudden? Please help!

Thanks in advance!

P..S, not sure which Topic to select so I leave it not selected at all.

Didn't find what you were looking for?

New post


1 comment

  • Hi Schen,

    Thanks for reaching out to Airship Technical Support! Could you please share the following information in order for us to troubleshoot this issue?

    Looking forward to your response!


    Arushi S.
    Technical Support Engineer
    Airship | San Francisco, CA

    Comment actions Permalink

Please sign in to leave a comment.