Daddoon / BlazorMobile

Create full C# driven hybrid-apps for iOS, Android, UWP & Desktop with Blazor!
MIT License
413 stars 55 forks source link

Embedding standardized BlazorMobile API in Blazor app for remote native functionnalities #143

Closed Daddoon closed 4 years ago

Daddoon commented 4 years ago

Embedding some standardized BlazorMobile API in Blazor app for some native functionnalities.

The main idea of this task is mainly to support more extended scenario if using BlazorMobile package remotly as app update, loaded in the background.

While it is possible out of the box, if there is any update related to the native side that require a core update of the Xamarin layers, a full mobile app update would be required if the user requirement need more native layers.

By adding some abstract layer on the BlazorMobile.Web side, we should be able to query some standardized native functionnalities, and control them through the Blazor sandbox, therefore, allowing to transfert some hard-requirement to the Blazor side wich is more flexible (as updatable remotely).

Daddoon commented 4 years ago

In the end, i choose to not implement this functionnality, as this would be eventually a security breach (if used with malicious script) and also does not match Apple security requirement if an app go through AppStore with this kind of logic.

Closing.