Commit a19c06e8 authored by Javokhir's avatar Javokhir
Browse files

1.0.6 version

parent b8ca6ab3
## 1.0.6
* Upgrade Android SDK to 2.2.3.
* Upgrade iOS SDK to 2.2.1.
## 1.0.5 ## 1.0.5
* Update README.md * Update README.md
......
...@@ -9,9 +9,9 @@ MyID SDK flutter plugin. ...@@ -9,9 +9,9 @@ MyID SDK flutter plugin.
- [SDK error codes](#sdk-error-codes) - [SDK error codes](#sdk-error-codes)
- [Theme](#theme) - [Theme](#theme)
Android SDK: `2.2.1` Android SDK: `2.2.3`
iOS SDK: `2.2.0` iOS SDK: `2.2.1`
## Project adjustments ## Project adjustments
...@@ -46,7 +46,7 @@ Add descriptions for camera permission to `ios/YourProjectName/Info.plist`: ...@@ -46,7 +46,7 @@ Add descriptions for camera permission to `ios/YourProjectName/Info.plist`:
clientId: clientId, clientId: clientId,
passportData: 'AB1234567', passportData: 'AB1234567',
dateOfBirth: '01.09.1991', dateOfBirth: '01.09.1991',
buildMode: MyIdBuildMode.DEBUG buildMode: MyIdBuildMode.PRODUCTION
), ),
iosAppearance: MyIdIOSAppearance(), iosAppearance: MyIdIOSAppearance(),
); );
...@@ -98,7 +98,7 @@ and **[ELLIPSE](images/screen04.jpg)** types. ...@@ -98,7 +98,7 @@ and **[ELLIPSE](images/screen04.jpg)** types.
## Theme ## Theme
For [**Android**](https://gitlab.aigroup.uz/myid-public-code/myid-sample-android/-/blob/2.1.7/CUSTOMIZATION.md#ui-customization) For [**Android**](https://gitlab.myid.uz/myid-public-code/myid-sample-android/-/blob/master/CUSTOMIZATION.md)
For **iOS** theme config use `MyIdIOSAppearance` class and its properties. For **iOS** theme config use `MyIdIOSAppearance` class and its properties.
......
group "uz.aigroup.myid" group "uz.aigroup.myid"
version "1.0.5" version "1.0.6"
buildscript { buildscript {
ext.kotlin_version = "1.7.21" ext.kotlin_version = "1.7.21"
...@@ -27,6 +27,7 @@ apply plugin: "com.android.library" ...@@ -27,6 +27,7 @@ apply plugin: "com.android.library"
apply plugin: "kotlin-android" apply plugin: "kotlin-android"
android { android {
namespace "uz.aigroup.myid"
compileSdk 33 compileSdk 33
compileOptions { compileOptions {
...@@ -48,5 +49,5 @@ android { ...@@ -48,5 +49,5 @@ android {
} }
dependencies { dependencies {
implementation("uz.myid.sdk.capture:myid-capture-sdk:2.2.1") implementation("uz.myid.sdk.capture:myid-capture-sdk:2.2.3")
} }
\ No newline at end of file
<manifest package="uz.aigroup.myid" /> <manifest />
\ No newline at end of file \ No newline at end of file
...@@ -88,8 +88,8 @@ class MyIdSdk( ...@@ -88,8 +88,8 @@ class MyIdSdk(
else -> MyIdResidentType.RESIDENT else -> MyIdResidentType.RESIDENT
} }
locale = when (config.fetch("locale").uppercase()) { locale = when (config.fetch("locale").uppercase()) {
"ENG" -> Locale("en") "ENGLISH" -> Locale("en")
"RUS" -> Locale("ru") "RUSSIAN" -> Locale("ru")
else -> Locale("uz") else -> Locale("uz")
} }
cameraShape = when (config.fetch("cameraShape").uppercase()) { cameraShape = when (config.fetch("cameraShape").uppercase()) {
......
<vector xmlns:android="http://schemas.android.com/apk/res/android"
android:width="134dp"
android:height="28dp"
android:viewportWidth="115.19"
android:viewportHeight="24.1">
<path
android:fillAlpha="0.71"
android:fillColor="#3e40a4"
android:pathData="M87.72,16.45a4.24,4.24 0,0 1,6 -6l6.42,6.42a4.24,4.24 0,1 1,-6 6Z"
android:strokeAlpha="0.71" />
<path
android:fillAlpha="0.71"
android:fillColor="#c073cd"
android:pathData="M94.14,4.03a4.24,4.24 0,0 1,6 6l-6.42,6.42a4.24,4.24 0,0 1,-6 -6Z"
android:strokeAlpha="0.71" />
<path
android:fillAlpha="0.71"
android:fillColor="#3169b2"
android:pathData="M39.73,10.93a4.23,4.23 0,0 1,-6 5.96l-5.06,-5.08a4.23,4.23 0,1 1,6 -5.96Z"
android:strokeAlpha="0.71" />
<path
android:fillAlpha="0.71"
android:fillColor="#4654b0"
android:pathData="M45.53,11.1a4.24,4.24 0,0 1,6 -6l5.84,5.84a4.24,4.24 0,0 1,-6 6Z"
android:strokeAlpha="0.71" />
<path
android:fillAlpha="0.71"
android:fillColor="#ca6b4f"
android:pathData="M57.37,16.94a4.24,4.24 0,0 1,-6 -6l5.69,-5.69a4.24,4.24 0,0 1,6 6Z"
android:strokeAlpha="0.71" />
<path
android:fillAlpha="0.71"
android:fillColor="#28988b"
android:pathData="M51.37,10.95a4.24,4.24 0,0 1,6 6l-5.11,5.11a4.24,4.24 0,0 1,-6 -6Z"
android:strokeAlpha="0.71" />
<path
android:fillAlpha="0.71"
android:fillColor="#1c1f89"
android:pathData="M72.57,9.36a4.24,4.24 0,0 1,6 6l-6.8,6.8a4.24,4.24 0,0 1,-6 -6Z"
android:strokeAlpha="0.71" />
<path
android:fillAlpha="0.71"
android:fillColor="#fc724f"
android:pathData="M66.67,15.28a4.23,4.23 0,1 1,5.96 6l-0.88,0.88a4.23,4.23 0,0 1,-5.96 -6Z"
android:strokeAlpha="0.71" />
<path
android:fillAlpha="0.71"
android:fillColor="#d27081"
android:pathData="M100.56,10.45a4.24,4.24 0,0 1,6 6l-6.42,6.42a4.24,4.24 0,0 1,-6 -6Z"
android:strokeAlpha="0.71" />
<path
android:fillAlpha="0.71"
android:fillColor="#5e9b65"
android:pathData="M7.23,21.91a4.23,4.23 0,0 1,-6 -5.96l10.08,-10.1a4.23,4.23 0,1 1,6 5.96Z"
android:strokeAlpha="0.71" />
<path
android:fillAlpha="0.71"
android:fillColor="#a4d74c"
android:pathData="M106.56,10.45a4.24,4.24 0,1 1,-6 6l-6.42,-6.42a4.24,4.24 0,0 1,6 -6Z"
android:strokeAlpha="0.71" />
<path
android:fillAlpha="0.71"
android:fillColor="#3169b2"
android:pathData="M25.99,20.51a4.23,4.23 0,1 1,-6 -5.96l8.68,-8.7a4.23,4.23 0,1 1,6 5.96Z"
android:strokeAlpha="0.71" />
<path
android:fillAlpha="0.71"
android:fillColor="#71d1d8"
android:pathData="M25.98,14.55a4.23,4.23 0,1 1,-6 5.96l-8.68,-8.7a4.23,4.23 0,1 1,6 -5.96Z"
android:strokeAlpha="0.71" />
<path
android:fillAlpha="0.71"
android:fillColor="#5e85c8"
android:pathData="M100.14,22.86a4.24,4.24 0,0 1,-6 -6l13.8,-13.81a4.24,4.24 0,0 1,6 6Z"
android:strokeAlpha="0.71" />
<path
android:fillAlpha="0.71"
android:fillColor="#a40e8f"
android:pathData="M82.53,5.42a1.05,1.05 0,0 0,1.45 0l0,0 0,0 0.02,-0.02a1.03,1.03 0,0 0,0.3 -0.73h0.01a1.04,1.04 0,0 0,-0.3 -0.73l0,0a1.05,1.05 0,0 0,-1.46 0l-0.02,0.02 0,0 -0.05,0.05a1.06,1.06 0,0 0,0.05 1.41l0,0 0,0ZM83.25,9.36a4.66,4.66 0,0 1,-3.3 -1.37l0,0 0,0a4.66,4.66 0,0 1,-0.12 -6.47c0.04,-0.04 0.08,-0.09 0.12,-0.13l0,0 0.03,-0.03a4.67,4.67 0,0 1,6.6 0l0,0 0,0a4.65,4.65 0,0 1,1.36 3.29h0.01a4.66,4.66 0,0 1,-1.37 3.3l-0.02,0.02 0,0A4.66,4.66 0,0 1,83.25 9.36Z"
android:strokeAlpha="0.71" />
</vector>
<?xml version="1.0" encoding="utf-8" standalone="no"?>
<resources>
<color name="myidColorError">#FF5722</color>
<color name="myidColorPrimary">#4CAF50</color>
<color name="myidColorSecondary">#00BCD4</color>
<color name="myidPrimaryButtonColor">#4CAF50</color>
<color name="myidPrimaryButtonColorDisabled">#1A000000</color>
<color name="myidPrimaryButtonTextColor">#FFFFFF</color>
<color name="myidPrimaryButtonTextColorDisabled">#59000000</color>
</resources>
<?xml version="1.0" encoding="utf-8"?>
<resources>
<dimen name="myidButtonCornerRadius">16dp</dimen>
</resources>
\ No newline at end of file
...@@ -6,7 +6,7 @@ buildscript { ...@@ -6,7 +6,7 @@ buildscript {
} }
dependencies { dependencies {
classpath "com.android.tools.build:gradle:7.1.2" classpath "com.android.tools.build:gradle:7.1.3"
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version" classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
} }
} }
......
org.gradle.jvmargs=-Xmx1536M org.gradle.jvmargs=-Xmx2048M
android.useAndroidX=true android.useAndroidX=true
android.enableJetifier=true android.enableJetifier=true
PODS:
- Flutter (1.0.0)
- myid (0.0.1):
- Flutter
- MyIdSDK
- MyIdSDK (1.0.1)
DEPENDENCIES:
- Flutter (from `Flutter`)
- myid (from `.symlinks/plugins/myid/ios`)
SPEC REPOS:
trunk:
- MyIdSDK
EXTERNAL SOURCES:
Flutter:
:path: Flutter
myid:
:path: ".symlinks/plugins/myid/ios"
SPEC CHECKSUMS:
Flutter: f04841e97a9d0b0a8025694d0796dd46242b2854
myid: 2995e101a0619a3b1908bc716885efed06356438
MyIdSDK: cd53b0d801171ec2a83935b70fd703a456619d90
PODFILE CHECKSUM: d2d0c48e19fdb89c13a2d43d11ebe4fb7ac441eb
COCOAPODS: 1.12.1
...@@ -31,9 +31,7 @@ class _MyAppState extends State<MyApp> { ...@@ -31,9 +31,7 @@ class _MyAppState extends State<MyApp> {
config: MyIdConfig( config: MyIdConfig(
// PROVIDE CLIENT_ID YOU'VE GOT FROM YOUR BACKEND // PROVIDE CLIENT_ID YOU'VE GOT FROM YOUR BACKEND
clientId: clientId, clientId: clientId,
passportData: 'AB1234567', buildMode: MyIdBuildMode.PRODUCTION,
dateOfBirth: '01.09.1991',
buildMode: MyIdBuildMode.DEBUG
) )
); );
......
...@@ -121,7 +121,7 @@ packages: ...@@ -121,7 +121,7 @@ packages:
path: ".." path: ".."
relative: true relative: true
source: path source: path
version: "1.0.5" version: "1.0.6"
path: path:
dependency: transitive dependency: transitive
description: description:
......
...@@ -131,9 +131,9 @@ public func buildMyIdConfig( ...@@ -131,9 +131,9 @@ public func buildMyIdConfig(
let localeKey = config["locale"] as? String ?? "" let localeKey = config["locale"] as? String ?? ""
var locale = MyIdLocale.UZ var locale = MyIdLocale.UZ
if (localeKey == "RUS") { if (localeKey == "RUSSIAN") {
locale = MyIdLocale.UZ locale = MyIdLocale.UZ
} else if (localeKey == "ENG") { } else if (localeKey == "ENGLISH") {
locale = MyIdLocale.EN locale = MyIdLocale.EN
} }
......
...@@ -4,14 +4,14 @@ ...@@ -4,14 +4,14 @@
# #
Pod::Spec.new do |s| Pod::Spec.new do |s|
s.name = 'myid' s.name = 'myid'
s.version = '0.0.1' s.version = '1.0.6'
s.summary = 'A new Flutter plugin.' s.summary = 'MyID flutter plugin.'
s.description = <<-DESC s.description = <<-DESC
A new Flutter plugin. A new Flutter plugin.
DESC DESC
s.homepage = 'https://pub.dev/packages/myid' s.homepage = 'https://pub.dev/packages/myid'
s.license = { :file => '../LICENSE' } s.license = { :file => '../LICENSE' }
s.author = { 'Your Company' => 'email@example.com' } s.author = { 'MyID' => 'https://myid.uz/' }
s.source = { :path => '.' } s.source = { :path => '.' }
s.source_files = 'Classes/**/*' s.source_files = 'Classes/**/*'
s.dependency 'Flutter' s.dependency 'Flutter'
......
...@@ -128,9 +128,9 @@ const _$MyIdResidentTypeEnumMap = { ...@@ -128,9 +128,9 @@ const _$MyIdResidentTypeEnumMap = {
}; };
const _$MyIdLocaleEnumMap = { const _$MyIdLocaleEnumMap = {
MyIdLocale.UZBEK: 'UZB', MyIdLocale.UZBEK: 'UZBEK',
MyIdLocale.ENGLISH: 'ENG', MyIdLocale.ENGLISH: 'ENGLISH',
MyIdLocale.RUSSIAN: 'RUS', MyIdLocale.RUSSIAN: 'RUSSIAN',
}; };
const _$MyIdCameraShapeEnumMap = { const _$MyIdCameraShapeEnumMap = {
......
name: myid name: myid
description: MyID SDK plugin for Flutter. Package supports iOS and Android to verify users identity. description: MyID SDK plugin for Flutter. Package supports iOS and Android to verify users identity.
version: 1.0.5 version: 1.0.6
homepage: https://pub.dev/packages/myid homepage: https://pub.dev/packages/myid
repository: https://pub.dev/packages/myid repository: https://pub.dev/packages/myid
issue_tracker: https://gitlab.aigroup.uz/myid-public-code/myid-sample-flutter/-/issues issue_tracker: https://gitlab.aigroup.uz/myid-public-code/myid-sample-flutter/-/issues
environment: environment:
sdk: ">=2.17.6 <3.0.0" sdk: ">=2.17.6 <4.0.0"
flutter: ">=2.5.0" flutter: ">=2.5.0"
dependencies: dependencies:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment