urbanairship / android-library

Urban Airship Android SDK
Other
112 stars 123 forks source link

Not getting push notifications on SDK version 8.7.0 and up #33

Closed korre closed 7 years ago

korre commented 7 years ago

Hi. After update from 8.6.1 to 8.9.4 I'm not getting any pushnotifications at all. The device appears in your UI on the web so I can send test-notifications but my NotificationFactory is never triggered.

I tried all versions between 8.6.1 and 8.9.4 and none work. It stopped working on 8.7.0 and when going back to 8.6.1 everything works again. No other changes is made in the app except updating the Urban Airship SDK when going from 8.6.1 to 8.7.0. When going from 8.6.1 to 8.9.4 it requires bump of google firebase version from 11.0.2 to 11.4.0 though to even get the app to start, but still no push.

Is there any change how you initialze UA on 8.7.0 and up that I'm not aware of?

I've read release log and your SDK setup: https://docs.urbanairship.com/reference/libraries/android/latest/android_changelog.txt https://docs.urbanairship.com/platform/android/#sdk-installation

Tested on a Samsung S7 running Android 7.0 (API 24)

I'm initializing UA like this in App.onCreate():

        // Urban Airship
        AirshipConfigOptions uaOptions = new AirshipConfigOptions.Builder()
                .setDevelopmentAppKey(getResources().getString(R.string.ua_dev_key))
                .setDevelopmentAppSecret(getResources().getString(R.string.ua_dev_secret))
                .setProductionAppKey(getResources().getString(R.string.ua_prod_key))
                .setProductionAppSecret(getResources().getString(R.string.ua_prod_secret))
                .setInProduction(BuildConfig.RELEASE)
                .setProductionLogLevel(Log.ERROR)
                .setDevelopmentLogLevel(Log.VERBOSE)
                .setAllowedTransports(new String[] {AirshipConfigOptions.GCM_TRANSPORT})
                .setGcmSender(getResources().getString(R.string.ua_gcm_sender))
                .setAnalyticsEnabled(true)
                .setNotificationChannel("channel")
                .build();

        final TvNotificationFactory notificationBuilder = new TvNotificationFactory(this);
    UAirship.takeOff(this, uaOptions, new UAirship.OnReadyCallback() {
        @Override
        public void onAirshipReady(UAirship airship) {
            airship.getPushManager().setChannelTagRegistrationEnabled(false);
            airship.getPushManager().setNotificationFactory(notificationBuilder);
            airship.getPushManager().setPushEnabled(true);
            airship.getPushManager().setUserNotificationsEnabled(true);

            if (BuildConfig.DEBUG) {
                Lo.i(TAG, "Device Id: " + NotificationApi.getDeviceToken());
            }

            Action customAction = new PurgeCacheAction();
            UAirship.shared()
                    .getActionRegistry()
                    .registerAction(customAction, UA_OPTION_PURGE_CACHE);
        }
    });

