Is your feature request related to a problem? Please describe.
Yes. We should allow an option to inject a plist in the runtime to ask permissions.
Describe the solution you'd like
Add a new configuration field in tauri.conf.json for macOS to customize the plist.
Option 1
We build a schema where they can define their own dict in tauri.json.conf (will require more works)
Option 2
Ask for a path but the user should take care of all aspects of the plist (app name etc..)
Another field should allow enabling or disabling the plist injection at the runtime (in dev mode), in prod it should never be injected as we use the bundler plist.
Will require some update in the bundler as well to make sure dev and prod reflect the same.
Describe alternatives you've considered
N/A
Additional context
Refer to tauri-apps/wry#85 (comment)
Is your feature request related to a problem? Please describe.
Yes. We should allow an option to inject a plist in the runtime to ask permissions.
Describe the solution you'd like
Add a new configuration field in
tauri.conf.jsonformacOSto customize the plist.Option 1
We build a schema where they can define their own
dictintauri.json.conf(will require more works)Option 2
Ask for a path but the user should take care of all aspects of the plist (app name etc..)
Another field should allow enabling or disabling the plist injection at the runtime (in dev mode), in prod it should never be injected as we use the bundler plist.
Will require some update in the bundler as well to make sure dev and prod reflect the same.
Describe alternatives you've considered
N/A
Additional context
Refer to tauri-apps/wry#85 (comment)