-
Notifications
You must be signed in to change notification settings - Fork 1
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
build: migrate to SDK-V2 #200
Conversation
1d58e48
to
a8df13c
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Did we have a change to test it with old ms teams ?
}) => { | ||
microsoftTeams.settings.getSettings(settings => { | ||
microsoftTeams.settings.registerOnSaveHandler(async saveEvent => { | ||
app.getContext().then(({ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nothing important but, should we also update to async, await style to improve readability ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
since we're using it inside useEffect
this version seems to provide a better readability to me. you can see the alternatives here: https://devtrium.com/posts/async-functions-useeffect
yes @dorukgunes however, I couldn't test it with new ms-teams and teams cloud due to the issues on their side. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's not merge it until we make sure we can publish a new manifest (aka, we have the dx account permissions back).
Change description
Migrate to TeamsJS-V2.
You can review this PR commit-by-commit.
authentication
method (See Reference-3 and 4)undefined
since this was also possible in the previous version (see Reference-5 and 6)References:
v1.11.0
and deprecation warningContext
interfacev1.11.0
Type of change
Checklists
Development
Security
Code review