apache / apache/cordova-android

Android 13 device goes to lock screen after quit app when showing splashscreen

Open
#1,513 3 comments 0 reactions 0 assignees View on GitHub
info-needed / awaiting response
Dominant language
JavaScript
Stars
3.8k
Forks
1.6k
Avg merge
16h 18m
Merged PRs (30d)
11

Description

# Bug Report

## Problem

### What is expected to happen?

Doesn't lock screen

### What does actually happen?

Goes to lock screen when quit app at splashscreen

## Information
Only happen with Cordova-Android@11 and Android 13 device

### Command or Code

### Environment, Platform, Device
Cordova-Android@11 and Android 13 device

### Version information
My Ionic info:

Ionic:

Ionic CLI : 6.20.3 (/usr/local/lib/node_modules/@ionic/cli)
Ionic Framework : ionic-angular 3.9.9
@ionic/app-scripts : 3.2.4

Cordova:

Cordova CLI : 11.0.0
Cordova Platforms : android 11.0.0
Cordova Plugins : cordova-plugin-ionic-keyboard 2.2.0, cordova-plugin-ionic-webview 5.0.0, (and 3 other plugins)

Utility:

cordova-res : 0.15.4
native-run : 1.7.1

System:

Android SDK Tools : 26.1.1 (/Users/truyenn/Library/Android/sdk/)
ios-deploy : 1.9.4
ios-sim : 8.0.0
NodeJS : v14.20.1 (/usr/local/bin/node)
npm : 6.14.17
OS : macOS Monterey
Xcode : Xcode 13.4.1 Build version 13F100

cordova plugin ls
cordova-plugin-device 2.0.2 "Device"
cordova-plugin-ionic-keyboard 2.2.0 "cordova-plugin-ionic-keyboard"
cordova-plugin-ionic-webview 5.0.0 "cordova-plugin-ionic-webview"
cordova-plugin-splashscreen 5.0.2 "Splashscreen"
cordova-plugin-statusbar 2.4.2 "StatusBar"

## Checklist

- [x] I searched for existing GitHub issues
- [x] I updated all Cordova tooling to most recent version
- [x] I included all the necessary information above

Contributor guide

Open the contributing guide

Research direction

The report names no source file, test, or entry point. Start by reproducing the behavior on Cordova Android 11 with an Android 13 device while quitting at the splash screen; done means quitting does not send the device to the lock screen.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, javascript
Domain
mobile-dev
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.