-
Notifications
You must be signed in to change notification settings - Fork 132
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
603 Allow an App to retrieve its own metadata through getInfo() #726
603 Allow an App to retrieve its own metadata through getInfo() #726
Conversation
✅ Deploy Preview for lambent-kulfi-cf51a7 canceled.
|
@kriswest - curious about what an app might do with its own instanceId (or appId - if it didn't already know it). |
@nkolba see commentary on the issue: #603 (comment) It basically stems from the fact that an app doesn't necessarily know its own metadata (particularly if added to an appD that the author doesn't control) and can more easily discover the metadata of other apps than it can it's own. This change provides that metadata, allowing it to do things like spawning a copy of itself, recognizing its own metadata, differentiating itself from other instances (e.g. after calling |
resolves #603
As agreed at #683 this PR adds the calling app's
AppMetadata
to theImplementationMetadata
returned byfdc3.getInfo()
, allowing an app to know its own ownappId
andinstanceId
without adding new functions to the desktop agent API.