view.getContext() does not contain license field

i’m developing a custom ui app using forge and i want to check use licence i used view.getContext() but there is no license field.

During development the license field does not exist. Additionally, the field does not exist for free apps.

For more information please take a look at our documentation.

In order to test license state we recommend this approach.

During testing please mock this function.