iOS crypto target

This commit is contained in:
Ivan Murashov
2018-03-11 01:40:57 +03:00
parent cae46b60f9
commit c229ea8c9e
41 changed files with 811 additions and 192 deletions

View File

@@ -63,6 +63,17 @@
@"appTitle" : @"PIP",
@"showBonus" : @YES,
},
@"com.dinect.checker.crypto" : @{
@"locale" : @"ru",
@"flavor" : @"crypto",
@"currency" : @643,
@"supportPhone" : @"8-800-77-55-032",
@"supportUrl" : @"http://www.dinect.com",
@"endPoint" : @"https://pos-api-int.dinect.com/20130701/",
@"appToken" : @"9fec83cdca38c357e6b65dbb17514cdd36bf2a08",
@"appTitle" : @"Dinect Crypto",
@"showBonus" : @NO,
},
};
NSDictionary *buildSettings = settings[bundleIdentifier];

View File

@@ -0,0 +1,90 @@
{
"author" : "Iconizer",
"version" : "1.0",
"images" : [
{
"size" : "1024x1024",
"filename" : "ios-marketing.png",
"expected-size" : "1024",
"idiom" : "ios-marketing",
"scale" : "1x"
},
{
"size" : "60x60",
"filename" : "iphone-appicon@3x.png",
"expected-size" : "180",
"idiom" : "iphone",
"scale" : "3x"
},
{
"size" : "40x40",
"filename" : "iphone-spotlight@2x.png",
"expected-size" : "80",
"idiom" : "iphone",
"scale" : "2x"
},
{
"size" : "40x40",
"filename" : "iphone-spotlight@3x.png",
"expected-size" : "120",
"idiom" : "iphone",
"scale" : "3x"
},
{
"size" : "60x60",
"filename" : "iphone-appicon@2x.png",
"expected-size" : "120",
"idiom" : "iphone",
"scale" : "2x"
},
{
"size" : "57x57",
"filename" : "iphone-oldAppicon@1x.png",
"expected-size" : "57",
"idiom" : "iphone",
"scale" : "1x"
},
{
"size" : "29x29",
"filename" : "iphone-settings@2x.png",
"expected-size" : "58",
"idiom" : "iphone",
"scale" : "2x"
},
{
"size" : "29x29",
"filename" : "iphone-settings@1x.png",
"expected-size" : "29",
"idiom" : "iphone",
"scale" : "1x"
},
{
"size" : "29x29",
"filename" : "iphone-settings@3x.png",
"expected-size" : "87",
"idiom" : "iphone",
"scale" : "3x"
},
{
"size" : "57x57",
"filename" : "iphone-oldAppicon@2x.png",
"expected-size" : "114",
"idiom" : "iphone",
"scale" : "2x"
},
{
"size" : "20x20",
"filename" : "iphone-notification@2x.png",
"expected-size" : "40",
"idiom" : "iphone",
"scale" : "2x"
},
{
"size" : "20x20",
"filename" : "iphone-notification@3x.png",
"expected-size" : "60",
"idiom" : "iphone",
"scale" : "3x"
}
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 139 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.1 KiB

View File

@@ -138,6 +138,7 @@ import Flutter
}
func sendResult(_ str: String) {
print("result: \(str)")
platformChannel?.invokeMethod("findUser", arguments: [str, buttonState.searchType], result: { (result: Any?) in
if result is FlutterError {
self.showErrorAlert(str)
@@ -296,8 +297,6 @@ import Flutter
location = "\(location) (\(transformedPoint.x), \(transformedPoint.y))"
points.append(windowPointValue)
}
// We got a result. Display information about the result onscreen.
let formatString: String = barcodeFormat(toString: result.barcodeFormat)
sendResult(result.text)
print(result.text)
self.capture.stop()