We followed different approaches:
# Adding an `Init` method to the platform specific service implementation. Inside the `Init` method we call `MobileCore.Instance.RegisterService` to register the service itself. aaa This method works pretty well. The only drawback is that the user must initialize both the core and all the services he plans to use # The MobileCore receives an instance of the Assembly of the running platform app. We tried to search inside the assembly for all the classes implementing the `IServiceModule` interface. This didn't work since the assembly will return only the classes inside the platform application project and not the classes inside its dependencies |
|