ankidroid / ankidroid/apisample

App crashes on export when AnkiDroid doesn't have Storage permissions

オープン
#10 コメント 0 件 リアクション 1 件 担当者 0 名 GitHub で見る
主要言語
Java
スター
25
フォーク
13
PR マージ指標
30日以内にマージされた PR はありません

説明

### Steps to reproduce:

1. Install AnkiDroid but do not run OR remove Storage permissions from existing AnkiDroid app via App Info UI
2. Launch API Sample app
3. Select entry, hit share button, select AnkiDroid Instant-Add

**Expected**: Not sure? Maybe user gets prompted with dialog explaining why Anki cannot be exported to?
**Actual**: App crashes due to unhandled `IllegalStateException` in `AnkiDroidHelper::getDeckId` with message "AnkiDroid database inaccessible. Open AnkiDroid to see what's wrong."

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

評価

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

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

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