# seos_mobile_keys_plugin

A Flutter plugin for SeosMobileKeysSDK.

## Getting Started

This project is a starting point for a Flutter
[plug-in package](https://flutter.dev/developing-packages/),
a specialized package that includes platform-specific implementation code for
Android and/or iOS.

For help getting started with Flutter development, view the
[online documentation](https://flutter.dev/docs), which offers tutorials,
samples, guidance on mobile development, and a full API reference.

## Integration
Execute script *pigeon.sh* inside root folder using **./pigeon.sh** command

### iOS
Use from SDK version **7.8.2**

1. Create a directory named **XCFrameworks** in the root directory
2. Place **SeosMobileKeysSDK.xcframework** inside
3. Run **pod install** inside *example/ios* directory
4. Open **Runner.xcworkspace** inside *example/ios* directory
5. Select Project (Runner) -> Target (Runner) -> General
6. Add **SeosMobileKeysSDK.xcframework** under *Frameworks, Libraries, and Embeded Content*
7. Select **Embed & Sign**
8. Select Project (Pods) -> Target (seos_mobile_keys_plugin) -> General
9. Add **SeosMobileKeysSDK.xcframework** under *Frameworks, Libraries, and Embeded Content*
10. Select **Do Not Embed**
11. Select Project (Pods) -> Target (Pods-Runner) -> General
12. Add **SeosMobileKeysSDK.xcframework** under *Frameworks, Libraries, and Embeded Content*
13. Select **Do Not Embed**
14. Build and Run the application

#### Add XCFramework to Flutter iOS Plugin
[Reference](https://stackoverflow.com/a/70210039/618994)

### Android
Use from SDK version **8.0.7**
1. Create a directory named **libs** inside *android*
2. Place **mobilekeys-android-sdk** inside
3. Open **build.gradle** inside *android* directory
4. Configure **mobilekeys-android-sdk** file under **dependencies**
5. Open **build.gradle** inside *example/android* directory
6. Configure **mobilekeys-android-sdk** file under **dependencies**
7. Create **local.properties** file inside *example/android* directory
8. Configure values for *flutter.sdk* and *flutter.minSdkVersion*