Release ZennoDroid Enterprise 2.4.4.0 — Saving application data with an account • Action "Add Account" • GPU Vendor and Renderer added to the model generator

ZennoLab Team

Super Moderator
Команда форума
Регистрация
22.01.2019
Сообщения
1 891
Благодарностей
4 163
Баллы
113


Full changelog 2.4.4.0

Added:

+ Completely reworked actions for saving and restoring app data:
  • Added support for Android 12 and higher.
  • Added saving and restoring of app-granted permissions.
  • Added saving and restoring of an account associated with the application, if the account data is stored in the account storage rather than in the application
    (Google accounts are not supported).
+ Added action "Add Account" (Google accounts are not supported).
+ Added the ability to retrieve files with restricted access in the "Get File" action.
+ Added the ability to send files to directories with restricted access (e.g., /data) in the "Send File" action.
+ Added the ability to search by multiple images simultaneously in the API.
Код:
var imgHashes = new string[] { "iVBOR...YII", "iVBOR...mCC" };
var rectangle = instance.DroidInstance.Screen.FindImage(imgHashes, null, 95, 60);
+ Added new properties to the Appium API for working with a found element
IsDisplayed - element is visible on the screen.
Rectangle - position, size, and boundary coordinates of the element.
Код:
var element = instance.DroidInstance.AppiumDriver.FindElementByXPath("//*[@text='Google']");
if (element == null)
    throw new Exception("Element not found");
if (!element.IsDisplayed)
    throw new Exception("Element off screen");

return element.Rectangle;
+ ZennoDroid module updated to version 1.11.0.
+ GPU Vendor and Renderer added to the Device Model Generator API
Код:
// Adding Noise Canvas Fingerprint
var json = instance.DroidInstance.Settings.GenerateRandomLSPosedSettings(project.Profile.Country);
var jSettings = Global.ZennoLab.Json.JsonConvert.DeserializeObject<Global.ZennoLab.Json.Linq.JObject>(json);
jSettings["GlCanvasNoise"] = new Random().Next(1, int.MaxValue);
json = Global.ZennoLab.Json.JsonConvert.SerializeObject(jSettings);
instance.DroidInstance.Settings.SetLSPosedSettings(json);
If you have problems with displaying on the screen, you need to disable the GPU Vendor and Renderer generation.
Код:
// Disabling GPU Vendor/Renderer Substitution
var json = instance.DroidInstance.Settings.GenerateRandomLSPosedSettings(project.Profile.Country);
var jSettings = Global.ZennoLab.Json.JsonConvert.DeserializeObject<Global.ZennoLab.Json.Linq.JObject>(json);
jSettings["GlVendor"] = string.Empty;
jSettings["GlRenderer"] = string.Empty;
json = Global.ZennoLab.Json.JsonConvert.SerializeObject(jSettings);
instance.DroidInstance.Settings.SetLSPosedSettings(json);
+ Added device name (marketing name, about phone) to API in device model generator. Fixed device name substitution on some firmware.

Fixed:

The "Get Account" action now returns account metadata required for its proper restoration (Google accounts are not supported).
Fixed a critical bug when sending files to the device.

Where to download?

ZennoDroid Enterprise 2.4.4.0 is already available in your personal account!
You’ll also be prompted to update when launching ProjectMaker.


How to report bugs?

Please report all issues to the Bugtracker, including a detailed description and reproduction steps. This will help us quickly diagnose and fix the problem.
 

Кто просматривает тему: (Всего: 0, Пользователи: 0, Гости: 0)