Showing
4 changed files
with
73 additions
and
6 deletions
... | @@ -11,6 +11,7 @@ | ... | @@ -11,6 +11,7 @@ |
11 | 28781F6B2110B7ECF39BE6A1 /* Pods_Runner.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = E5D62A6D87125C76B4823B3A /* Pods_Runner.framework */; }; | 11 | 28781F6B2110B7ECF39BE6A1 /* Pods_Runner.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = E5D62A6D87125C76B4823B3A /* Pods_Runner.framework */; }; |
12 | 3B3967161E833CAA004F5970 /* AppFrameworkInfo.plist in Resources */ = {isa = PBXBuildFile; fileRef = 3B3967151E833CAA004F5970 /* AppFrameworkInfo.plist */; }; | 12 | 3B3967161E833CAA004F5970 /* AppFrameworkInfo.plist in Resources */ = {isa = PBXBuildFile; fileRef = 3B3967151E833CAA004F5970 /* AppFrameworkInfo.plist */; }; |
13 | 74858FAF1ED2DC5600515810 /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 74858FAE1ED2DC5600515810 /* AppDelegate.swift */; }; | 13 | 74858FAF1ED2DC5600515810 /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 74858FAE1ED2DC5600515810 /* AppDelegate.swift */; }; |
14 | + 8EB331D028097FA600A698B2 /* Info-Debug.plist in Resources */ = {isa = PBXBuildFile; fileRef = 8EB331CE28097FA600A698B2 /* Info-Debug.plist */; }; | ||
14 | 97C146FC1CF9000F007C117D /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 97C146FA1CF9000F007C117D /* Main.storyboard */; }; | 15 | 97C146FC1CF9000F007C117D /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 97C146FA1CF9000F007C117D /* Main.storyboard */; }; |
15 | 97C146FE1CF9000F007C117D /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 97C146FD1CF9000F007C117D /* Assets.xcassets */; }; | 16 | 97C146FE1CF9000F007C117D /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 97C146FD1CF9000F007C117D /* Assets.xcassets */; }; |
16 | 97C147011CF9000F007C117D /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 97C146FF1CF9000F007C117D /* LaunchScreen.storyboard */; }; | 17 | 97C147011CF9000F007C117D /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 97C146FF1CF9000F007C117D /* LaunchScreen.storyboard */; }; |
... | @@ -39,13 +40,14 @@ | ... | @@ -39,13 +40,14 @@ |
39 | 74858FAE1ED2DC5600515810 /* AppDelegate.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = "<group>"; }; | 40 | 74858FAE1ED2DC5600515810 /* AppDelegate.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = "<group>"; }; |
40 | 7AFA3C8E1D35360C0083082E /* Release.xcconfig */ = {isa = PBXFileReference; lastKnownFileType = text.xcconfig; name = Release.xcconfig; path = Flutter/Release.xcconfig; sourceTree = "<group>"; }; | 41 | 7AFA3C8E1D35360C0083082E /* Release.xcconfig */ = {isa = PBXFileReference; lastKnownFileType = text.xcconfig; name = Release.xcconfig; path = Flutter/Release.xcconfig; sourceTree = "<group>"; }; |
41 | 8E9BB04327B3EA6000D0FC04 /* Runner.entitlements */ = {isa = PBXFileReference; lastKnownFileType = text.plist.entitlements; path = Runner.entitlements; sourceTree = "<group>"; }; | 42 | 8E9BB04327B3EA6000D0FC04 /* Runner.entitlements */ = {isa = PBXFileReference; lastKnownFileType = text.plist.entitlements; path = Runner.entitlements; sourceTree = "<group>"; }; |
43 | + 8EB331CE28097FA600A698B2 /* Info-Debug.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; path = "Info-Debug.plist"; sourceTree = "<group>"; }; | ||
44 | + 8EB331CF28097FA600A698B2 /* Info-Release.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; path = "Info-Release.plist"; sourceTree = "<group>"; }; | ||
42 | 9740EEB21CF90195004384FC /* Debug.xcconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xcconfig; name = Debug.xcconfig; path = Flutter/Debug.xcconfig; sourceTree = "<group>"; }; | 45 | 9740EEB21CF90195004384FC /* Debug.xcconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xcconfig; name = Debug.xcconfig; path = Flutter/Debug.xcconfig; sourceTree = "<group>"; }; |
43 | 9740EEB31CF90195004384FC /* Generated.xcconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xcconfig; name = Generated.xcconfig; path = Flutter/Generated.xcconfig; sourceTree = "<group>"; }; | 46 | 9740EEB31CF90195004384FC /* Generated.xcconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xcconfig; name = Generated.xcconfig; path = Flutter/Generated.xcconfig; sourceTree = "<group>"; }; |
44 | 97C146EE1CF9000F007C117D /* Runner.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = Runner.app; sourceTree = BUILT_PRODUCTS_DIR; }; | 47 | 97C146EE1CF9000F007C117D /* Runner.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = Runner.app; sourceTree = BUILT_PRODUCTS_DIR; }; |
45 | 97C146FB1CF9000F007C117D /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = "<group>"; }; | 48 | 97C146FB1CF9000F007C117D /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = "<group>"; }; |
46 | 97C146FD1CF9000F007C117D /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = "<group>"; }; | 49 | 97C146FD1CF9000F007C117D /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = "<group>"; }; |
47 | 97C147001CF9000F007C117D /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/LaunchScreen.storyboard; sourceTree = "<group>"; }; | 50 | 97C147001CF9000F007C117D /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/LaunchScreen.storyboard; sourceTree = "<group>"; }; |
48 | - 97C147021CF9000F007C117D /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; }; | ||
49 | E5D62A6D87125C76B4823B3A /* Pods_Runner.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_Runner.framework; sourceTree = BUILT_PRODUCTS_DIR; }; | 51 | E5D62A6D87125C76B4823B3A /* Pods_Runner.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_Runner.framework; sourceTree = BUILT_PRODUCTS_DIR; }; |
50 | FCD877DEB507D10FED6494DE /* Pods-Runner.profile.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-Runner.profile.xcconfig"; path = "Target Support Files/Pods-Runner/Pods-Runner.profile.xcconfig"; sourceTree = "<group>"; }; | 52 | FCD877DEB507D10FED6494DE /* Pods-Runner.profile.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-Runner.profile.xcconfig"; path = "Target Support Files/Pods-Runner/Pods-Runner.profile.xcconfig"; sourceTree = "<group>"; }; |
51 | /* End PBXFileReference section */ | 53 | /* End PBXFileReference section */ |
... | @@ -103,11 +105,12 @@ | ... | @@ -103,11 +105,12 @@ |
103 | 97C146F01CF9000F007C117D /* Runner */ = { | 105 | 97C146F01CF9000F007C117D /* Runner */ = { |
104 | isa = PBXGroup; | 106 | isa = PBXGroup; |
105 | children = ( | 107 | children = ( |
108 | + 8EB331CE28097FA600A698B2 /* Info-Debug.plist */, | ||
109 | + 8EB331CF28097FA600A698B2 /* Info-Release.plist */, | ||
106 | 8E9BB04327B3EA6000D0FC04 /* Runner.entitlements */, | 110 | 8E9BB04327B3EA6000D0FC04 /* Runner.entitlements */, |
107 | 97C146FA1CF9000F007C117D /* Main.storyboard */, | 111 | 97C146FA1CF9000F007C117D /* Main.storyboard */, |
108 | 97C146FD1CF9000F007C117D /* Assets.xcassets */, | 112 | 97C146FD1CF9000F007C117D /* Assets.xcassets */, |
109 | 97C146FF1CF9000F007C117D /* LaunchScreen.storyboard */, | 113 | 97C146FF1CF9000F007C117D /* LaunchScreen.storyboard */, |
110 | - 97C147021CF9000F007C117D /* Info.plist */, | ||
111 | 1498D2321E8E86230040F4C2 /* GeneratedPluginRegistrant.h */, | 114 | 1498D2321E8E86230040F4C2 /* GeneratedPluginRegistrant.h */, |
112 | 1498D2331E8E89220040F4C2 /* GeneratedPluginRegistrant.m */, | 115 | 1498D2331E8E89220040F4C2 /* GeneratedPluginRegistrant.m */, |
113 | 74858FAE1ED2DC5600515810 /* AppDelegate.swift */, | 116 | 74858FAE1ED2DC5600515810 /* AppDelegate.swift */, |
... | @@ -193,6 +196,7 @@ | ... | @@ -193,6 +196,7 @@ |
193 | 97C147011CF9000F007C117D /* LaunchScreen.storyboard in Resources */, | 196 | 97C147011CF9000F007C117D /* LaunchScreen.storyboard in Resources */, |
194 | 3B3967161E833CAA004F5970 /* AppFrameworkInfo.plist in Resources */, | 197 | 3B3967161E833CAA004F5970 /* AppFrameworkInfo.plist in Resources */, |
195 | 97C146FE1CF9000F007C117D /* Assets.xcassets in Resources */, | 198 | 97C146FE1CF9000F007C117D /* Assets.xcassets in Resources */, |
199 | + 8EB331D028097FA600A698B2 /* Info-Debug.plist in Resources */, | ||
196 | 97C146FC1CF9000F007C117D /* Main.storyboard in Resources */, | 200 | 97C146FC1CF9000F007C117D /* Main.storyboard in Resources */, |
197 | ); | 201 | ); |
198 | runOnlyForDeploymentPostprocessing = 0; | 202 | runOnlyForDeploymentPostprocessing = 0; |
... | @@ -378,7 +382,7 @@ | ... | @@ -378,7 +382,7 @@ |
378 | CURRENT_PROJECT_VERSION = "$(FLUTTER_BUILD_NUMBER)"; | 382 | CURRENT_PROJECT_VERSION = "$(FLUTTER_BUILD_NUMBER)"; |
379 | DEVELOPMENT_TEAM = FLS6Y2LS7Z; | 383 | DEVELOPMENT_TEAM = FLS6Y2LS7Z; |
380 | ENABLE_BITCODE = NO; | 384 | ENABLE_BITCODE = NO; |
381 | - INFOPLIST_FILE = Runner/Info.plist; | 385 | + INFOPLIST_FILE = "Runner/Info-$(CONFIGURATION).plist"; |
382 | LD_RUNPATH_SEARCH_PATHS = ( | 386 | LD_RUNPATH_SEARCH_PATHS = ( |
383 | "$(inherited)", | 387 | "$(inherited)", |
384 | "@executable_path/Frameworks", | 388 | "@executable_path/Frameworks", |
... | @@ -507,7 +511,7 @@ | ... | @@ -507,7 +511,7 @@ |
507 | CURRENT_PROJECT_VERSION = "$(FLUTTER_BUILD_NUMBER)"; | 511 | CURRENT_PROJECT_VERSION = "$(FLUTTER_BUILD_NUMBER)"; |
508 | DEVELOPMENT_TEAM = FLS6Y2LS7Z; | 512 | DEVELOPMENT_TEAM = FLS6Y2LS7Z; |
509 | ENABLE_BITCODE = NO; | 513 | ENABLE_BITCODE = NO; |
510 | - INFOPLIST_FILE = Runner/Info.plist; | 514 | + INFOPLIST_FILE = "Runner/Info-$(CONFIGURATION).plist"; |
511 | LD_RUNPATH_SEARCH_PATHS = ( | 515 | LD_RUNPATH_SEARCH_PATHS = ( |
512 | "$(inherited)", | 516 | "$(inherited)", |
513 | "@executable_path/Frameworks", | 517 | "@executable_path/Frameworks", |
... | @@ -531,7 +535,7 @@ | ... | @@ -531,7 +535,7 @@ |
531 | CURRENT_PROJECT_VERSION = "$(FLUTTER_BUILD_NUMBER)"; | 535 | CURRENT_PROJECT_VERSION = "$(FLUTTER_BUILD_NUMBER)"; |
532 | DEVELOPMENT_TEAM = FLS6Y2LS7Z; | 536 | DEVELOPMENT_TEAM = FLS6Y2LS7Z; |
533 | ENABLE_BITCODE = NO; | 537 | ENABLE_BITCODE = NO; |
534 | - INFOPLIST_FILE = Runner/Info.plist; | 538 | + INFOPLIST_FILE = "Runner/Info-$(CONFIGURATION).plist"; |
535 | LD_RUNPATH_SEARCH_PATHS = ( | 539 | LD_RUNPATH_SEARCH_PATHS = ( |
536 | "$(inherited)", | 540 | "$(inherited)", |
537 | "@executable_path/Frameworks", | 541 | "@executable_path/Frameworks", | ... | ... |
ios/Runner/Info-Debug.plist
0 → 100644
1 | +<?xml version="1.0" encoding="UTF-8"?> | ||
2 | +<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | ||
3 | +<plist version="1.0"> | ||
4 | +<dict> | ||
5 | + <key>NSLocalNetworkUsageDescription</key> | ||
6 | + <string>Allow flutter app</string> | ||
7 | + <key>NSBonjourServices</key> | ||
8 | + <array> | ||
9 | + <string>_dartobservatory._tcp</string> | ||
10 | + </array> | ||
11 | + <key>CFBundleDevelopmentRegion</key> | ||
12 | + <string>$(DEVELOPMENT_LANGUAGE)</string> | ||
13 | + <key>CFBundleDisplayName</key> | ||
14 | + <string>一言临境</string> | ||
15 | + <key>CFBundleExecutable</key> | ||
16 | + <string>$(EXECUTABLE_NAME)</string> | ||
17 | + <key>CFBundleIdentifier</key> | ||
18 | + <string>$(PRODUCT_BUNDLE_IDENTIFIER)</string> | ||
19 | + <key>CFBundleInfoDictionaryVersion</key> | ||
20 | + <string>6.0</string> | ||
21 | + <key>CFBundleName</key> | ||
22 | + <string>Parlando</string> | ||
23 | + <key>CFBundlePackageType</key> | ||
24 | + <string>APPL</string> | ||
25 | + <key>CFBundleShortVersionString</key> | ||
26 | + <string>$(FLUTTER_BUILD_NAME)</string> | ||
27 | + <key>CFBundleSignature</key> | ||
28 | + <string>????</string> | ||
29 | + <key>CFBundleVersion</key> | ||
30 | + <string>$(FLUTTER_BUILD_NUMBER)</string> | ||
31 | + <key>LSRequiresIPhoneOS</key> | ||
32 | + <true/> | ||
33 | + <key>NSAppTransportSecurity</key> | ||
34 | + <dict> | ||
35 | + <key>NSAllowsArbitraryLoads</key> | ||
36 | + <true/> | ||
37 | + </dict> | ||
38 | + <key>NSMicrophoneUsageDescription</key> | ||
39 | + <string>打开话筒</string> | ||
40 | + <key>UILaunchStoryboardName</key> | ||
41 | + <string>LaunchScreen</string> | ||
42 | + <key>UIMainStoryboardFile</key> | ||
43 | + <string>Main</string> | ||
44 | + <key>UIStatusBarHidden</key> | ||
45 | + <false/> | ||
46 | + <key>UISupportedInterfaceOrientations</key> | ||
47 | + <array> | ||
48 | + <string>UIInterfaceOrientationPortrait</string> | ||
49 | + <string>UIInterfaceOrientationLandscapeLeft</string> | ||
50 | + <string>UIInterfaceOrientationLandscapeRight</string> | ||
51 | + </array> | ||
52 | + <key>UISupportedInterfaceOrientations~ipad</key> | ||
53 | + <array> | ||
54 | + <string>UIInterfaceOrientationPortrait</string> | ||
55 | + <string>UIInterfaceOrientationPortraitUpsideDown</string> | ||
56 | + <string>UIInterfaceOrientationLandscapeLeft</string> | ||
57 | + <string>UIInterfaceOrientationLandscapeRight</string> | ||
58 | + </array> | ||
59 | + <key>UIViewControllerBasedStatusBarAppearance</key> | ||
60 | + <false/> | ||
61 | +</dict> | ||
62 | +</plist> |
... | @@ -304,7 +304,8 @@ class _LoginPageState extends State<LoginPage> | ... | @@ -304,7 +304,8 @@ class _LoginPageState extends State<LoginPage> |
304 | AppleIDAuthorizationScopes.fullName, | 304 | AppleIDAuthorizationScopes.fullName, |
305 | ], | 305 | ], |
306 | ); | 306 | ); |
307 | - print(credential); | 307 | + print("authorizationCode:" + credential.authorizationCode); |
308 | + print("identityToken:" + credential.identityToken.toString()); | ||
308 | }, | 309 | }, |
309 | ), | 310 | ), |
310 | ) | 311 | ) | ... | ... |
-
Please register or login to post a comment