Skip to content

HelloTool/easygo-schema

Repository files navigation

HUAWEI EasyGo Schema

中文 | English | Your translation contribution is welcome!

EasyGo is a feature that displays two Activities from the same app side by side.

For more information about EasyGo, please refer to HUAWEI’s official introduction.

This JSON Schema is an unofficial data structure definition for easygo.json, based on HUAWEI’s configuration guide.

Usage Guide

Plain JSON

Add the $schema property to your easygo.json file with the value https://hellotool.github.io/easygo-schema/easygo.1.0.schema.json.

Example:

{
    "$schema": "https://hellotool.github.io/easygo-schema/easygo.1.0.schema.json",
    "easyGoVersion": "1.0",
    "client": "io.gitee.jesse205.example",
    "logicEntities": [
        {
            "head": {
                "function": "magicwindow",
                "required": "true"
            },
            "body": {
                "mode": "1",
                "activityPairs": [
                    {
                        "from": "io.gitee.jesse205.example.MainActivity",
                        "to": "*"
                    }
                ]
            }
        }
    ]
}

Related Documentation

License

This project is open-sourced under the MIT License.

About

Unofficial Data Structure Definition of Huawei's easygo.json

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published