Egretia Native Upgrade!

Egretia Io
Egretia
Published in
2 min readJan 19, 2021

Egretia announced an upcoming update to Egretia Native. Please find below the information on upgrading to the latest version!

[Newly added] Support MIME(Content-type Header) charset;

[Newly added] Support window.onunhandledrejection event;

[Fixed] Android: Android 5.1 and below: video playback error;

[Fixed] iOS: Delete API where IDFA is retrieved. Developers can adopt it by themselves if necessary;

[Fixed] Response Entity is null if the HTTP status code is not equal to 200;

[Fixed] iOS: the crashes caused by calling getNetworkState after reloading;

[Fixed] iOS: The issue that users cannot access their own views;

[Fixed] iOS: the touch button will be invalid after refreshing the page (switching account) in iOS;

[Fixed] The noise when currentTime is set before playing the audio;

[Fixed] Android: the bugs which are caused by the repetitive creation of EgretNativeAndroid;

[Fixed] The cache is not invalid if Cache-Control, Pragma, Expires and Last-Modified do not appear in the response header;

NativeRender-related

[Fixed] When the width and height of Sprite is zero, the draw call merge of child nodes should not be interrupted;

[Fixed] there is a flash frame in MovieClip after its resources are destroyed;

[Fixed] The frame of sequence uses a mask. If the mask is rotated, it won’t be display correctly;

[Fixed] Supports fill color property

[Fixed] TextField doesn’t work when using TTF format font;

[Fixed] TextFlow attribute is added to input type of TextField, textFlow still works after inputting text;

[Fixed] The Bitmap objects that reference the Texture are rendered incorrectly when its fillMode is REPEAT;

[Fixed] The jitter in text display when the text content of the filter is changed;

[Fixed] The rendering result of dragonBones is incorrect after using the mask;

[Fixed] Rich text is displayed in white after the font color is set to black;

[Fixed] The rendering length of rich text is incorrect when using custom fonts;

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/

--

--