Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
MYID Public Code
MyID Flutter SDK
Commits
b8ca6ab3
Commit
b8ca6ab3
authored
Jul 24, 2023
by
Javohir Savriy
Browse files
Updated
parent
a43c9a04
Changes
11
Show whitespace changes
Inline
Side-by-side
android/src/main/kotlin/uz/aigroup/myid/MyIdPlugin.kt
View file @
b8ca6ab3
...
...
@@ -68,7 +68,6 @@ class MyIdPlugin : FlutterPlugin, MethodCallHandler, ActivityAware {
}
override
fun
onReattachedToActivityForConfigChanges
(
binding
:
ActivityPluginBinding
)
{
onReattachedToActivityForConfigChanges
(
binding
)
}
override
fun
onAttachedToActivity
(
binding
:
ActivityPluginBinding
)
{
...
...
@@ -78,6 +77,5 @@ class MyIdPlugin : FlutterPlugin, MethodCallHandler, ActivityAware {
}
override
fun
onDetachedFromActivityForConfigChanges
()
{
onDetachedFromActivityForConfigChanges
()
}
}
example/ios/Flutter/AppFrameworkInfo.plist
View file @
b8ca6ab3
...
...
@@ -21,6 +21,6 @@
<key>
CFBundleVersion
</key>
<string>
1.0
</string>
<key>
MinimumOSVersion
</key>
<string>
9
.0
</string>
<string>
11
.0
</string>
</dict>
</plist>
example/ios/Podfile
View file @
b8ca6ab3
# Uncomment this line to define a global platform for your project
# platform :ios, '11.0'
platform
:ios
,
'11.0'
# CocoaPods analytics sends network stats synchronously affecting flutter build latency.
ENV
[
'COCOAPODS_DISABLE_STATS'
]
=
'true'
...
...
@@ -39,6 +38,4 @@ post_install do |installer|
flutter_additional_ios_build_settings
(
target
)
end
pod
'MyIdSDK'
,
'1.0.0'
end
example/ios/Podfile.lock
View file @
b8ca6ab3
...
...
@@ -2,13 +2,12 @@ PODS:
- Flutter (1.0.0)
- myid (0.0.1):
- Flutter
- MyIdSDK
(= 1.0.0)
- MyIdSDK (1.0.
0
)
- MyIdSDK
- MyIdSDK (1.0.
1
)
DEPENDENCIES:
- Flutter (from `Flutter`)
- myid (from `.symlinks/plugins/myid/ios`)
- MyIdSDK (= 1.0.0)
SPEC REPOS:
trunk:
...
...
@@ -21,10 +20,10 @@ EXTERNAL SOURCES:
:path: ".symlinks/plugins/myid/ios"
SPEC CHECKSUMS:
Flutter:
50d75fe2f02b26cc09d224853bb45737f8b3214a
myid:
dad8c164c1c494d929d4d531ce2cd11e9b7edab
8
MyIdSDK:
29cd1921ffc786e0eaf8b1255fbd169ee3d39e43
Flutter:
f04841e97a9d0b0a8025694d0796dd46242b2854
myid:
2995e101a0619a3b1908bc716885efed0635643
8
MyIdSDK:
cd53b0d801171ec2a83935b70fd703a456619d90
PODFILE CHECKSUM:
e0346fd7a57131bd5e418bbb0afb52ec251fd30c
PODFILE CHECKSUM:
d2d0c48e19fdb89c13a2d43d11ebe4fb7ac441eb
COCOAPODS: 1.12.1
example/ios/Runner.xcodeproj/project.pbxproj
View file @
b8ca6ab3
...
...
@@ -3,15 +3,13 @@
archiveVersion
=
1
;
classes
=
{
};
objectVersion
=
5
1
;
objectVersion
=
5
4
;
objects
=
{
/* Begin PBXBuildFile section */
1498D2341E8E89220040F4C2
/* GeneratedPluginRegistrant.m in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
1498D2331E8E89220040F4C2
/* GeneratedPluginRegistrant.m */
;
};
3B3967161E833CAA004F5970
/* AppFrameworkInfo.plist in Resources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
3B3967151E833CAA004F5970
/* AppFrameworkInfo.plist */
;
};
74858FAF1ED2DC5600515810
/* AppDelegate.swift in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
74858FAE1ED2DC5600515810
/* AppDelegate.swift */
;
};
7E30F6CA2A6E3CBB00E48A45
/* Response.swift in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
7E30F6C92A6E3CBB00E48A45
/* Response.swift */
;
};
7E30F6CC2A6E3CC800E48A45
/* MyIdSdk.swift in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
7E30F6CB2A6E3CC800E48A45
/* MyIdSdk.swift */
;
};
97C146FC1CF9000F007C117D
/* Main.storyboard in Resources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
97C146FA1CF9000F007C117D
/* Main.storyboard */
;
};
97C146FE1CF9000F007C117D
/* Assets.xcassets in Resources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
97C146FD1CF9000F007C117D
/* Assets.xcassets */
;
};
97C147011CF9000F007C117D
/* LaunchScreen.storyboard in Resources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
97C146FF1CF9000F007C117D
/* LaunchScreen.storyboard */
;
};
...
...
@@ -40,8 +38,6 @@
74858FAD1ED2DC5600515810
/* Runner-Bridging-Header.h */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
sourcecode.c.h
;
path
=
"Runner-Bridging-Header.h"
;
sourceTree
=
"<group>"
;
};
74858FAE1ED2DC5600515810
/* AppDelegate.swift */
=
{
isa
=
PBXFileReference
;
fileEncoding
=
4
;
lastKnownFileType
=
sourcecode.swift
;
path
=
AppDelegate.swift
;
sourceTree
=
"<group>"
;
};
7AFA3C8E1D35360C0083082E
/* Release.xcconfig */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
text.xcconfig
;
name
=
Release.xcconfig
;
path
=
Flutter/Release.xcconfig
;
sourceTree
=
"<group>"
;
};
7E30F6C92A6E3CBB00E48A45
/* Response.swift */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
sourcecode.swift
;
path
=
Response.swift
;
sourceTree
=
"<group>"
;
};
7E30F6CB2A6E3CC800E48A45
/* MyIdSdk.swift */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
sourcecode.swift
;
path
=
MyIdSdk.swift
;
sourceTree
=
"<group>"
;
};
9740EEB21CF90195004384FC
/* Debug.xcconfig */
=
{
isa
=
PBXFileReference
;
fileEncoding
=
4
;
lastKnownFileType
=
text.xcconfig
;
name
=
Debug.xcconfig
;
path
=
Flutter/Debug.xcconfig
;
sourceTree
=
"<group>"
;
};
9740EEB31CF90195004384FC
/* Generated.xcconfig */
=
{
isa
=
PBXFileReference
;
fileEncoding
=
4
;
lastKnownFileType
=
text.xcconfig
;
name
=
Generated.xcconfig
;
path
=
Flutter/Generated.xcconfig
;
sourceTree
=
"<group>"
;
};
977957A71A7809B128CED6E9
/* Pods_Runner.framework */
=
{
isa
=
PBXFileReference
;
explicitFileType
=
wrapper.framework
;
includeInIndex
=
0
;
path
=
Pods_Runner.framework
;
sourceTree
=
BUILT_PRODUCTS_DIR
;
};
...
...
@@ -114,8 +110,6 @@
1498D2331E8E89220040F4C2
/* GeneratedPluginRegistrant.m */
,
74858FAE1ED2DC5600515810
/* AppDelegate.swift */
,
74858FAD1ED2DC5600515810
/* Runner-Bridging-Header.h */
,
7E30F6C92A6E3CBB00E48A45
/* Response.swift */
,
7E30F6CB2A6E3CC800E48A45
/* MyIdSdk.swift */
,
);
path
=
Runner
;
sourceTree
=
"<group>"
;
...
...
@@ -227,7 +221,7 @@
};
3B06AD1E1E4923F5004D2608
/* Thin Binary */
=
{
isa
=
PBXShellScriptBuildPhase
;
buildActionMask
=
2
147483647
;
buildActionMask
=
1
2
;
files
=
(
);
inputPaths
=
(
...
...
@@ -237,11 +231,11 @@
);
runOnlyForDeploymentPostprocessing
=
0
;
shellPath
=
/bin/sh
;
shellScript
=
"/bin/sh \"$FLUTTER_ROOT/packages/flutter_tools/bin/xcode_backend.sh\" embed_and_thin"
;
shellScript
=
"/bin/sh \"$FLUTTER_ROOT/packages/flutter_tools/bin/xcode_backend.sh\" embed_and_thin
\n
"
;
};
9740EEB61CF901F6004384FC
/* Run Script */
=
{
isa
=
PBXShellScriptBuildPhase
;
buildActionMask
=
2
147483647
;
buildActionMask
=
1
2
;
files
=
(
);
inputPaths
=
(
...
...
@@ -251,7 +245,7 @@
);
runOnlyForDeploymentPostprocessing
=
0
;
shellPath
=
/bin/sh
;
shellScript
=
"/bin/sh \"$FLUTTER_ROOT/packages/flutter_tools/bin/xcode_backend.sh\" build"
;
shellScript
=
"/bin/sh \"$FLUTTER_ROOT/packages/flutter_tools/bin/xcode_backend.sh\" build
\n
"
;
};
ABE00AF80C493E77B69E1A68
/* [CP] Embed Pods Frameworks */
=
{
isa
=
PBXShellScriptBuildPhase
;
...
...
@@ -278,8 +272,6 @@
buildActionMask
=
2147483647
;
files
=
(
74858FAF1ED2DC5600515810
/* AppDelegate.swift in Sources */
,
7E30F6CC2A6E3CC800E48A45
/* MyIdSdk.swift in Sources */
,
7E30F6CA2A6E3CBB00E48A45
/* Response.swift in Sources */
,
1498D2341E8E89220040F4C2
/* GeneratedPluginRegistrant.m in Sources */
,
);
runOnlyForDeploymentPostprocessing
=
0
;
...
...
example/ios/Runner/Info.plist
View file @
b8ca6ab3
...
...
@@ -44,5 +44,7 @@
</array>
<key>
UIViewControllerBasedStatusBarAppearance
</key>
<false/>
<key>
UIApplicationSupportsIndirectInputEvents
</key>
<true/>
</dict>
</plist>
example/ios/Runner/MyIdSdk.swift
deleted
100644 → 0
View file @
a43c9a04
//
// MyIdSdk.swift
// Runner
//
// Created by Javokhir Savriev on 24/07/23.
//
import
Foundation
example/ios/Runner/Response.swift
deleted
100644 → 0
View file @
a43c9a04
//
// Response.swift
// Runner
//
// Created by Javokhir Savriev on 24/07/23.
//
import
Foundation
example/pubspec.lock
View file @
b8ca6ab3
...
...
@@ -5,58 +5,58 @@ packages:
dependency: transitive
description:
name: async
url: "https://pub.dartlang.org"
sha256: "947bfcf187f74dbc5e146c9eb9c0f10c9f8b30743e341481c1e2ed3ecc18c20c"
url: "https://pub.dev"
source: hosted
version: "2.
8.2
"
version: "2.
11.0
"
boolean_selector:
dependency: transitive
description:
name: boolean_selector
url: "https://pub.dartlang.org"
sha256: "6cfb5af12253eaf2b368f07bacc5a80d1301a071c73360d746b7f2e32d762c66"
url: "https://pub.dev"
source: hosted
version: "2.1.
0
"
version: "2.1.
1
"
characters:
dependency: transitive
description:
name: characters
url: "https://pub.dartlang.org"
sha256: "04a925763edad70e8443c99234dc3328f442e811f1d8fd1a72f1c8ad0f69a605"
url: "https://pub.dev"
source: hosted
version: "1.2.0"
charcode:
dependency: transitive
description:
name: charcode
url: "https://pub.dartlang.org"
source: hosted
version: "1.3.1"
version: "1.3.0"
clock:
dependency: transitive
description:
name: clock
url: "https://pub.dartlang.org"
sha256: cb6d7f03e1de671e34607e909a7213e31d7752be4fb66a86d29fe1eb14bfb5cf
url: "https://pub.dev"
source: hosted
version: "1.1.
0
"
version: "1.1.
1
"
collection:
dependency: transitive
description:
name: collection
url: "https://pub.dartlang.org"
sha256: "4a07be6cb69c84d677a6c3096fcf960cc3285a8330b4603e0d463d15d9bd934c"
url: "https://pub.dev"
source: hosted
version: "1.1
6.0
"
version: "1.1
7.1
"
cupertino_icons:
dependency: "direct main"
description:
name: cupertino_icons
url: "https://pub.dartlang.org"
sha256: e35129dc44c9118cee2a5603506d823bab99c68393879edb440e0090d07586be
url: "https://pub.dev"
source: hosted
version: "1.0.5"
fake_async:
dependency: transitive
description:
name: fake_async
url: "https://pub.dartlang.org"
sha256: "511392330127add0b769b75a987850d136345d9227c6b94c96a04cf4a391bf78"
url: "https://pub.dev"
source: hosted
version: "1.3.
0
"
version: "1.3.
1
"
flutter:
dependency: "direct main"
description: flutter
...
...
@@ -66,42 +66,55 @@ packages:
dependency: "direct dev"
description:
name: flutter_lints
url: "https://pub.dartlang.org"
sha256: "2118df84ef0c3ca93f96123a616ae8540879991b8b57af2f81b76a7ada49b2a4"
url: "https://pub.dev"
source: hosted
version: "2.0.
1
"
version: "2.0.
2
"
flutter_test:
dependency: "direct dev"
description: flutter
source: sdk
version: "0.0.0"
js:
dependency: transitive
description:
name: js
sha256: f2c445dce49627136094980615a031419f7f3eb393237e4ecd97ac15dea343f3
url: "https://pub.dev"
source: hosted
version: "0.6.7"
lints:
dependency: transitive
description:
name: lints
url: "https://pub.dartlang.org"
sha256: "0a217c6c989d21039f1498c3ed9f3ed71b354e69873f13a8dfc3c9fe76f1b452"
url: "https://pub.dev"
source: hosted
version: "2.
0
.1"
version: "2.
1
.1"
matcher:
dependency: transitive
description:
name: matcher
url: "https://pub.dartlang.org"
sha256: "6501fbd55da300384b768785b83e5ce66991266cec21af89ab9ae7f5ce1c4cbb"
url: "https://pub.dev"
source: hosted
version: "0.12.1
1
"
version: "0.12.1
5
"
material_color_utilities:
dependency: transitive
description:
name: material_color_utilities
url: "https://pub.dartlang.org"
sha256: d92141dc6fe1dad30722f9aa826c7fbc896d021d792f80678280601aff8cf724
url: "https://pub.dev"
source: hosted
version: "0.
1.4
"
version: "0.
2.0
"
meta:
dependency: transitive
description:
name: meta
url: "https://pub.dartlang.org"
sha256: "3c74dbf8763d36539f114c799d8a2d87343b5067e9d796ca22b5eb8437090ee3"
url: "https://pub.dev"
source: hosted
version: "1.
7.0
"
version: "1.
9.1
"
myid:
dependency: "direct main"
description:
...
...
@@ -113,16 +126,18 @@ packages:
dependency: transitive
description:
name: path
url: "https://pub.dartlang.org"
sha256: "8829d8a55c13fc0e37127c29fedf290c102f4e40ae94ada574091fe0ff96c917"
url: "https://pub.dev"
source: hosted
version: "1.8.
1
"
version: "1.8.
3
"
plugin_platform_interface:
dependency: transitive
description:
name: plugin_platform_interface
url: "https://pub.dartlang.org"
sha256: "43798d895c929056255600343db8f049921cbec94d31ec87f1dc5c16c01935dd"
url: "https://pub.dev"
source: hosted
version: "2.1.
4
"
version: "2.1.
5
"
sky_engine:
dependency: transitive
description: flutter
...
...
@@ -132,51 +147,58 @@ packages:
dependency: transitive
description:
name: source_span
url: "https://pub.dartlang.org"
sha256: dd904f795d4b4f3b870833847c461801f6750a9fa8e61ea5ac53f9422b31f250
url: "https://pub.dev"
source: hosted
version: "1.
8.2
"
version: "1.
9.1
"
stack_trace:
dependency: transitive
description:
name: stack_trace
url: "https://pub.dartlang.org"
sha256: c3c7d8edb15bee7f0f74debd4b9c5f3c2ea86766fe4178eb2a18eb30a0bdaed5
url: "https://pub.dev"
source: hosted
version: "1.1
0
.0"
version: "1.1
1
.0"
stream_channel:
dependency: transitive
description:
name: stream_channel
url: "https://pub.dartlang.org"
sha256: "83615bee9045c1d322bbbd1ba209b7a749c2cbcdcb3fdd1df8eb488b3279c1c8"
url: "https://pub.dev"
source: hosted
version: "2.1.
0
"
version: "2.1.
1
"
string_scanner:
dependency: transitive
description:
name: string_scanner
url: "https://pub.dartlang.org"
sha256: "556692adab6cfa87322a115640c11f13cb77b3f076ddcc5d6ae3c20242bedcde"
url: "https://pub.dev"
source: hosted
version: "1.
1
.0"
version: "1.
2
.0"
term_glyph:
dependency: transitive
description:
name: term_glyph
url: "https://pub.dartlang.org"
sha256: a29248a84fbb7c79282b40b8c72a1209db169a2e0542bce341da992fe1bc7e84
url: "https://pub.dev"
source: hosted
version: "1.2.
0
"
version: "1.2.
1
"
test_api:
dependency: transitive
description:
name: test_api
url: "https://pub.dartlang.org"
sha256: eb6ac1540b26de412b3403a163d919ba86f6a973fe6cc50ae3541b80092fdcfb
url: "https://pub.dev"
source: hosted
version: "0.
4.9
"
version: "0.
5.1
"
vector_math:
dependency: transitive
description:
name: vector_math
url: "https://pub.dartlang.org"
sha256: "80b3257d1492ce4d091729e3a67a60407d227c27241d6927be0130c98e741803"
url: "https://pub.dev"
source: hosted
version: "2.1.
2
"
version: "2.1.
4
"
sdks:
dart: ">=
2.17.6
<
3
.0.0"
dart: ">=
3.0.0
<
4
.0.0"
flutter: ">=2.5.0"
ios/myid.podspec
View file @
b8ca6ab3
...
...
@@ -15,7 +15,7 @@ A new Flutter plugin.
s
.
source
=
{
:path
=>
'.'
}
s
.
source_files
=
'Classes/**/*'
s
.
dependency
'Flutter'
s
.
dependency
'MyId'
s
.
dependency
'MyId
SDK
'
s
.
platform
=
:ios
,
'11.0'
# Flutter.framework does not contain a i386 slice. Only x86_64 simulators are supported.
...
...
pubspec.yaml
View file @
b8ca6ab3
...
...
@@ -3,7 +3,7 @@ description: MyID SDK plugin for Flutter. Package supports iOS and Android to ve
version
:
1.0.5
homepage
:
https://pub.dev/packages/myid
repository
:
https://pub.dev/packages/myid
issue_tracker
:
https://gitlab.
myid
.uz/myid
/mobil
e/myid-sample-flutter/-/issues
issue_tracker
:
https://gitlab.
aigroup
.uz/myid
-public-cod
e/myid-sample-flutter/-/issues
environment
:
sdk
:
"
>=2.17.6
<3.0.0"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment