As an alternative to handling the permissions in the app, associate permissions with components before exporting them.