License type object returned by view.getContext() in `@forge/bridge` does not have the new structure

XMLWordPrintable

    • Minor

      Issue Summary

      From this change log https://developer.atlassian.com/platform/forge/changelog/#CHANGE-1179 , the license details were changed, and as well on the docs that it was changed too. However, the library @forge/bridge still has the old library structure:

       

      export interface FullContext {
          accountId?: string;
          cloudId?: string;
          extension: ExtensionData;
          license?: LicenseState;
          localId: string;
          locale: string;
          moduleKey: string;
          siteUrl: string;
          timezone: string;
      }
      interface LicenseState {
          isActive?: boolean;
      }

       

      Steps to Reproduce

      1. Have a Custom UI Forge app.
      2. Use the view bridge module https://developer.atlassian.com/platform/forge/custom-ui-bridge/view/#example-2.
      3. The old license structure still returns.

      Expected Results

      New structure.

      Actual Results

      Old structure.

      Workaround

      Currently there is no known workaround for this behavior. A workaround will be added here when available

            Assignee:
            Unassigned
            Reporter:
            Guilherme Bueno (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: