-
-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
feat(core): add path plugin, implement mobile APIs #6339
Conversation
@lucasfernog is this one going to be similar to the camera plugin where you initialise it like this: tauri::Builder::default()
.plugin(tauri_plugin_camera::init()) Or for these "core" things are they going to just work as imports? A similar question for things like These only have to be initialised on the Rust side, right? And then they can be used with a normal import on the JS side for instance? So if notifications move to this in the future, I'd do these steps to send a notification from the JS side:
For things Tauri directly uses (such as path) those are going to stay in this repo, right? And for those that it doesn't they'll be in the monorepo? Need to figure out how I set up the docs to work. |
Yeah you're right @lorenzolewis, but the core plugins will be initialized automatically and users will just need to import and use it like a regular module. |
At least for now anyway, I know @chippers proposed separating the plugin types so we could actually move this plugin to the workspace repo, but I'm not sure if that's possible. |
I'm excited to dig in to what the DX looks like once these are in. Especially around package versions and asking devs to upgrade. Could be some enhancements we add to the CLI (maybe an add command as well) that helps with the DX and troubleshooting as we introduce more packages and combinations in. |
What kind of change does this PR introduce?
Does this PR introduce a breaking change?
Checklist
fix: remove a typo, closes #___, #___
)Other information