Logging from Urban Airship on 8.6.0 and app start. 10-25 15:15:57.088 5514-5581/? I/tv.nu DEBUG - UALib: Airship taking off! 10-25 15:15:57.088 5514-5581/? I/tv.nu DEBUG - UALib: Airship log level: 2 10-25 15:15:57.088 5514-5581/? I/tv.nu DEBUG - UALib: UA Version: 8.6.1 / App key = bAlilP_ATh6RhHBGnQBvpw Production = false 10-25 15:15:57.160 5514-5581/? D/tv.nu DEBUG - UALib: RichPushUser - Updating user. 10-25 15:15:57.194 5514-5581/? D/tv.nu DEBUG - UALib: Analytics - New session: f9007d52-162e-4214-a92a-c40884eb2383 10-25 15:15:57.195 5514-5596/? V/tv.nu DEBUG - UALib: UALocationProvider - Attempting to connect to location adapter: com.urbanairship.location.FusedLocationAdapter@14d9b27 10-25 15:15:57.209 5514-5581/? I/tv.nu DEBUG - UALib: Airship ready! 10-25 15:15:57.310 5514-5514/? V/tv.nu DEBUG - UALib: InAppMessageManager - App foregrounded. 10-25 15:15:57.310 5514-5514/? D/tv.nu DEBUG - UALib: Analytics - New session: c67ff901-58b3-4d05-b99b-7370d9f1c4e5 10-25 15:15:57.310 5514-5636/? V/tv.nu DEBUG - UALib: PreferenceDataStore - Saving preference: com.urbanairship.application.metrics.LAST_OPEN value: 1508937357305 10-25 15:15:57.322 5514-5514/? V/tv.nu DEBUG - UALib: Analytics - Adding event: app_foreground 10-25 15:15:57.324 5514-5639/? V/tv.nu DEBUG - UALib: AnalyticsJobHandler - Received jobInfo with action: com.urbanairship.analytics.ADD 10-25 15:15:57.326 5514-5514/? V/tv.nu DEBUG - UALib: InAppMessageManager - Activity resumed: com.tvnu.app.ui.activities.HomeRouterActivity@58af1f7 10-25 15:15:57.344 5514-5639/? V/tv.nu DEBUG - UALib: AnalyticsJobHandler - Requesting to schedule event upload with delay 24414ms. 10-25 15:15:57.344 5514-5639/? V/tv.nu DEBUG - UALib: AnalyticsJobHandler - Scheduling event uploads in 24414ms. 10-25 15:15:57.345 5514-5514/? V/tv.nu DEBUG - UALib: AirshipService - Received intent: Intent { act=RUN_JOB cmp=com.tvnu.app/com.urbanairship.AirshipService launchParam=MultiScreenLaunchParams { mDisplayId=0 mFlags=0 } (has extras) } 10-25 15:15:57.345 5514-5514/? V/tv.nu DEBUG - UALib: AirshipService - Received intent: Intent { act=RUN_JOB cmp=com.tvnu.app/com.urbanairship.AirshipService launchParam=MultiScreenLaunchParams { mDisplayId=0 mFlags=0 } (has extras) } 10-25 15:15:57.345 5514-5514/? V/tv.nu DEBUG - UALib: AirshipService - Received intent: Intent { act=RUN_JOB cmp=com.tvnu.app/com.urbanairship.AirshipService launchParam=MultiScreenLaunchParams { mDisplayId=0 mFlags=0 } (has extras) } 10-25 15:15:57.345 5514-5640/? V/tv.nu DEBUG - UALib: AirshipService - Starting job: Job{isLongRunning=true, jobInfo=JobInfo{action='com.urbanairship.richpush.USER_UPDATE', airshipComponentName='com.urbanairship.richpush.RichPushInbox', tag='4bb91e0a-bc84-4825-bd4a-b1b38ff40d0c', isNetworkAccessRequired=false, initialDelay=0, persistent=false}} taskId: 1 10-25 15:15:57.345 5514-5640/? V/tv.nu DEBUG - UALib: AirshipService - Starting job: Job{isLongRunning=true, jobInfo=JobInfo{action='com.urbanairship.push.ACTION_START_REGISTRATION', airshipComponentName='com.urbanairship.push.PushManager', tag='190449fe-3ad5-4314-b29c-158ca8b2cf5a', isNetworkAccessRequired=false, initialDelay=0, persistent=false}} taskId: 2 10-25 15:15:57.346 5514-5640/? V/tv.nu DEBUG - UALib: AirshipService - Starting job: Job{isLongRunning=true, jobInfo=JobInfo{action='com.urbanairship.push.ACTION_UPDATE_TAG_GROUPS', airshipComponentName='com.urbanairship.push.PushManager', tag='com.urbanairship.push.ACTION_UPDATE_TAG_GROUPS', isNetworkAccessRequired=true, initialDelay=0, persistent=false}} taskId: 3 10-25 15:15:57.346 5514-5514/? V/tv.nu DEBUG - UALib: AirshipService - Received intent: Intent { act=RUN_JOB cmp=com.tvnu.app/com.urbanairship.AirshipService launchParam=MultiScreenLaunchParams { mDisplayId=0 mFlags=0 } (has extras) } 10-25 15:15:57.346 5514-5640/? V/tv.nu DEBUG - UALib: AirshipService - Starting job: Job{isLongRunning=true, jobInfo=JobInfo{action='com.urbanairship.push.ACTION_UPDATE_NAMED_USER', airshipComponentName='com.urbanairship.push.NamedUser', tag='com.urbanairship.push.ACTION_UPDATE_NAMED_USER', isNetworkAccessRequired=true, initialDelay=0, persistent=false}} taskId: 4 10-25 15:15:57.346 5514-5514/? V/tv.nu DEBUG - UALib: AirshipService - Received intent: Intent { act=RUN_JOB cmp=com.tvnu.app/com.urbanairship.AirshipService launchParam=MultiScreenLaunchParams { mDisplayId=0 mFlags=0 } (has extras) } 10-25 15:15:57.346 5514-5514/? V/tv.nu DEBUG - UALib: AirshipService - Received intent: Intent { act=RUN_JOB cmp=com.tvnu.app/com.urbanairship.AirshipService launchParam=MultiScreenLaunchParams { mDisplayId=0 mFlags=0 } (has extras) } 10-25 15:15:57.346 5514-5640/? V/tv.nu DEBUG - UALib: AirshipService - Starting job: Job{isLongRunning=true, jobInfo=JobInfo{action='com.urbanairship.push.ACTION_UPDATE_CHANNEL_REGISTRATION', airshipComponentName='com.urbanairship.push.PushManager', tag='com.urbanairship.push.ACTION_UPDATE_CHANNEL_REGISTRATION', isNetworkAccessRequired=true, initialDelay=0, persistent=false}} taskId: 5 10-25 15:15:57.346 5514-5640/? V/tv.nu DEBUG - UALib: AirshipService - Starting job: Job{isLongRunning=true, jobInfo=JobInfo{action='com.urbanairship.push.ACTION_UPDATE_CHANNEL_REGISTRATION', airshipComponentName='com.urbanairship.push.PushManager', tag='com.urbanairship.push.ACTION_UPDATE_CHANNEL_REGISTRATION', isNetworkAccessRequired=true, initialDelay=0, persistent=false}} taskId: 6 10-25 15:15:57.352 5514-5639/? V/tv.nu DEBUG - UALib: GcmScheduler: Scheduling task: com.google.android.gms.gcm.OneoffTask@25c2601 windowStart=24 windowEnd=54 for jobInfo: JobInfo{action='com.urbanairship.analytics.SEND', airshipComponentName='com.urbanairship.analytics.Analytics', tag='com.urbanairship.analytics.SEND', isNetworkAccessRequired=true, initialDelay=24414, persistent=false} 10-25 15:15:57.357 5514-5643/? V/tv.nu DEBUG - UALib: JobDispatcher - Job finished: Job{isLongRunning=true, jobInfo=JobInfo{action='com.urbanairship.push.ACTION_UPDATE_NAMED_USER', airshipComponentName='com.urbanairship.push.NamedUser', tag='com.urbanairship.push.ACTION_UPDATE_NAMED_USER', isNetworkAccessRequired=true, initialDelay=0, persistent=false}} with result: 0 10-25 15:15:57.357 5514-5640/? V/tv.nu DEBUG - UALib: AirshipService - Component finished job with startId: 4 10-25 15:15:57.359 5514-5641/? V/tv.nu DEBUG - UALib: JobDispatcher - Job finished: Job{isLongRunning=true, jobInfo=JobInfo{action='com.urbanairship.richpush.USER_UPDATE', airshipComponentName='com.urbanairship.richpush.RichPushInbox', tag='4bb91e0a-bc84-4825-bd4a-b1b38ff40d0c', isNetworkAccessRequired=false, initialDelay=0, persistent=false}} with result: 0 10-25 15:15:57.359 5514-5640/? V/tv.nu DEBUG - UALib: AirshipService - Component finished job with startId: 1 10-25 15:15:57.366 5514-5514/? V/tv.nu DEBUG - UALib: AirshipService - Received intent: Intent { act=RUN_JOB cmp=com.tvnu.app/com.urbanairship.AirshipService launchParam=MultiScreenLaunchParams { mDisplayId=0 mFlags=0 } (has extras) } 10-25 15:15:57.366 5514-5640/? V/tv.nu DEBUG - UALib: AirshipService - Starting job: Job{isLongRunning=true, jobInfo=JobInfo{action='com.urbanairship.richpush.MESSAGES_UPDATE', airshipComponentName='com.urbanairship.richpush.RichPushInbox', tag='5456eb05-a3ee-44e3-8277-7243062aa662', isNetworkAccessRequired=false, initialDelay=0, persistent=false}} taskId: 7 10-25 15:15:57.366 5514-5641/? I/tv.nu DEBUG - UALib: Refreshing inbox messages. 10-25 15:15:57.367 5514-5641/? V/tv.nu DEBUG - UALib: InboxJobHandler - Fetching inbox messages. 10-25 15:15:57.368 5514-5639/? V/tv.nu DEBUG - UALib: JobDispatcher - Job finished: Job{isLongRunning=false, jobInfo=JobInfo{action='com.urbanairship.analytics.ADD', airshipComponentName='com.urbanairship.analytics.Analytics', tag='7fb3a13f-1581-486c-886f-ff03724c8562', isNetworkAccessRequired=false, initialDelay=0, persistent=false}} with result: 0 10-25 15:15:57.372 5514-5642/? V/tv.nu DEBUG - UALib: JobDispatcher - Job finished: Job{isLongRunning=true, jobInfo=JobInfo{action='com.urbanairship.push.ACTION_START_REGISTRATION', airshipComponentName='com.urbanairship.push.PushManager', tag='190449fe-3ad5-4314-b29c-158ca8b2cf5a', isNetworkAccessRequired=false, initialDelay=0, persistent=false}} with result: 0 10-25 15:15:57.372 5514-5640/? V/tv.nu DEBUG - UALib: AirshipService - Component finished job with startId: 2 10-25 15:15:57.375 5514-5514/? V/tv.nu DEBUG - UALib: InAppMessageManager - Activity paused: com.tvnu.app.ui.activities.HomeRouterActivity@58af1f7 10-25 15:15:57.393 5514-5514/? V/tv.nu DEBUG - UALib: AirshipService - Received intent: Intent { act=RUN_JOB cmp=com.tvnu.app/com.urbanairship.AirshipService launchParam=MultiScreenLaunchParams { mDisplayId=0 mFlags=0 } (has extras) } 10-25 15:15:57.394 5514-5640/? V/tv.nu DEBUG - UALib: AirshipService - Starting job: Job{isLongRunning=true, jobInfo=JobInfo{action='com.urbanairship.push.ACTION_UPDATE_PUSH_REGISTRATION', airshipComponentName='com.urbanairship.push.PushManager', tag='com.urbanairship.push.ACTION_UPDATE_PUSH_REGISTRATION', isNetworkAccessRequired=true, initialDelay=0, persistent=false}} taskId: 8 10-25 15:15:57.646 5514-5642/? V/tv.nu DEBUG - UALib: ChannelJobHandler - No pending tag group updates. Skipping update. 10-25 15:15:57.646 5514-5642/? V/tv.nu DEBUG - UALib: JobDispatcher - Job finished: Job{isLongRunning=true, jobInfo=JobInfo{action='com.urbanairship.push.ACTION_UPDATE_TAG_GROUPS', airshipComponentName='com.urbanairship.push.PushManager', tag='com.urbanairship.push.ACTION_UPDATE_TAG_GROUPS', isNetworkAccessRequired=true, initialDelay=0, persistent=false}} with result: 0 10-25 15:15:57.646 5514-5642/? V/tv.nu DEBUG - UALib: ChannelJobHandler - Push registration in progress, skipping registration update. 10-25 15:15:57.646 5514-5642/? V/tv.nu DEBUG - UALib: JobDispatcher - Job finished: Job{isLongRunning=true, jobInfo=JobInfo{action='com.urbanairship.push.ACTION_UPDATE_CHANNEL_REGISTRATION', airshipComponentName='com.urbanairship.push.PushManager', tag='com.urbanairship.push.ACTION_UPDATE_CHANNEL_REGISTRATION', isNetworkAccessRequired=true, initialDelay=0, persistent=false}} with result: 0 10-25 15:15:57.646 5514-5642/? V/tv.nu DEBUG - UALib: ChannelJobHandler - Push registration in progress, skipping registration update. 10-25 15:15:57.646 5514-5642/? V/tv.nu DEBUG - UALib: JobDispatcher - Job finished: Job{isLongRunning=true, jobInfo=JobInfo{action='com.urbanairship.push.ACTION_UPDATE_CHANNEL_REGISTRATION', airshipComponentName='com.urbanairship.push.PushManager', tag='com.urbanairship.push.ACTION_UPDATE_CHANNEL_REGISTRATION', isNetworkAccessRequired=true, initialDelay=0, persistent=false}} with result: 0 10-25 15:15:57.646 5514-5640/? V/tv.nu DEBUG - UALib: AirshipService - Component finished job with startId: 3 10-25 15:15:57.646 5514-5640/? V/tv.nu DEBUG - UALib: AirshipService - Component finished job with startId: 5 10-25 15:15:57.647 5514-5640/? V/tv.nu DEBUG - UALib: AirshipService - Component finished job with startId: 6 10-25 15:15:57.659 5514-5642/? V/tv.nu DEBUG - UALib: JobDispatcher - Job finished: Job{isLongRunning=true, jobInfo=JobInfo{action='com.urbanairship.push.ACTION_UPDATE_PUSH_REGISTRATION', airshipComponentName='com.urbanairship.push.PushManager', tag='com.urbanairship.push.ACTION_UPDATE_PUSH_REGISTRATION', isNetworkAccessRequired=true, initialDelay=0, persistent=false}} with result: 0 10-25 15:15:57.659 5514-5640/? V/tv.nu DEBUG - UALib: AirshipService - Component finished job with startId: 8 10-25 15:15:57.839 5514-5641/? V/tv.nu DEBUG - UALib: InboxJobHandler - Fetch inbox messages response: Response: ResponseBody: { "messages" : [ ], "badge" : 0 } ResponseHeaders: {null=[HTTP/1.1 200 OK], Cache-Control=[no-cache, no-store, must revalidate], Connection=[keep-alive], Content-Type=[application/json;charset=utf-8], Date=[Wed, 25 Oct 2017 13:15:39 GMT], Vary=[Accept-Encoding, User-Agent], X-Android-Received-Millis=[1508937357837], X-Android-Response-Source=[NETWORK 200], X-Android-Selected-Protocol=[http/1.1], X-Android-Sent-Millis=[1508937357655], X-N=[S]} ResponseMessage: OK Status: 200 10-25 15:15:57.839 5514-5641/? I/tv.nu DEBUG - UALib: Received 0 inbox messages. 10-25 15:15:57.857 5514-5641/? V/tv.nu DEBUG - UALib: JobDispatcher - Job finished: Job{isLongRunning=true, jobInfo=JobInfo{action='com.urbanairship.richpush.MESSAGES_UPDATE', airshipComponentName='com.urbanairship.richpush.RichPushInbox', tag='5456eb05-a3ee-44e3-8277-7243062aa662', isNetworkAccessRequired=false, initialDelay=0, persistent=false}} with result: 0 10-25 15:15:57.857 5514-5640/? V/tv.nu DEBUG - UALib: AirshipService - Component finished job with startId: 7 10-25 15:15:57.857 5514-5640/? V/tv.nu DEBUG - UALib: AirshipService - All jobs finished, stopping with last startId: 8 10-25 15:15:57.925 5514-5514/com.tvnu.app V/tv.nu DEBUG - UALib: InAppMessageManager - Activity resumed: com.tvnu.app.ui.activities.main.PhoneMainActivity@65990d9 10-25 15:15:57.953 5514-5514/com.tvnu.app V/tv.nu DEBUG - UALib: FusedLocationAdapter - Google Play services connected for fused location. 10-25 15:15:57.953 5514-5596/com.tvnu.app V/tv.nu DEBUG - UALib: UALocationProvider - Connected to location adapter: com.urbanairship.location.FusedLocationAdapter@14d9b27 10-25 15:15:57.953 5514-5596/com.tvnu.app V/tv.nu DEBUG - UALib: UALocationProvider - Attempting to connect to location adapter: com.urbanairship.location.StandardLocationAdapter@4d14b39 10-25 15:15:57.953 5514-5596/com.tvnu.app V/tv.nu DEBUG - UALib: UALocationProvider - Connected to location adapter: com.urbanairship.location.StandardLocationAdapter@4d14b39 10-25 15:15:57.967 5514-5514/com.tvnu.app V/tv.nu DEBUG - UALib: AirshipService - Received intent: Intent { act=RUN_JOB cmp=com.tvnu.app/com.urbanairship.AirshipService launchParam=MultiScreenLaunchParams { mDisplayId=0 mFlags=0 } (has extras) } 10-25 15:15:57.968 5514-5640/com.tvnu.app V/tv.nu DEBUG - UALib: AirshipService - Starting job: Job{isLongRunning=true, jobInfo=JobInfo{action='com.urbanairship.push.ACTION_UPDATE_CHANNEL_REGISTRATION', airshipComponentName='com.urbanairship.push.PushManager', tag='com.urbanairship.push.ACTION_UPDATE_CHANNEL_REGISTRATION', isNetworkAccessRequired=true, initialDelay=0, persistent=false}} taskId: 9 10-25 15:15:57.970 5514-5642/com.tvnu.app V/tv.nu DEBUG - UALib: ChannelJobHandler - Performing channel registration. 10-25 15:15:57.996 5514-5642/com.tvnu.app V/tv.nu DEBUG - UALib: ChannelApiClient - Updating channel with payload: {"channel":{"background":true,"opt_in":true,"device_type":"android","set_tags":false,"push_address":"dLfUbiY-XPE:APA91bGypEBQWswI0-RuXiQs_wTi0A93jlWl2RES9fR6zMmzWqmQ9J0YO5S3uFDRZ2pApP6Uap7q2SlkLxEvihzrbnRLGDBHFFvhbQGsWE2pB68m37YPPytnjWQ8BYeDDGvEjtBKTXa_"},"identity_hints":{"user_id":"ak4FYsW3SlScItDAO1E3dg"}} 10-25 15:15:58.376 5514-5642/com.tvnu.app I/tv.nu DEBUG - UALib: Channel registration succeeded with status: 200 10-25 15:15:58.376 5514-5636/com.tvnu.app V/tv.nu DEBUG - UALib: PreferenceDataStore - Saving preference: com.urbanairship.push.LAST_REGISTRATION_PAYLOAD value: {"channel":{"background":true,"opt_in":true,"device_type":"android","set_tags":false,"push_address":"dLfUbiY-XPE:APA91bGypEBQWswI0-RuXiQs_wTi0A93jlWl2RES9fR6zMmzWqmQ9J0YO5S3uFDRZ2pApP6Uap7q2SlkLxEvihzrbnRLGDBHFFvhbQGsWE2pB68m37YPPytnjWQ8BYeDDGvEjtBKTXa_"},"identity_hints":{"user_id":"ak4FYsW3SlScItDAO1E3dg"}} 10-25 15:15:58.377 5514-5642/com.tvnu.app V/tv.nu DEBUG - UALib: JobDispatcher - Job finished: Job{isLongRunning=true, jobInfo=JobInfo{action='com.urbanairship.push.ACTION_UPDATE_CHANNEL_REGISTRATION', airshipComponentName='com.urbanairship.push.PushManager', tag='com.urbanairship.push.ACTION_UPDATE_CHANNEL_REGISTRATION', isNetworkAccessRequired=true, initialDelay=0, persistent=false}} with result: 0 10-25 15:15:58.378 5514-5640/com.tvnu.app V/tv.nu DEBUG - UALib: AirshipService - Component finished job with startId: 9 10-25 15:15:58.378 5514-5640/com.tvnu.app V/tv.nu DEBUG - UALib: AirshipService - All jobs finished, stopping with last startId: 9 10-25 15:15:58.386 5514-5636/com.tvnu.app V/tv.nu DEBUG - UALib: PreferenceDataStore - Saving preference: com.urbanairship.push.LAST_REGISTRATION_TIME value: 1508937358376 10-25 15:15:58.392 5514-5514/com.tvnu.app D/tv.nu DEBUG - UALib: UrbanAirshipReceiver - Received intent with action: com.urbanairship.push.CHANNEL_UPDATED

Logging from Urban Airship on 8.7.0 and app start. 10-25 14:57:51.900 8717-8756/? I/tv.nu DEBUG - UALib: Airship taking off! 10-25 14:57:51.900 8717-8756/? I/tv.nu DEBUG - UALib: Airship log level: 2 10-25 14:57:51.900 8717-8756/? I/tv.nu DEBUG - UALib: UA Version: 8.7.0 / App key = bAlilP_ATh6RhHBGnQBvpw Production = false 10-25 14:57:51.985 8717-8756/? V/tv.nu DEBUG - UALib: GcmScheduler: Scheduling task: com.google.android.gms.gcm.OneoffTask@d06f54b windowStart=0 windowEnd=30 for jobInfo: JobInfo{action=ACTION_UPDATE_PUSH_REGISTRATION, id=4, extras='{}', airshipComponentName='com.urbanairship.push.PushManager', isNetworkAccessRequired=true, initialDelay=0, persistent=false} scheduleId: 3000004 10-25 14:57:51.992 8717-8756/? D/tv.nu DEBUG - UALib: Analytics - New session: ac6bfad5-8fe8-4644-89c2-a3cd5b680cdb 10-25 14:57:51.993 8717-8773/? V/tv.nu DEBUG - UALib: UALocationProvider - Attempting to connect to location adapter: com.urbanairship.location.FusedLocationAdapter@db57b28 10-25 14:57:51.998 8717-8756/? V/tv.nu DEBUG - UALib: GcmScheduler: Scheduling task: com.google.android.gms.gcm.OneoffTask@14d9b27 windowStart=0 windowEnd=30 for jobInfo: JobInfo{action=ACTION_UPDATE_NAMED_USER, id=2, extras='{}', airshipComponentName='com.urbanairship.push.NamedUser', isNetworkAccessRequired=true, initialDelay=0, persistent=false} scheduleId: 3000002 10-25 14:57:52.008 8717-8756/? I/tv.nu DEBUG - UALib: Airship ready! 10-25 14:57:52.008 8717-8756/? V/tv.nu DEBUG - UALib: GcmScheduler: Scheduling task: com.google.android.gms.gcm.OneoffTask@a920fbe windowStart=0 windowEnd=30 for jobInfo: JobInfo{action=ACTION_UPDATE_CHANNEL_REGISTRATION, id=5, extras='{}', airshipComponentName='com.urbanairship.push.PushManager', isNetworkAccessRequired=true, initialDelay=0, persistent=false} scheduleId: 3000005 10-25 14:57:52.011 8717-8756/? V/tv.nu DEBUG - UALib: GcmScheduler: Scheduling task: com.google.android.gms.gcm.OneoffTask@39ed135 windowStart=0 windowEnd=30 for jobInfo: JobInfo{action=ACTION_UPDATE_CHANNEL_REGISTRATION, id=5, extras='{}', airshipComponentName='com.urbanairship.push.PushManager', isNetworkAccessRequired=true, initialDelay=0, persistent=false} scheduleId: 3000005 10-25 14:57:52.104 8717-8717/? V/tv.nu DEBUG - UALib: InAppMessageManager - App foregrounded. 10-25 14:57:52.105 8717-8717/? D/tv.nu DEBUG - UALib: Analytics - New session: ffb0dab0-2c42-41e3-96dc-eb3936cd15d6 10-25 14:57:52.105 8717-8811/? V/tv.nu DEBUG - UALib: PreferenceDataStore - Saving preference: com.urbanairship.application.metrics.LAST_OPEN value: 1508936272099 10-25 14:57:52.107 8717-8717/? V/tv.nu DEBUG - UALib: Analytics - Adding event: app_foreground 10-25 14:57:52.112 8717-8717/? V/tv.nu DEBUG - UALib: InAppMessageManager - Activity resumed: com.tvnu.app.ui.activities.HomeRouterActivity@6017691 10-25 14:57:52.142 8717-8812/? V/tv.nu DEBUG - UALib: EventManager - Requesting to schedule event upload with delay 10000ms. 10-25 14:57:52.143 8717-8812/? V/tv.nu DEBUG - UALib: EventManager - Scheduling upload in 10000ms. 10-25 14:57:52.143 8717-8812/? V/tv.nu DEBUG - UALib: GcmScheduler: Scheduling task: com.google.android.gms.gcm.OneoffTask@fcc6ffc windowStart=10 windowEnd=40 for jobInfo: JobInfo{action=ACTION_SEND, id=0, extras='{}', airshipComponentName='com.urbanairship.analytics.Analytics', isNetworkAccessRequired=true, initialDelay=10000, persistent=false} scheduleId: 3000000 10-25 14:57:52.146 8717-8717/? V/tv.nu DEBUG - UALib: AirshipService - Received intent: Intent { act=RUN_JOB cmp=com.tvnu.app/com.urbanairship.job.AirshipService launchParam=MultiScreenLaunchParams { mDisplayId=0 mFlags=0 } (has extras) } 10-25 14:57:52.146 8717-8815/? V/tv.nu DEBUG - UALib: AirshipService - Running job: JobInfo{action=ACTION_RICH_PUSH_MESSAGES_UPDATE, id=-1, extras='{}', airshipComponentName='com.urbanairship.richpush.RichPushInbox', isNetworkAccessRequired=false, initialDelay=0, persistent=false} 10-25 14:57:52.146 8717-8717/? V/tv.nu DEBUG - UALib: InAppMessageManager - Activity paused: com.tvnu.app.ui.activities.HomeRouterActivity@6017691 10-25 14:57:52.152 8717-8817/? D/tv.nu DEBUG - UALib: InboxJobHandler - User has not been created, canceling messages update 10-25 14:57:52.153 8717-8817/? V/tv.nu DEBUG - UALib: Job - Finished: JobInfo{action=ACTION_RICH_PUSH_MESSAGES_UPDATE, id=-1, extras='{}', airshipComponentName='com.urbanairship.richpush.RichPushInbox', isNetworkAccessRequired=false, initialDelay=0, persistent=false} with result: 0 10-25 14:57:52.153 8717-8815/? V/tv.nu DEBUG - UALib: AirshipService - Component finished job with startId: 1 10-25 14:57:52.153 8717-8815/? V/tv.nu DEBUG - UALib: AirshipService - All jobs finished, stopping with last startId: 1 10-25 14:57:52.154 8717-8811/? V/tv.nu DEBUG - UALib: PreferenceDataStore - Saving preference: com.urbanairship.analytics.SCHEDULED_SEND_TIME value: 1508936282143 10-25 14:57:52.450 8717-8717/? V/tv.nu DEBUG - UALib: InAppMessageManager - Activity resumed: com.tvnu.app.ui.activities.main.PhoneMainActivity@f07fb69 10-25 14:57:52.484 8717-8717/? V/tv.nu DEBUG - UALib: FusedLocationAdapter - Google Play services connected for fused location. 10-25 14:57:52.484 8717-8773/? V/tv.nu DEBUG - UALib: UALocationProvider - Connected to location adapter: com.urbanairship.location.FusedLocationAdapter@db57b28 10-25 14:57:52.484 8717-8773/? V/tv.nu DEBUG - UALib: UALocationProvider - Attempting to connect to location adapter: com.urbanairship.location.StandardLocationAdapter@6ef29d0 10-25 14:57:52.484 8717-8773/? V/tv.nu DEBUG - UALib: UALocationProvider - Connected to location adapter: com.urbanairship.location.StandardLocationAdapter@6ef29d0

korre commented 7 years ago

Just started to work out of the blue after some hours not working...