It is sometimes useful to include a custom dialog in your snap:
- To display a notice that this snap is not an official application distribution from the upstream developers:
Source code - To display a notice that some manual operations must be done for the snap to function properly due to snapd’s technical limitations:
Source code - To display a dialog for user input:
Source code - To display a snap obsoletion notice (when migrating snap to another namespace)
- To display snap-specific notices, including but not limited to security confinement interface warnings
The following are some ways to implement these, according to the type of application you’re snapping.