This repro contain a reproducer for a ANR with the Samsung Keyboard with Grammarly integration turned on. The repo contains a vanilla Android app.
Credits to @NickGerleman for discovering it.
Clone the repo and install with:
./gradlew installDebug
- Make sure you're on a Samsung device with the Samsung Keyboard and Grammarly integration turned on (the feature is called
Suggests text corrections
in the Keyboard settings). - Install the app as described above.
- Open the app and tap on the text input.
- Copy paste a wall of text (like a Lorem Ipsum)
- Start typing and the ANR will happen.