Skip to content

Commit 2d0f527

Browse files
authored
feat: health 라이브러리 연결 외 3건 (#194)
* feat: health 라이브러리 연결 * fix: 권한 요청 위치 변경 및 UI 수정 * fix: 권한 오작동 해결 * feat: 건강 기록 메인 화면에서 총 걸음 수가 아닌 유저 걸음 수로 표시되게 수정
1 parent 2b64d37 commit 2d0f527

File tree

11 files changed

+744
-106
lines changed

11 files changed

+744
-106
lines changed

frontend/ongi/ios/Flutter/AppFrameworkInfo.plist

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,6 @@
2121
<key>CFBundleVersion</key>
2222
<string>1.0</string>
2323
<key>MinimumOSVersion</key>
24-
<string>13.0</string>
24+
<string>14.0</string>
2525
</dict>
2626
</plist>

frontend/ongi/ios/Podfile

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
# Uncomment this line to define a global platform for your project
2+
platform :ios, '14.0'
3+
4+
# CocoaPods analytics sends network stats synchronously affecting flutter build latency.
5+
ENV['COCOAPODS_DISABLE_STATS'] = 'true'
6+
7+
project 'Runner', {
8+
'Debug' => :debug,
9+
'Profile' => :release,
10+
'Release' => :release,
11+
}
12+
13+
def flutter_root
14+
generated_xcode_build_settings_path = File.expand_path(File.join('..', 'Flutter', 'Generated.xcconfig'), __FILE__)
15+
unless File.exist?(generated_xcode_build_settings_path)
16+
raise "#{generated_xcode_build_settings_path} must exist. If you're running pod install manually, make sure flutter pub get is executed first"
17+
end
18+
19+
File.foreach(generated_xcode_build_settings_path) do |line|
20+
matches = line.match(/FLUTTER_ROOT\=(.*)/)
21+
return matches[1].strip if matches
22+
end
23+
raise "FLUTTER_ROOT not found in #{generated_xcode_build_settings_path}. Try deleting Generated.xcconfig, then run flutter pub get"
24+
end
25+
26+
require File.expand_path(File.join('packages', 'flutter_tools', 'bin', 'podhelper'), flutter_root)
27+
28+
flutter_ios_podfile_setup
29+
30+
target 'Runner' do
31+
use_frameworks!
32+
33+
flutter_install_all_ios_pods File.dirname(File.realpath(__FILE__))
34+
target 'RunnerTests' do
35+
inherit! :search_paths
36+
end
37+
end
38+
39+
post_install do |installer|
40+
installer.pods_project.targets.each do |target|
41+
flutter_additional_ios_build_settings(target)
42+
end
43+
end

frontend/ongi/ios/Podfile.lock

Lines changed: 179 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,179 @@
1+
PODS:
2+
- camera_avfoundation (0.0.1):
3+
- Flutter
4+
- device_info_plus (0.0.1):
5+
- Flutter
6+
- Firebase/CoreOnly (11.15.0):
7+
- FirebaseCore (~> 11.15.0)
8+
- Firebase/Messaging (11.15.0):
9+
- Firebase/CoreOnly
10+
- FirebaseMessaging (~> 11.15.0)
11+
- firebase_core (3.15.2):
12+
- Firebase/CoreOnly (= 11.15.0)
13+
- Flutter
14+
- firebase_messaging (15.2.10):
15+
- Firebase/Messaging (= 11.15.0)
16+
- firebase_core
17+
- Flutter
18+
- FirebaseCore (11.15.0):
19+
- FirebaseCoreInternal (~> 11.15.0)
20+
- GoogleUtilities/Environment (~> 8.1)
21+
- GoogleUtilities/Logger (~> 8.1)
22+
- FirebaseCoreInternal (11.15.0):
23+
- "GoogleUtilities/NSData+zlib (~> 8.1)"
24+
- FirebaseInstallations (11.15.0):
25+
- FirebaseCore (~> 11.15.0)
26+
- GoogleUtilities/Environment (~> 8.1)
27+
- GoogleUtilities/UserDefaults (~> 8.1)
28+
- PromisesObjC (~> 2.4)
29+
- FirebaseMessaging (11.15.0):
30+
- FirebaseCore (~> 11.15.0)
31+
- FirebaseInstallations (~> 11.0)
32+
- GoogleDataTransport (~> 10.0)
33+
- GoogleUtilities/AppDelegateSwizzler (~> 8.1)
34+
- GoogleUtilities/Environment (~> 8.1)
35+
- GoogleUtilities/Reachability (~> 8.1)
36+
- GoogleUtilities/UserDefaults (~> 8.1)
37+
- nanopb (~> 3.30910.0)
38+
- Flutter (1.0.0)
39+
- flutter_local_notifications (0.0.1):
40+
- Flutter
41+
- geocoding_ios (1.0.5):
42+
- Flutter
43+
- geolocator_apple (1.2.0):
44+
- Flutter
45+
- FlutterMacOS
46+
- GoogleDataTransport (10.1.0):
47+
- nanopb (~> 3.30910.0)
48+
- PromisesObjC (~> 2.4)
49+
- GoogleUtilities/AppDelegateSwizzler (8.1.0):
50+
- GoogleUtilities/Environment
51+
- GoogleUtilities/Logger
52+
- GoogleUtilities/Network
53+
- GoogleUtilities/Privacy
54+
- GoogleUtilities/Environment (8.1.0):
55+
- GoogleUtilities/Privacy
56+
- GoogleUtilities/Logger (8.1.0):
57+
- GoogleUtilities/Environment
58+
- GoogleUtilities/Privacy
59+
- GoogleUtilities/Network (8.1.0):
60+
- GoogleUtilities/Logger
61+
- "GoogleUtilities/NSData+zlib"
62+
- GoogleUtilities/Privacy
63+
- GoogleUtilities/Reachability
64+
- "GoogleUtilities/NSData+zlib (8.1.0)":
65+
- GoogleUtilities/Privacy
66+
- GoogleUtilities/Privacy (8.1.0)
67+
- GoogleUtilities/Reachability (8.1.0):
68+
- GoogleUtilities/Logger
69+
- GoogleUtilities/Privacy
70+
- GoogleUtilities/UserDefaults (8.1.0):
71+
- GoogleUtilities/Logger
72+
- GoogleUtilities/Privacy
73+
- health (13.1.2):
74+
- Flutter
75+
- image_picker_ios (0.0.1):
76+
- Flutter
77+
- nanopb (3.30910.0):
78+
- nanopb/decode (= 3.30910.0)
79+
- nanopb/encode (= 3.30910.0)
80+
- nanopb/decode (3.30910.0)
81+
- nanopb/encode (3.30910.0)
82+
- package_info_plus (0.4.5):
83+
- Flutter
84+
- path_provider_foundation (0.0.1):
85+
- Flutter
86+
- FlutterMacOS
87+
- PromisesObjC (2.4.0)
88+
- shared_preferences_foundation (0.0.1):
89+
- Flutter
90+
- FlutterMacOS
91+
- url_launcher_ios (0.0.1):
92+
- Flutter
93+
94+
DEPENDENCIES:
95+
- camera_avfoundation (from `.symlinks/plugins/camera_avfoundation/ios`)
96+
- device_info_plus (from `.symlinks/plugins/device_info_plus/ios`)
97+
- firebase_core (from `.symlinks/plugins/firebase_core/ios`)
98+
- firebase_messaging (from `.symlinks/plugins/firebase_messaging/ios`)
99+
- Flutter (from `Flutter`)
100+
- flutter_local_notifications (from `.symlinks/plugins/flutter_local_notifications/ios`)
101+
- geocoding_ios (from `.symlinks/plugins/geocoding_ios/ios`)
102+
- geolocator_apple (from `.symlinks/plugins/geolocator_apple/darwin`)
103+
- health (from `.symlinks/plugins/health/ios`)
104+
- image_picker_ios (from `.symlinks/plugins/image_picker_ios/ios`)
105+
- package_info_plus (from `.symlinks/plugins/package_info_plus/ios`)
106+
- path_provider_foundation (from `.symlinks/plugins/path_provider_foundation/darwin`)
107+
- shared_preferences_foundation (from `.symlinks/plugins/shared_preferences_foundation/darwin`)
108+
- url_launcher_ios (from `.symlinks/plugins/url_launcher_ios/ios`)
109+
110+
SPEC REPOS:
111+
trunk:
112+
- Firebase
113+
- FirebaseCore
114+
- FirebaseCoreInternal
115+
- FirebaseInstallations
116+
- FirebaseMessaging
117+
- GoogleDataTransport
118+
- GoogleUtilities
119+
- nanopb
120+
- PromisesObjC
121+
122+
EXTERNAL SOURCES:
123+
camera_avfoundation:
124+
:path: ".symlinks/plugins/camera_avfoundation/ios"
125+
device_info_plus:
126+
:path: ".symlinks/plugins/device_info_plus/ios"
127+
firebase_core:
128+
:path: ".symlinks/plugins/firebase_core/ios"
129+
firebase_messaging:
130+
:path: ".symlinks/plugins/firebase_messaging/ios"
131+
Flutter:
132+
:path: Flutter
133+
flutter_local_notifications:
134+
:path: ".symlinks/plugins/flutter_local_notifications/ios"
135+
geocoding_ios:
136+
:path: ".symlinks/plugins/geocoding_ios/ios"
137+
geolocator_apple:
138+
:path: ".symlinks/plugins/geolocator_apple/darwin"
139+
health:
140+
:path: ".symlinks/plugins/health/ios"
141+
image_picker_ios:
142+
:path: ".symlinks/plugins/image_picker_ios/ios"
143+
package_info_plus:
144+
:path: ".symlinks/plugins/package_info_plus/ios"
145+
path_provider_foundation:
146+
:path: ".symlinks/plugins/path_provider_foundation/darwin"
147+
shared_preferences_foundation:
148+
:path: ".symlinks/plugins/shared_preferences_foundation/darwin"
149+
url_launcher_ios:
150+
:path: ".symlinks/plugins/url_launcher_ios/ios"
151+
152+
SPEC CHECKSUMS:
153+
camera_avfoundation: be3be85408cd4126f250386828e9b1dfa40ab436
154+
device_info_plus: 21fcca2080fbcd348be798aa36c3e5ed849eefbe
155+
Firebase: d99ac19b909cd2c548339c2241ecd0d1599ab02e
156+
firebase_core: 995454a784ff288be5689b796deb9e9fa3601818
157+
firebase_messaging: f4a41dd102ac18b840eba3f39d67e77922d3f707
158+
FirebaseCore: efb3893e5b94f32b86e331e3bd6dadf18b66568e
159+
FirebaseCoreInternal: 9afa45b1159304c963da48addb78275ef701c6b4
160+
FirebaseInstallations: 317270fec08a5d418fdbc8429282238cab3ac843
161+
FirebaseMessaging: 3b26e2cee503815e01c3701236b020aa9b576f09
162+
Flutter: e0871f40cf51350855a761d2e70bf5af5b9b5de7
163+
flutter_local_notifications: a5a732f069baa862e728d839dd2ebb904737effb
164+
geocoding_ios: 33776c9ebb98d037b5e025bb0e7537f6dd19646e
165+
geolocator_apple: ab36aa0e8b7d7a2d7639b3b4e48308394e8cef5e
166+
GoogleDataTransport: aae35b7ea0c09004c3797d53c8c41f66f219d6a7
167+
GoogleUtilities: 00c88b9a86066ef77f0da2fab05f65d7768ed8e1
168+
health: 7c5c1611e2957702338f07d7d2ed4195b6c53f35
169+
image_picker_ios: 7fe1ff8e34c1790d6fff70a32484959f563a928a
170+
nanopb: fad817b59e0457d11a5dfbde799381cd727c1275
171+
package_info_plus: af8e2ca6888548050f16fa2f1938db7b5a5df499
172+
path_provider_foundation: 080d55be775b7414fd5a5ef3ac137b97b097e564
173+
PromisesObjC: f5707f49cb48b9636751c5b2e7d227e43fba9f47
174+
shared_preferences_foundation: 9e1978ff2562383bd5676f64ec4e9aa8fa06a6f7
175+
url_launcher_ios: 694010445543906933d732453a59da0a173ae33d
176+
177+
PODFILE CHECKSUM: e30f02f9d1c72c47bb6344a0a748c9d268180865
178+
179+
COCOAPODS: 1.16.2

frontend/ongi/ios/Runner.xcodeproj/project.pbxproj

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -478,7 +478,7 @@
478478
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
479479
GCC_WARN_UNUSED_FUNCTION = YES;
480480
GCC_WARN_UNUSED_VARIABLE = YES;
481-
IPHONEOS_DEPLOYMENT_TARGET = 13.0;
481+
IPHONEOS_DEPLOYMENT_TARGET = 14.0;
482482
MTL_ENABLE_DEBUG_INFO = NO;
483483
SDKROOT = iphoneos;
484484
SUPPORTED_PLATFORMS = iphoneos;
@@ -496,7 +496,7 @@
496496
CLANG_ENABLE_MODULES = YES;
497497
CODE_SIGN_ENTITLEMENTS = Runner/Runner.entitlements;
498498
CURRENT_PROJECT_VERSION = 9;
499-
DEVELOPMENT_TEAM = KWQM9A8724;
499+
DEVELOPMENT_TEAM = 55D5UTU9R9;
500500
ENABLE_BITCODE = NO;
501501
INFOPLIST_FILE = Runner/Info.plist;
502502
INFOPLIST_KEY_CFBundleDisplayName = "온기";
@@ -614,7 +614,7 @@
614614
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
615615
GCC_WARN_UNUSED_FUNCTION = YES;
616616
GCC_WARN_UNUSED_VARIABLE = YES;
617-
IPHONEOS_DEPLOYMENT_TARGET = 13.0;
617+
IPHONEOS_DEPLOYMENT_TARGET = 14.0;
618618
MTL_ENABLE_DEBUG_INFO = YES;
619619
ONLY_ACTIVE_ARCH = YES;
620620
SDKROOT = iphoneos;
@@ -665,7 +665,7 @@
665665
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
666666
GCC_WARN_UNUSED_FUNCTION = YES;
667667
GCC_WARN_UNUSED_VARIABLE = YES;
668-
IPHONEOS_DEPLOYMENT_TARGET = 13.0;
668+
IPHONEOS_DEPLOYMENT_TARGET = 14.0;
669669
MTL_ENABLE_DEBUG_INFO = NO;
670670
SDKROOT = iphoneos;
671671
SUPPORTED_PLATFORMS = iphoneos;
@@ -685,7 +685,7 @@
685685
CLANG_ENABLE_MODULES = YES;
686686
CODE_SIGN_ENTITLEMENTS = Runner/Runner.entitlements;
687687
CURRENT_PROJECT_VERSION = 9;
688-
DEVELOPMENT_TEAM = KWQM9A8724;
688+
DEVELOPMENT_TEAM = 55D5UTU9R9;
689689
ENABLE_BITCODE = NO;
690690
INFOPLIST_FILE = Runner/Info.plist;
691691
INFOPLIST_KEY_CFBundleDisplayName = "온기";
@@ -714,7 +714,7 @@
714714
CLANG_ENABLE_MODULES = YES;
715715
CODE_SIGN_ENTITLEMENTS = Runner/Runner.entitlements;
716716
CURRENT_PROJECT_VERSION = 9;
717-
DEVELOPMENT_TEAM = KWQM9A8724;
717+
DEVELOPMENT_TEAM = 55D5UTU9R9;
718718
ENABLE_BITCODE = NO;
719719
INFOPLIST_FILE = Runner/Info.plist;
720720
INFOPLIST_KEY_CFBundleDisplayName = "온기";

0 commit comments

Comments
 (0)