[FEAT]: Scan a QR code to start a chat

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

メンテナーはふだん 1 日以内に返信

@ChandruWritesCode がすでに取り組んでいます。

2026年7月2日 から。

評価

この issue はまだ評価されていません。

説明

area: mobile difficulty: medium enhancement

Context

Users can already show their QR code (You tab → My QR code, and the QR icon on New message), but there's no way to scan one, so the code can't be used to find someone yet.

What to do

  • Add a Scan action to the New message screen that opens the camera.
  • When an Elephant QR code is scanned, open (or start) the chat with that user. Show a friendly error for other codes.
  • Ask for camera permission only when scanning, and handle "denied" gracefully.
  • Optional: scanning a contact's code on the Verify safety number screen marks it verified when the numbers match.

Where to look

mobile/lib/pages/new chat/new_chat_page.dart, the existing QR display (search for qr), mobile/android/app/src/main/AndroidManifest.xml (camera permission).

Important: F-Droid

The scanner library must be fully free software. No Google ML Kit or Play Services. Many popular packages (e.g. mobile_scanner on Android) use ML Kit, which F-Droid rejects. A ZXing-based package such as flutter_zxing is a safer choice. Please mention which one you pick before starting.

主要言語
Dart
スター
9
フォーク
5
平均マージ
49分
マージ済み PR(30日)
34

環境構築

  • Dockerfile または Docker Compose ファイルあり
  • プルリクエストのテンプレートなし
  • コントリビューションガイドなし

はじめの一歩

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

CommandLineCoding/Elephant のほかの issue

CommandLineCoding/Elephant の issue をすべて見る

似ている issue

Dart の issue をもっと見る

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

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