When it comes to swift app development, choosing between a Mobile SDK and cross-platform plugins can be a daunting task. If you're looking to integrate Anyline's mobile document scanning capabilities into your Android or iOS app, you'll need to decide which approach is best for your project.

If you're developing natively on either platform using languages like Java/Kotlin for Android or Objective-C/Swift for iOS, you can use the Mobile SDKs provided by Anyline. These SDKs are functionally identical to each other, with the only difference being the language used (C# for .NET). This means that if your app is built on .NET, you can use a language-translated Mobile SDK that's designed specifically for that framework.

On the other hand, if your project is based on a cross-platform framework like Flutter, Cordova, or React Native, you'll want to consider using Anyline's plugins for those platforms. These plugins are pre-built and allow you to integrate scanning capabilities into your app without having to worry about platform-specific development.

The Benefits of Mobile SDKs

When you use the Mobile SDKs directly, you gain full control over the flexibility and customization of the UI and user experience. This means that you can tailor the scanning process to your specific needs, including continuous scanning with custom stop conditions. For example, you might want to allow users to seamlessly scan both sides of an ID card or continuously scan barcodes and integrate processing results with app logic.

The Advantages of Cross-Platform Plugins

Using Anyline's cross-platform plugins, on the other hand, allows you to integrate pre-built use cases into your Flutter-, Cordova-, or React Native-based project. These plugins are designed to be easy to use and require minimal knowledge of platform-specific development. You can configure and customize the scanning flow using the ScanViewConfig JSON, which means that you don't have to worry about adapting platform-native code.

Choosing Between Mobile SDKs and Cross-Platform Plugins

So how do you decide between using a Mobile SDK and a cross-platform plugin? Here are some key considerations:

  • If your use case is covered by the plugin-provided use cases, choose the plugin.
  • If you need a highly tailored scanning experience and full control over scanning behavior, choose the Mobile SDK.
  • If you don't have strict requirements for continuous scanning or deep customization, the plugin might be the way to go.
  • If you require continuous scanning, the Mobile SDK is your best bet.

Comparison of Mobile SDKs and Cross-Platform Plugins

Here's a comparison of the two approaches:

| Feature | Mobile SDK (Direct Integration) | Plugin (Cross-Platform) |

| --- | --- | --- |

| Availability | Android (native), iOS (native), .NET Android, .NET iOS | Flutter (Android & iOS), Cordova (Android & iOS), React Native (Android & iOS) |

| Customization | High | Moderate |

| Continuous Scanning | Yes | Not available currently |

| Integration Effort | Moderate | Low |

Get Help

Finally, if you have any questions or need help with your Anyline integration, don't hesitate to reach out. You can find helpful information in our Knowledge Base or open a Support Ticket for more specific inquiries. To better assist you, please include any code of your Anyline integration and any ScanViewConfig you are using.