dioxus icon indicating copy to clipboard operation
dioxus copied to clipboard

Dioxus Desktop & Mobile Native APIs

Open salimmghari opened this issue 8 months ago • 4 comments

Feature Request

To unlock the full potential of Dioxus in desktop & mobile and empower developers to build high performance desktop & mobile applications, We should be adding essential native APIs from the following list:

  • [ ] Camera & Microphone
  • [ ] File System
  • [ ] Geolocation
  • [ ] Push Notifications
  • [ ] Biometric Authentication
  • [ ] In-App Purchases.
  • [ ] App Icon Badge.
  • [ ] Battery & Power.
  • [ ] Tray Icon & System Tray.
  • [ ] Deep Linking & URL Schemes.
  • [ ] File Open Dialogs.
  • [ ] Auto-Update & Self-Patching.
  • [ ] Background Processes.
  • [ ] LocalStorage & Secure Storage.
  • [ ] Drag & Drop.
  • [ ] Device Motion & Sensors.
  • [ ] Vibration.
  • [ ] Clipboard.
  • [ ] Titlebar & Menu & Multi-Window & Fullscreen Support.
  • [ ] Paypal & Stripe.
  • [ ] OAuth2.

Implement Suggestion

Leveraging Tauri's plugins Rust code if allowed for Dioxus native instead of Dioxus Webview can be a solution.

salimmghari avatar Mar 11 '25 01:03 salimmghari

most of them can be done by calling the api's directly but i'm not quite sure for background processes.

alkeryn avatar Mar 29 '25 06:03 alkeryn

@salimmghari how is it completed ?

alkeryn avatar Apr 04 '25 12:04 alkeryn

@salimmghari without those dioxus cannot be called a fullstack framework. it is basically useless for almost anything mobile.

alkeryn avatar Apr 11 '25 20:04 alkeryn

I'm sorry @alkeryn , I agree with you and also I'm not a maintainer, just an user like you. I have intended to close this issue as I was informed that the Dioxus team are planning to work on Mobile and Desktop Native APIs for the 0.8 version and are currently trying to release the 0.7 version.

salimmghari avatar Apr 15 '25 23:04 salimmghari

Add gyroscope to the list!

ppmpreetham avatar Jul 22 '25 11:07 ppmpreetham

PayPal & Stripe and OAuth2 don’t really fit the list. As they not native apis. The first being a third-party service and the latter being a protocol.

mcmah309 avatar Jul 31 '25 04:07 mcmah309

Add gyroscope to the list!

Seconded! I really need this!

xcenweb avatar Sep 25 '25 16:09 xcenweb

Do you all think this might accelerate the goals here? Unless I'm misunderstanding their goal. It seems like it's to accelerate the implementation of native APIs but documentation is sparse.

https://robius.rs/

jdbohrman avatar Oct 18 '25 09:10 jdbohrman

Do you all think this might accelerate the goals here? Unless I'm misunderstanding their goal. It seems like it's to accelerate the implementation of native APIs but documentation is sparse.

https://robius.rs/

Care to explain how so?

mcmah309 avatar Oct 18 '25 13:10 mcmah309

@mcmah309 My apologies I only read the hero section and then when I looked at the docs I was mistaken on what they actually did. I thought they were an abstraction over native APIs via a Rust interface.

jdbohrman avatar Oct 19 '25 08:10 jdbohrman