Uploaded image for project: 'Atlassian Ecosystem'
  1. Atlassian Ecosystem
  2. ECO-70

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

    XMLWordPrintable

Details

    • Minor

    Description

      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

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              d6427b6fb657 Guilherme Bueno
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: