Android: App slow to resume when backgrounded

  1. SDK Version: 37 (managed workflow)
  2. Android
  3. Device: Samsung Galaxy A7 Android version 7.0

When app is backgrounded, it takes almost exactly 5 seconds for the app to resume. After tapping the app icon, there is nothing until 5 seconds later when app screen is seen and app can be then be used as normal.

Adb logcat shows 5s delay in between the GCM error and the Desktop Mode feature not available. I am not using the Expo notifications right now.

06-08 12:13:39.282 2876 3002 E ActivityManager: applyOptionsLocked: pendingOptions.getStartX()=852pendingOptions.getStartY()=165
06-08 12:13:39.421 15619 29295 W GCM : Invalid parameter sender
06-08 12:13:39.433 23679 29596 W c : Could not find listener for key: devicePushToken
06-08 12:13:39.433 23679 29596 E e : java.io.IOException: INVALID_PARAMETERS
06-08 12:13:44.387 22923 22923 W SemDesktopModeManager: isDesktopMode: Desktop Mode feature not available
06-08 12:13:44.405 22923 22923 W SemDesktopModeManager: isDesktopMode: Desktop Mode feature not available

This happens consistently. When app is killed an re-launched from scratch, there is no delay. App can be resumed just fine by using the app switcher interface. The problem only happens when the app icon is tapped and the app is already running in background.

Update: Tested on another device (Motorola G5 running Android 8.1.0), problem does NOT happen on this device/Android version.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.