[Bug]: "Close camera" button (x) is not working on Android

オープン
#73 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
3/5
見積もり時間
1〜2日
初心者へのやさしさ
57/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
静か
技術スタック
android, typescript
領域
mobile-dev

調査の方向性

まず、Android 13 で Camera.takePhoto({}) を使って問題を再現し、カメラを閉じるコントロール周辺のカメラフローを調査します。x ボタンで、アプリを閉じたりエッジスワイプを行ったりする必要なくカメラを終了できることを確認して、期待される動作を検証します。

索引モデルが issue の本文から書いたものです。

説明

Current Behavior

The "close camera" button (x) is not working on Android

Expected Behavior

The "close camera" button (x) should close the camera on Android

Reproduction

Camera.takePhoto({})

Screenshots / Media

https://github.com/user-attachments/assets/7f1f7425-5d6e-489e-83e3-37fc969528d3

Environment Details
OS version: Android 13


npx cap doctor
💊   Capacitor Doctor  💊 

Latest Dependencies:

  @capacitor/cli: 8.5.0
  @capacitor/core: 8.5.0
  @capacitor/android: 8.5.0
  @capacitor/ios: 8.5.0

Installed Dependencies:

  @capacitor/core: 8.5.0
  @capacitor/android: 8.5.0
  @capacitor/cli: 8.5.0
  @capacitor/ios: 8.5.0

[success] Android looking great! 👌
[success] iOS looking great! 👌

npm --version
11.17.0

node --version
v24.19.0
Versions Affected

Tested on v8.2.2

Platforms Affected
  • iOS
  • Android
  • Web
Notes / Comments

Tested on a Pixel 4a running Android 13.

The workaround is to close the app or swipe from the left edge of the screen to the center.

主要言語
TypeScript
スター
6
フォーク
3
平均マージ
2日 21時間
マージ済み PR(30日)
4

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

ionic-team/capacitor-camera のほかの issue

ionic-team/capacitor-camera の issue をすべて見る

似ている issue

TypeScript の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。