Commit a2534591 authored by jzhang's avatar jzhang

no message

parent c9301189
...@@ -441,7 +441,7 @@ ...@@ -441,7 +441,7 @@
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor; ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor;
CODE_SIGN_STYLE = Automatic; CODE_SIGN_STYLE = Automatic;
CURRENT_PROJECT_VERSION = 1; CURRENT_PROJECT_VERSION = 2;
DEVELOPMENT_TEAM = W3C84P5FPS; DEVELOPMENT_TEAM = W3C84P5FPS;
FRAMEWORK_SEARCH_PATHS = "$(PROJECT_DIR)/Flutter"; FRAMEWORK_SEARCH_PATHS = "$(PROJECT_DIR)/Flutter";
GENERATE_INFOPLIST_FILE = YES; GENERATE_INFOPLIST_FILE = YES;
...@@ -475,7 +475,7 @@ ...@@ -475,7 +475,7 @@
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor; ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor;
CODE_SIGN_STYLE = Automatic; CODE_SIGN_STYLE = Automatic;
CURRENT_PROJECT_VERSION = 1; CURRENT_PROJECT_VERSION = 2;
DEVELOPMENT_TEAM = W3C84P5FPS; DEVELOPMENT_TEAM = W3C84P5FPS;
FRAMEWORK_SEARCH_PATHS = "$(PROJECT_DIR)/Flutter"; FRAMEWORK_SEARCH_PATHS = "$(PROJECT_DIR)/Flutter";
GENERATE_INFOPLIST_FILE = YES; GENERATE_INFOPLIST_FILE = YES;
......
...@@ -374,8 +374,8 @@ ...@@ -374,8 +374,8 @@
<view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="Hhw-cG-Fcy"> <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="Hhw-cG-Fcy">
<rect key="frame" x="24" y="348" width="366" height="200"/> <rect key="frame" x="24" y="348" width="366" height="200"/>
<subviews> <subviews>
<stackView opaque="NO" contentMode="scaleToFill" axis="vertical" alignment="center" spacing="28" translatesAutoresizingMaskIntoConstraints="NO" id="pqD-mn-5kx"> <stackView opaque="NO" contentMode="scaleToFill" axis="vertical" alignment="center" spacing="36" translatesAutoresizingMaskIntoConstraints="NO" id="pqD-mn-5kx">
<rect key="frame" x="72" y="53" width="222" height="94"/> <rect key="frame" x="72" y="49" width="222" height="102"/>
<subviews> <subviews>
<stackView opaque="NO" contentMode="scaleToFill" alignment="center" spacing="18" translatesAutoresizingMaskIntoConstraints="NO" id="MSB-gJ-7zl"> <stackView opaque="NO" contentMode="scaleToFill" alignment="center" spacing="18" translatesAutoresizingMaskIntoConstraints="NO" id="MSB-gJ-7zl">
<rect key="frame" x="0.0" y="0.0" width="222" height="30"/> <rect key="frame" x="0.0" y="0.0" width="222" height="30"/>
...@@ -398,16 +398,16 @@ ...@@ -398,16 +398,16 @@
</constraints> </constraints>
</stackView> </stackView>
<button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="Nee-0V-QG4"> <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="Nee-0V-QG4">
<rect key="frame" x="10.5" y="58" width="201" height="36"/> <rect key="frame" x="10.5" y="66" width="201" height="36"/>
<constraints> <constraints>
<constraint firstAttribute="width" secondItem="Nee-0V-QG4" secondAttribute="height" multiplier="5.58974" id="k5B-7F-tUq"/> <constraint firstAttribute="width" secondItem="Nee-0V-QG4" secondAttribute="height" multiplier="5.58974" id="k5B-7F-tUq"/>
<constraint firstAttribute="height" constant="36" id="tum-aY-BTv"/> <constraint firstAttribute="height" constant="36" id="tum-aY-BTv"/>
</constraints> </constraints>
<state key="normal" title="Button"/> <fontDescription key="fontDescription" type="system" weight="heavy" pointSize="20"/>
<buttonConfiguration key="configuration" style="plain" title="OK"> <inset key="imageEdgeInsets" minX="0.0" minY="0.0" maxX="2.2250738585072014e-308" maxY="0.0"/>
<backgroundConfiguration key="background" image="light-btn-bg"/> <state key="normal" title="OK" backgroundImage="light-btn-bg">
<color key="baseForegroundColor" red="0.9459709181" green="1" blue="0.97093926880000003" alpha="1" colorSpace="custom" customColorSpace="sRGB"/> <color key="titleColor" red="0.9459709181" green="1" blue="0.97093926880000003" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
</buttonConfiguration> </state>
<connections> <connections>
<action selector="okAction:" destination="kbc-T2-Z4j" eventType="touchUpInside" id="ypq-jZ-upJ"/> <action selector="okAction:" destination="kbc-T2-Z4j" eventType="touchUpInside" id="ypq-jZ-upJ"/>
</connections> </connections>
......
...@@ -52,10 +52,10 @@ class ViewController: UIViewController { ...@@ -52,10 +52,10 @@ class ViewController: UIViewController {
strongSelf.methodChannel?.invokeMethod("dispose", arguments: nil) strongSelf.methodChannel?.invokeMethod("dispose", arguments: nil)
// ["totalDuration": 3, "reasonText": Concern about my personal privacy, "status": incomplete, "incompleteReasonCode": 2] // ["totalDuration": 3, "reasonText": Concern about my personal privacy, "status": incomplete, "incompleteReasonCode": 2]
let argument: [String: Any] = try! JSONSerialization.jsonObject(with: (call.arguments as! String).data(using: .utf8)!) as! [String: Any] let argument: [String: Any] = try! JSONSerialization.jsonObject(with: (call.arguments as! String).data(using: .utf8)!) as! [String: Any]
let totalDuration: Int = argument["totalDuration"] as! Int // let totalDuration: Int = argument["totalDuration"] as! Int
let reasonText: String = argument["reasonText"] as! String // let reasonText: String = argument["reasonText"] as! String
// let incompleteReasonCode: Int = argument["incompleteReasonCode"] as! Int
let status: String = argument["status"] as! String let status: String = argument["status"] as! String
let incompleteReasonCode: Int = argument["incompleteReasonCode"] as! Int
if status == "incomplete" { if status == "incomplete" {
// strongSelf.showError(reasonText) // strongSelf.showError(reasonText)
} else if status == "complete" { } else if status == "complete" {
...@@ -82,10 +82,6 @@ class ViewController: UIViewController { ...@@ -82,10 +82,6 @@ class ViewController: UIViewController {
vc.vm = vm vc.vm = vm
vc.modalPresentationStyle = .fullScreen vc.modalPresentationStyle = .fullScreen
present(vc, animated: true) present(vc, animated: true)
DispatchQueue.main.asyncAfter(deadline: DispatchTime.now() + DispatchTimeInterval.seconds(3)) {
vc.dismiss(animated: true)
}
} }
@IBAction func tapStart(_ sender: Any) { @IBAction func tapStart(_ sender: Any) {
......
...@@ -5,36 +5,36 @@ ...@@ -5,36 +5,36 @@
<key>AvailableLibraries</key> <key>AvailableLibraries</key>
<array> <array>
<dict> <dict>
<key>BitcodeSymbolMapsPath</key>
<string>BCSymbolMaps</string>
<key>DebugSymbolsPath</key>
<string>dSYMs</string>
<key>LibraryIdentifier</key> <key>LibraryIdentifier</key>
<string>ios-arm64_x86_64-simulator</string> <string>ios-arm64_armv7</string>
<key>LibraryPath</key> <key>LibraryPath</key>
<string>device_info_plus.framework</string> <string>device_info_plus.framework</string>
<key>SupportedArchitectures</key> <key>SupportedArchitectures</key>
<array> <array>
<string>arm64</string> <string>arm64</string>
<string>x86_64</string> <string>armv7</string>
</array> </array>
<key>SupportedPlatform</key> <key>SupportedPlatform</key>
<string>ios</string> <string>ios</string>
<key>SupportedPlatformVariant</key>
<string>simulator</string>
</dict> </dict>
<dict> <dict>
<key>BitcodeSymbolMapsPath</key>
<string>BCSymbolMaps</string>
<key>DebugSymbolsPath</key>
<string>dSYMs</string>
<key>LibraryIdentifier</key> <key>LibraryIdentifier</key>
<string>ios-arm64_armv7</string> <string>ios-arm64_x86_64-simulator</string>
<key>LibraryPath</key> <key>LibraryPath</key>
<string>device_info_plus.framework</string> <string>device_info_plus.framework</string>
<key>SupportedArchitectures</key> <key>SupportedArchitectures</key>
<array> <array>
<string>arm64</string> <string>arm64</string>
<string>armv7</string> <string>x86_64</string>
</array> </array>
<key>SupportedPlatform</key> <key>SupportedPlatform</key>
<string>ios</string> <string>ios</string>
<key>SupportedPlatformVariant</key>
<string>simulator</string>
</dict> </dict>
</array> </array>
<key>CFBundlePackageType</key> <key>CFBundlePackageType</key>
......
...@@ -5,36 +5,36 @@ ...@@ -5,36 +5,36 @@
<key>AvailableLibraries</key> <key>AvailableLibraries</key>
<array> <array>
<dict> <dict>
<key>BitcodeSymbolMapsPath</key>
<string>BCSymbolMaps</string>
<key>DebugSymbolsPath</key>
<string>dSYMs</string>
<key>LibraryIdentifier</key> <key>LibraryIdentifier</key>
<string>ios-arm64_x86_64-simulator</string> <string>ios-arm64_armv7</string>
<key>LibraryPath</key> <key>LibraryPath</key>
<string>package_info_plus.framework</string> <string>package_info_plus.framework</string>
<key>SupportedArchitectures</key> <key>SupportedArchitectures</key>
<array> <array>
<string>arm64</string> <string>arm64</string>
<string>x86_64</string> <string>armv7</string>
</array> </array>
<key>SupportedPlatform</key> <key>SupportedPlatform</key>
<string>ios</string> <string>ios</string>
<key>SupportedPlatformVariant</key>
<string>simulator</string>
</dict> </dict>
<dict> <dict>
<key>BitcodeSymbolMapsPath</key>
<string>BCSymbolMaps</string>
<key>DebugSymbolsPath</key>
<string>dSYMs</string>
<key>LibraryIdentifier</key> <key>LibraryIdentifier</key>
<string>ios-arm64_armv7</string> <string>ios-arm64_x86_64-simulator</string>
<key>LibraryPath</key> <key>LibraryPath</key>
<string>package_info_plus.framework</string> <string>package_info_plus.framework</string>
<key>SupportedArchitectures</key> <key>SupportedArchitectures</key>
<array> <array>
<string>arm64</string> <string>arm64</string>
<string>armv7</string> <string>x86_64</string>
</array> </array>
<key>SupportedPlatform</key> <key>SupportedPlatform</key>
<string>ios</string> <string>ios</string>
<key>SupportedPlatformVariant</key>
<string>simulator</string>
</dict> </dict>
</array> </array>
<key>CFBundlePackageType</key> <key>CFBundlePackageType</key>
......
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