Skip to content

Customizing the Native SDKs

The .NET MAUI integration wraps the native Android and iOS eMRTD Connector SDKs. If you need to modify the behavior of either underlying SDK, follow the steps below for the platform you're targeting and then rebuild the MAUI app against the updated binaries.

Customizing the eMRTD Android Connector SDK

  1. Clone emrtd-connector-sdk-android
  2. Open the project in Android Studio
  3. Apply your changes to the SDK library
  4. Copy emrtd-connector-sdk-android/kinegram-emrtd-connector/build/outputs/aar to kinegram-emrtd-connector-maui/kinegram-emrtd-connector-maui-android/libs and recompile the MAUI app.

Customizing the eMRTD iOS Connector SDK

  1. Clone emrtd-connector-sdk-ios
  2. Open the project in XCode
  3. Apply your changes to the SDK library
  4. Copy emrtd-connector-sdk-ios/ObjCFramework/Distribution/KinegramEmrtdConnectorObjC.xcframework to kinegram-emrtd-connector-maui/kinegram-emrtd-connector-maui-ios/Native
  5. Make sure you adjust ApiDefinitions.cs and StructsAndEnums.cs in kinegram-emrtd-connector-maui/kinegram-emrtd-connector-maui-ios if you made modifications to the respective calls