iOS crypto target
@@ -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];
|
||||
|
||||
90
ios/Runner/Assets.xcassets/crypto.appiconset/Contents.json
Normal 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"
|
||||
}
|
||||
]
|
||||
}
|
||||
BIN
ios/Runner/Assets.xcassets/crypto.appiconset/ios-marketing.png
Normal file
|
After Width: | Height: | Size: 139 KiB |
|
After Width: | Height: | Size: 8.1 KiB |
|
After Width: | Height: | Size: 12 KiB |
|
After Width: | Height: | Size: 2.5 KiB |
|
After Width: | Height: | Size: 3.8 KiB |
|
After Width: | Height: | Size: 3.7 KiB |
|
After Width: | Height: | Size: 7.7 KiB |
|
After Width: | Height: | Size: 1.7 KiB |
|
After Width: | Height: | Size: 3.7 KiB |
|
After Width: | Height: | Size: 5.7 KiB |
|
After Width: | Height: | Size: 5.3 KiB |
|
After Width: | Height: | Size: 8.1 KiB |
@@ -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()
|
||||
|
||||