-
Notifications
You must be signed in to change notification settings - Fork 327
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
✨ (device-core): add new reinstallConfiguration consent use case #7771
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
4 Skipped Deployments
|
4dd910e
to
7029023
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.
nice 👍
* @param transport - The transport object used to communicate with the device. | ||
* @returns A promise that resolves when the consent is granted. | ||
*/ | ||
export async function reinstallConfiguration( |
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.
[COULD] I know in the firmware doc it's called REINSTALL_CONFIG
but in my opinion it's better to have something more explicit that describes what it actually does, like reinstallConfigurationInit
or requestReinstallConfigurationConsent
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.
will do
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.
lgtm 👍
7029023
to
0a71c43
Compare
✅ Checklist
npx changeset
was attached.📝 Description
Implement new APDU to give consent after an OS update to reinstall the whole config of the device.
This allows us to skip all the user consent for each step (language pack, custom locksceen, apps, and now apps data) and only require one approval before the whole restore flow.
❓ Context
🧐 Checklist for the PR Reviewers