AztecEditor-Android
AztecEditor-Android copied to clipboard
Android API 26 : FATAL EXCEPTION: java.lang.IllegalArgumentException: Required value was null.
Expected
App should not crash when render the html on API 26
Observed
App is crashing
Reproduced
Tested
[Android SDK build for arm 64] on [8.0.0] with [v2.1.3]
- I want to use only to render the html. when i try to set
visualEditor.isEnabled = false
its crashed.
- The library version [v1.6.4] & above does not show any impact of implementing
override fun getDefaultEditable(): Boolean { return false }
- Question: is it actually possible to use Aztec as read only html renderer?
Any input on this? I have the same issue after upgrading Aztec to v2.1.4 (slightly different lines). When I click on a link:
java.lang.IllegalArgumentException: Required value was null.
at org.wordpress.aztec.AztecText.onCreateInputConnection(AztecText.kt:699)
at android.view.inputmethod.InputMethodManager.createInputConnection(InputMethodManager.java:5008)