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 Sample Android
Commits
7c9fe85b
Commit
7c9fe85b
authored
Jan 30, 2023
by
Javohir Savriy
Browse files
Published 2.1.3 version
parent
cb054ff2
Changes
105
Expand all
Hide whitespace changes
Inline
Side-by-side
flutter-sample/android/settings.gradle
0 → 100644
View file @
7c9fe85b
include
":app"
def
localPropertiesFile
=
new
File
(
rootProject
.
projectDir
,
"local.properties"
)
def
properties
=
new
Properties
()
assert
localPropertiesFile
.
exists
()
localPropertiesFile
.
withReader
(
"UTF-8"
)
{
reader
->
properties
.
load
(
reader
)
}
def
flutterSdkPath
=
properties
.
getProperty
(
"flutter.sdk"
)
assert
flutterSdkPath
!=
null
,
"flutter.sdk not set in local.properties"
apply
from:
"$flutterSdkPath/packages/flutter_tools/gradle/app_plugin_loader.gradle"
flutter-sample/ios/.gitignore
0 → 100644
View file @
7c9fe85b
**/dgph
*.mode1v3
*.mode2v3
*.moved-aside
*.pbxuser
*.perspectivev3
**/*sync/
.sconsign.dblite
.tags*
**/.vagrant/
**/DerivedData/
Icon?
**/Pods/
**/.symlinks/
profile
xcuserdata
**/.generated/
Flutter/App.framework
Flutter/Flutter.framework
Flutter/Flutter.podspec
Flutter/Generated.xcconfig
Flutter/ephemeral/
Flutter/app.flx
Flutter/app.zip
Flutter/flutter_assets/
Flutter/flutter_export_environment.sh
ServiceDefinitions.json
Runner/GeneratedPluginRegistrant.*
# Exceptions to above rules.
!default.mode1v3
!default.mode2v3
!default.pbxuser
!default.perspectivev3
flutter-sample/ios/Flutter/AppFrameworkInfo.plist
0 → 100644
View file @
7c9fe85b
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist
version=
"1.0"
>
<dict>
<key>
CFBundleDevelopmentRegion
</key>
<string>
en
</string>
<key>
CFBundleExecutable
</key>
<string>
App
</string>
<key>
CFBundleIdentifier
</key>
<string>
io.flutter.flutter.app
</string>
<key>
CFBundleInfoDictionaryVersion
</key>
<string>
6.0
</string>
<key>
CFBundleName
</key>
<string>
App
</string>
<key>
CFBundlePackageType
</key>
<string>
FMWK
</string>
<key>
CFBundleShortVersionString
</key>
<string>
1.0
</string>
<key>
CFBundleSignature
</key>
<string>
????
</string>
<key>
CFBundleVersion
</key>
<string>
1.0
</string>
<key>
MinimumOSVersion
</key>
<string>
9.0
</string>
</dict>
</plist>
flutter-sample/ios/Flutter/Debug.xcconfig
0 → 100644
View file @
7c9fe85b
#include? "Pods/Target Support Files/Pods-Runner/Pods-Runner.debug.xcconfig"
#include "Generated.xcconfig"
flutter-sample/ios/Flutter/Release.xcconfig
0 → 100644
View file @
7c9fe85b
#include? "Pods/Target Support Files/Pods-Runner/Pods-Runner.release.xcconfig"
#include "Generated.xcconfig"
flutter-sample/ios/Podfile
0 → 100644
View file @
7c9fe85b
# Uncomment the next line to define a global platform for your project
platform
:ios
,
'10.0'
target
'Runner'
do
# Comment the next line if you don't want to use dynamic frameworks
use_frameworks!
pod
'GoogleMLKit/FaceDetection'
,
'2.6.0'
pod
'GoogleMLKit/TextRecognition'
,
'2.6.0'
pod
'Alamofire'
pod
'MBProgressHUD'
pod
'Sentry'
end
flutter-sample/ios/Runner.xcodeproj/project.pbxproj
0 → 100644
View file @
7c9fe85b
This diff is collapsed.
Click to expand it.
flutter-sample/ios/Runner.xcodeproj/project.xcworkspace/contents.xcworkspacedata
0 → 100644
View file @
7c9fe85b
<?xml version="1.0" encoding="UTF-8"?>
<Workspace
version =
"1.0"
>
<FileRef
location =
"self:"
>
</FileRef>
</Workspace>
flutter-sample/ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist
0 → 100644
View file @
7c9fe85b
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist
version=
"1.0"
>
<dict>
<key>
IDEDidComputeMac32BitWarning
</key>
<true/>
</dict>
</plist>
flutter-sample/ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings
0 → 100644
View file @
7c9fe85b
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist
version=
"1.0"
>
<dict>
<key>
PreviewsEnabled
</key>
<false/>
</dict>
</plist>
flutter-sample/ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme
0 → 100644
View file @
7c9fe85b
<?xml version="1.0" encoding="UTF-8"?>
<Scheme
LastUpgradeVersion =
"1300"
version =
"1.3"
>
<BuildAction
parallelizeBuildables =
"YES"
buildImplicitDependencies =
"YES"
>
<BuildActionEntries>
<BuildActionEntry
buildForTesting =
"YES"
buildForRunning =
"YES"
buildForProfiling =
"YES"
buildForArchiving =
"YES"
buildForAnalyzing =
"YES"
>
<BuildableReference
BuildableIdentifier =
"primary"
BlueprintIdentifier =
"97C146ED1CF9000F007C117D"
BuildableName =
"Runner.app"
BlueprintName =
"Runner"
ReferencedContainer =
"container:Runner.xcodeproj"
>
</BuildableReference>
</BuildActionEntry>
</BuildActionEntries>
</BuildAction>
<TestAction
buildConfiguration =
"Debug"
selectedDebuggerIdentifier =
"Xcode.DebuggerFoundation.Debugger.LLDB"
selectedLauncherIdentifier =
"Xcode.DebuggerFoundation.Launcher.LLDB"
shouldUseLaunchSchemeArgsEnv =
"YES"
>
<MacroExpansion>
<BuildableReference
BuildableIdentifier =
"primary"
BlueprintIdentifier =
"97C146ED1CF9000F007C117D"
BuildableName =
"Runner.app"
BlueprintName =
"Runner"
ReferencedContainer =
"container:Runner.xcodeproj"
>
</BuildableReference>
</MacroExpansion>
<Testables>
</Testables>
</TestAction>
<LaunchAction
buildConfiguration =
"Debug"
selectedDebuggerIdentifier =
"Xcode.DebuggerFoundation.Debugger.LLDB"
selectedLauncherIdentifier =
"Xcode.DebuggerFoundation.Launcher.LLDB"
launchStyle =
"0"
useCustomWorkingDirectory =
"NO"
ignoresPersistentStateOnLaunch =
"NO"
debugDocumentVersioning =
"YES"
debugServiceExtension =
"internal"
allowLocationSimulation =
"YES"
>
<BuildableProductRunnable
runnableDebuggingMode =
"0"
>
<BuildableReference
BuildableIdentifier =
"primary"
BlueprintIdentifier =
"97C146ED1CF9000F007C117D"
BuildableName =
"Runner.app"
BlueprintName =
"Runner"
ReferencedContainer =
"container:Runner.xcodeproj"
>
</BuildableReference>
</BuildableProductRunnable>
</LaunchAction>
<ProfileAction
buildConfiguration =
"Profile"
shouldUseLaunchSchemeArgsEnv =
"YES"
savedToolIdentifier =
""
useCustomWorkingDirectory =
"NO"
debugDocumentVersioning =
"YES"
>
<BuildableProductRunnable
runnableDebuggingMode =
"0"
>
<BuildableReference
BuildableIdentifier =
"primary"
BlueprintIdentifier =
"97C146ED1CF9000F007C117D"
BuildableName =
"Runner.app"
BlueprintName =
"Runner"
ReferencedContainer =
"container:Runner.xcodeproj"
>
</BuildableReference>
</BuildableProductRunnable>
</ProfileAction>
<AnalyzeAction
buildConfiguration =
"Debug"
>
</AnalyzeAction>
<ArchiveAction
buildConfiguration =
"Release"
revealArchiveInOrganizer =
"YES"
>
</ArchiveAction>
</Scheme>
flutter-sample/ios/Runner.xcworkspace/contents.xcworkspacedata
0 → 100644
View file @
7c9fe85b
<?xml version="1.0" encoding="UTF-8"?>
<Workspace
version =
"1.0"
>
<FileRef
location =
"group:Runner.xcodeproj"
>
</FileRef>
<FileRef
location =
"group:Pods/Pods.xcodeproj"
>
</FileRef>
</Workspace>
flutter-sample/ios/Runner.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist
0 → 100644
View file @
7c9fe85b
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist
version=
"1.0"
>
<dict>
<key>
IDEDidComputeMac32BitWarning
</key>
<true/>
</dict>
</plist>
flutter-sample/ios/Runner.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings
0 → 100644
View file @
7c9fe85b
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist
version=
"1.0"
>
<dict>
<key>
PreviewsEnabled
</key>
<false/>
</dict>
</plist>
flutter-sample/ios/Runner/AppDelegate.swift
0 → 100644
View file @
7c9fe85b
import
UIKit
import
Flutter
@UIApplicationMain
@objc
class
AppDelegate
:
FlutterAppDelegate
{
override
func
application
(
_
application
:
UIApplication
,
didFinishLaunchingWithOptions
launchOptions
:
[
UIApplication
.
LaunchOptionsKey
:
Any
]?
)
->
Bool
{
GeneratedPluginRegistrant
.
register
(
with
:
self
)
let
controller
:
FlutterViewController
=
window
?
.
rootViewController
as!
FlutterViewController
let
methodChannel
=
FlutterMethodChannel
(
name
:
"flutter.native/myid"
,
binaryMessenger
:
controller
.
binaryMessenger
)
let
navigationController
=
UINavigationController
(
rootViewController
:
controller
)
navigationController
.
setNavigationBarHidden
(
true
,
animated
:
false
)
self
.
window
!.
rootViewController
=
navigationController
self
.
window
!.
makeKeyAndVisible
()
methodChannel
.
setMethodCallHandler
({
(
call
:
FlutterMethodCall
,
result
:
@escaping
FlutterResult
)
->
Void
in
if
(
call
.
method
==
"runSDK"
)
{
let
vc
=
MyIdController
(
onResult
:
{
data
in
result
(
data
)
navigationController
.
dismiss
(
animated
:
true
)
},
onCancel
:
{
navigationController
.
dismiss
(
animated
:
true
)
}
)
vc
.
modalPresentationStyle
=
.
pageSheet
navigationController
.
present
(
vc
,
animated
:
true
)
}
})
return
super
.
application
(
application
,
didFinishLaunchingWithOptions
:
launchOptions
)
}
}
flutter-sample/ios/Runner/Assets.xcassets/AppIcon.appiconset/Contents.json
0 → 100644
View file @
7c9fe85b
{
"images"
:
[
{
"size"
:
"20x20"
,
"idiom"
:
"iphone"
,
"filename"
:
"Icon-App-20x20@2x.png"
,
"scale"
:
"2x"
},
{
"size"
:
"20x20"
,
"idiom"
:
"iphone"
,
"filename"
:
"Icon-App-20x20@3x.png"
,
"scale"
:
"3x"
},
{
"size"
:
"29x29"
,
"idiom"
:
"iphone"
,
"filename"
:
"Icon-App-29x29@1x.png"
,
"scale"
:
"1x"
},
{
"size"
:
"29x29"
,
"idiom"
:
"iphone"
,
"filename"
:
"Icon-App-29x29@2x.png"
,
"scale"
:
"2x"
},
{
"size"
:
"29x29"
,
"idiom"
:
"iphone"
,
"filename"
:
"Icon-App-29x29@3x.png"
,
"scale"
:
"3x"
},
{
"size"
:
"40x40"
,
"idiom"
:
"iphone"
,
"filename"
:
"Icon-App-40x40@2x.png"
,
"scale"
:
"2x"
},
{
"size"
:
"40x40"
,
"idiom"
:
"iphone"
,
"filename"
:
"Icon-App-40x40@3x.png"
,
"scale"
:
"3x"
},
{
"size"
:
"60x60"
,
"idiom"
:
"iphone"
,
"filename"
:
"Icon-App-60x60@2x.png"
,
"scale"
:
"2x"
},
{
"size"
:
"60x60"
,
"idiom"
:
"iphone"
,
"filename"
:
"Icon-App-60x60@3x.png"
,
"scale"
:
"3x"
},
{
"size"
:
"20x20"
,
"idiom"
:
"ipad"
,
"filename"
:
"Icon-App-20x20@1x.png"
,
"scale"
:
"1x"
},
{
"size"
:
"20x20"
,
"idiom"
:
"ipad"
,
"filename"
:
"Icon-App-20x20@2x.png"
,
"scale"
:
"2x"
},
{
"size"
:
"29x29"
,
"idiom"
:
"ipad"
,
"filename"
:
"Icon-App-29x29@1x.png"
,
"scale"
:
"1x"
},
{
"size"
:
"29x29"
,
"idiom"
:
"ipad"
,
"filename"
:
"Icon-App-29x29@2x.png"
,
"scale"
:
"2x"
},
{
"size"
:
"40x40"
,
"idiom"
:
"ipad"
,
"filename"
:
"Icon-App-40x40@1x.png"
,
"scale"
:
"1x"
},
{
"size"
:
"40x40"
,
"idiom"
:
"ipad"
,
"filename"
:
"Icon-App-40x40@2x.png"
,
"scale"
:
"2x"
},
{
"size"
:
"76x76"
,
"idiom"
:
"ipad"
,
"filename"
:
"Icon-App-76x76@1x.png"
,
"scale"
:
"1x"
},
{
"size"
:
"76x76"
,
"idiom"
:
"ipad"
,
"filename"
:
"Icon-App-76x76@2x.png"
,
"scale"
:
"2x"
},
{
"size"
:
"83.5x83.5"
,
"idiom"
:
"ipad"
,
"filename"
:
"Icon-App-83.5x83.5@2x.png"
,
"scale"
:
"2x"
},
{
"size"
:
"1024x1024"
,
"idiom"
:
"ios-marketing"
,
"filename"
:
"Icon-App-1024x1024@1x.png"
,
"scale"
:
"1x"
}
],
"info"
:
{
"version"
:
1
,
"author"
:
"xcode"
}
}
flutter-sample/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-1024x1024@1x.png
0 → 100644
View file @
7c9fe85b
10.7 KB
flutter-sample/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@1x.png
0 → 100644
View file @
7c9fe85b
564 Bytes
flutter-sample/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@2x.png
0 → 100644
View file @
7c9fe85b
1.25 KB
flutter-sample/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@3x.png
0 → 100644
View file @
7c9fe85b
1.55 KB
Prev
1
2
3
4
5
6
Next
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