问题
I'm thinking about a new mobile/tablet application.
I want to allow the users to develop their own plugins.
Imagine a cash desk application running on a Android tablet. The user could use many alternative when connecting to the credit card reader (Square, Sum'Up, ...).
If my application was an old Win32, I would just publish an API and let Square or Sum'Up developpers create a DLL. This DLL would then be placed somewhere on the computer. At application startup, I just have to look for those DLL and dynamically load them.
In fact, the real question is : Is it possible to create a plugin based application ? I'm thinking about Managed Extensibility Framework here. Many questions come to mind :
- How to deploy those plugins ?
- Does this work for all the platforms (iOS, Android, UWP) ?
- ...
I was unable to find any documentation on this.
Many thanks for your thoughts and indications.
来源:https://stackoverflow.com/questions/41216347/xamarin-and-managed-extensibility-framework-mef