Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
smadhumv opened this issue Nov 7, 2023 · 0 comments

Comments

@smadhumv
Copy link

smadhumv commented Nov 7, 2023

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant