Skip to content

.NET MAUI Integration for iPhone - Third party native library class shared instance always null  #15

@smadhumv

Description

@smadhumv

We were trying to use this library to unlock Noke lock from iPhone using .NET MAUI project.
Below steps are completed:

used @objc to all the swift classes and methods
Build the xcode project for iphoneos and iphonesimulator
Used objective sharpie tool to generate ApiDefinition and StructsAndEnums
Used ApiDefinition , StructsAndEnums in xamarin ios binding project along with NokeMobileFramework.framework as native reference, Fixed the compilation error and Build the binding project
Used the generated DLL from binding project.
Issue:
Singleton Shared instance of NokeDeviceManager is null. We may need this instance created to access all Noke Device methods to interact Noke Device.

If someone who had successfully integrated this library in any of the .NET projects Kindly help

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions