Skip to content

[NGX] Auto declare in global "projectVersionFront" and "projectVersionBack" (maybe more ?) #883

@nicolas-albert

Description

@nicolas-albert

Sometimes, you don't know what version of a project is deployed (WEB) or installed (PWA, Cordova, ...).
The backend project can also be different if the client isn't updated.

The idea is to offer an easy access to those values for Convertigo developers and global values can be easy to pickup anywhere in the application.

The builder can add code for this at generation time (depending on TPL ?) to declare global.projectVersionFront, global.projectName, global.projectBuildDate, global.projectGitSHA (if any), global.projectGitBranch (if any).

The SDK can declare a global.projectVersionBack using one of init calls.

Metadata

Metadata

Assignees

No one assigned

    Labels

    improvementImprove an existing feature

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions