Egretia Native Upgrade!

Egretia Io
Egretia
Published in
2 min readFeb 24, 2021

To improve performance of Egretia Native, we’ve added more features and updated it. Please read more about these new updates in the article.

[Newly-added] Support DOMContentLoaded(window, document) and load(window) and readystatechange(document) events;
[Newly-added] canvas.getContext() supports experimental-webgl;

[Optimization] Improve the DOM event procedure and support two writing methods onXXX as well as addEventListener;

[Fixed] iOS: Emojis are available in text;

[Fixed] iOS: Fixed deadlock when audio exits;

[Fixed] iOS: Fixed the draw crash caused by special rendering state;

[Fixed] iOS: When the size of the input box is larger than the bottom edge of the screen, it will not be restored after input;

[Fixed] android: DOM may crash when reading childNodes;

[Fixed] iOS: Thai font display issue on iOS;

[Fixed] iOS: Text with stroke outline on iOS Native;

[Fixed]] iOS: Text displays incompletely when text content and bold attribute are set without setting the size of label;

[Fixed] iOS: The combined characters is not available in single-line text box for Korean input;

[Fixed] iOS: canvas.measureText returns non-zero when the font size is 0;

[Fixed] android: The crash caused by the operation after native.exitGame();

[Fixed] android: egret.RenderTexture.saveToFile does not work;

[Fixed] iOS: The position of input box using the floating keyboard on iPad

[Fixed] iOS: native destroy went wrong after frequently playing Audio;

[Fixed] android: A memory leak: fd (file handle) leaks after helloWorld hangs up for an hour or two;

NativeRender

[Fixed] nativeRender: When setting text attribute wordwarp = true, certain text format crashed;

[Fixed] nativeRender: the screen flash issue at the first time when you open the view;

[Fixed] nativeRender: Alpha becomes invalid after setting tint object using mask;

[Fixed] nativeRender: the screen flash issue when executing obj.alpha = 0; egret.Tween.get(obj).to({ alpha: 1}, 1000);

Stay tuned for updates from the Egretia official channels below so that you can be involved in all the exciting things to come!

Egretia Telegram: https://t.me/Egretia

Egretia Twitter: https://twitter.com/Egretia_io

Egretia Website: https://egretia.io/

--

--