AztecEditor-Android icon indicating copy to clipboard operation
AztecEditor-Android copied to clipboard

Android API 26 : FATAL EXCEPTION: java.lang.IllegalArgumentException: Required value was null.

Open MaqsoodAndroid opened this issue 1 year ago • 2 comments

Expected

App should not crash when render the html on API 26

Observed

App is crashing

Reproduced

Screenshot 2024-05-15 at 2 27 59 PM

Tested

[Android SDK build for arm 64] on [8.0.0] with [v2.1.3]

MaqsoodAndroid avatar May 14 '24 11:05 MaqsoodAndroid

  • 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?

MaqsoodAndroid avatar May 14 '24 12:05 MaqsoodAndroid

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)

nokite avatar Jan 16 '25 10:01 nokite