Invoke Platform Code
Invoking platform code is only supported on Wisej.NET Hybrid Local Applications.
In situations where Wisej.NET Hybrid doesn't provide any APIs for accessing specific platform APIs, you can write your own code to access the required platform APIs. This requires knowledge of Apple's iOS and MacCatalyst APIs, Google's Android APIs, and Microsoft's Windows App SDK APIs.
Platform code can be invoked from cross-platform code by using conditional compilation, or by using partial classes and partial methods.
Example Project
Examples
Registering for remote notifications on iOS:
Determining what type of biometrics are supported on the device:
You must also add the NSFaceIDUsageDescription key to the Info.plist file to use biometrics.
Further Reading
Last updated