unoplatform / uno

Build Mobile, Desktop and WebAssembly apps with C# and XAML. Today. Open source and professionally supported.
https://platform.uno
Apache License 2.0
8.69k stars 700 forks source link

[WASM] Xamarin.Essentials #2632

Open jeromelaban opened 4 years ago

jeromelaban commented 4 years ago

This issue lists available features of Uno.Xamarin.Essentials on WebAssembly, based on the Uno Platform version.

Some of the not-implemented features may be caused by the lack of browser availability of the feature, or by the fact that it's not yet implemented in Uno. If you'd like to implement the feature, please let us know!

Feature Available Description
Accelerometer Yes
AssemblyInfo Yes
Browser Yes
AppInfo Partial as of 2.1.0-dev.1173
DeviceInfo Partial as of 2.1.0-dev.1173
DeviceDisplay Partial as of 2.1.0-dev.1173
Clipboard Yes #3179
Email Partial as of 2.1.0-dev.1173
FileSystem Yes
Launcher Yes
Magnetometer Yes
MainThread Yes
Preferences Yes
VersionTracking Partial as of 2.1.0-dev.1173
Vibration Yes
Barometer No as of 2.1.0-dev.1173
Battery No API was removed from JS to avoid fingerprinting
Compass No as of 2.1.0-dev.1173
Connectivity Yes
Flashlight No No API available in JS
Geocoding No as of 2.1.0-dev.1173
Gyroscope No as of 2.1.0-dev.1173
Map No as of 2.1.0-dev.1173
OrientationSensor No as of 2.1.0-dev.1173
Permissions No as of 2.1.0-dev.1173
PhoneDialer Yes as of 2.1.0-dev.1173
SecureStorage No as of 2.1.0-dev.1173
Share No as of 2.1.0-dev.1173
Sms No as of 2.1.0-dev.1173
TextToSpeech No as of 2.1.0-dev.1173
MartinZikmund commented 4 years ago

Just found out the PhoneDialer is already implemented on WASM in the current master version :-)

jeromelaban commented 4 years ago

Thanks, updated!

MartinZikmund commented 4 years ago

@jeromelaban with #3179 the support for Clipboard should now be complete

baskren commented 3 years ago

Where can I find the repo for Uno.Xamarin.Essentials? Unless I'm totally thinking about this wrong, there appears to be some low hanging fruit here.

baskren commented 3 years ago

Nevermind. Found it: https://github.com/unoplatform/uno.xamarin.essentials

GitHub
unoplatform/uno.xamarin.essentials
Essential cross platform APIs for your Xamarin, Desktop and WebAssembly Apps - unoplatform/uno.xamarin.essentials
MartinZikmund commented 3 years ago

@baskren Ideally, if you can implement a feature directly in Uno (so that the Uno.Xamarin.Essentials feature lights up through the UWP API), that is preferred :-) .

baskren commented 3 years ago

@MartinZikmund - Thanks for the suggestion. Strategically, I 100% agree. Tactically, for the functionality in which I'm most interested, I've looked at both approaches and, after a lot of careful consideration, think it might be much less resistance (and safer for everyone) for me to first work within the much smaller scope of Essentials to get the function I need. Once I have it working and have come further along the Uno learning curve, I might have enough there to make a contribution to Uno.UI.