google / blockly-android

Blockly for Android
Apache License 2.0
672 stars 209 forks source link

API 18: Code Generation and testEscapeFieldDataForAndroidWebView() fail #672

Open AnmAtAnm opened 6 years ago

AnmAtAnm commented 6 years ago

URL Escaping for the old Android WebView appears broken (both the test and the actual code generation). It appears it doesn't even specify the Generator object to support other languages.

D/chromium: Unknown chromium error: -6
I/Web Console: TypeError: Cannot call method 'workspaceToCode' of undefined
    at generate (file:///android_asset/background_compiler.html:73:30)
    at generateEscaped (file:///android_asset/background_compiler.html:82:7)
    at unknown source at file:///android_asset/background_compiler.html:76