Skip to content

Commit

Permalink
Merge pull request #105 from DearMyPeace/SS-42-FE-iOS-iap
Browse files Browse the repository at this point in the history
feat: iOS 로그인, 인앱결제 추가
  • Loading branch information
chanhihi authored Dec 21, 2024
2 parents 523b281 + 425a22a commit 4ed3214
Show file tree
Hide file tree
Showing 24 changed files with 561 additions and 204 deletions.
5 changes: 4 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@ start:
ios:
npm run ios

ios-cc:
npm run ios -- reset-cache

web:
npm run start-react

Expand All @@ -27,7 +30,7 @@ npm:
sudo npm install

pod:
cd ios && pod install
cd ios && pod install --repo-update

repod:
cd ios && pod deintegrate && pod cache clean --all && pod install
Expand Down
2 changes: 1 addition & 1 deletion ios/Podfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ require Pod::Executable.execute_command('node', ['-p',
{paths: [process.argv[1]]},
)', __dir__]).strip

platform :ios, '12.0'
platform :ios, '16.0'
prepare_react_native_project!

linkage = ENV['USE_FRAMEWORKS']
Expand Down
8 changes: 7 additions & 1 deletion ios/Podfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -1218,6 +1218,8 @@ PODS:
- RNGoogleSignin (12.2.1):
- GoogleSignIn (~> 7.1)
- React-Core
- RNIap (12.15.7):
- React-Core
- RNReanimated (3.12.1):
- DoubleConversion
- glog
Expand Down Expand Up @@ -1331,6 +1333,7 @@ DEPENDENCIES:
- "RNCPicker (from `../node_modules/@react-native-picker/picker`)"
- RNGestureHandler (from `../node_modules/react-native-gesture-handler`)
- "RNGoogleSignin (from `../node_modules/@react-native-google-signin/google-signin`)"
- RNIap (from `../node_modules/react-native-iap`)
- RNReanimated (from `../node_modules/react-native-reanimated`)
- RNScreens (from `../node_modules/react-native-screens`)
- RNSVG (from `../node_modules/react-native-svg`)
Expand Down Expand Up @@ -1471,6 +1474,8 @@ EXTERNAL SOURCES:
:path: "../node_modules/react-native-gesture-handler"
RNGoogleSignin:
:path: "../node_modules/@react-native-google-signin/google-signin"
RNIap:
:path: "../node_modules/react-native-iap"
RNReanimated:
:path: "../node_modules/react-native-reanimated"
RNScreens:
Expand Down Expand Up @@ -1548,12 +1553,13 @@ SPEC CHECKSUMS:
RNCPicker: b7873ba797dc586bfaf3307d737cbdc620a9ff3e
RNGestureHandler: 2282cfbcf86c360d29f44ace393203afd5c6cff7
RNGoogleSignin: 08dc4ba7eac2096c7fecfe109f0950fa4683c803
RNIap: f3ca6e7597afccb2c1631de97d88f2e33b10dafd
RNReanimated: f9192536fa8a312c737eaf15c905f78831193ef1
RNScreens: b32a9ff15bea7fcdbe5dff6477bc503f792b1208
RNSVG: a48668fd382115bc89761ce291a81c4ca5f2fd2e
SocketRocket: abac6f5de4d4d62d24e11868d7a2f427e0ef940d
Yoga: 2f71ecf38d934aecb366e686278102a51679c308

PODFILE CHECKSUM: 1d00608900c8cecda3f7bbc25d8737cc4de0b6bd
PODFILE CHECKSUM: ae6856624853fcfa19d8e2184e3bae1edd3762ac

COCOAPODS: 1.15.2
68 changes: 33 additions & 35 deletions ios/dearmypeace.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
37709B0C850C4E079916FAAF /* GowunBatang-Regular.ttf in Resources */ = {isa = PBXBuildFile; fileRef = 69C39DA37EE04490A92B2DD3 /* GowunBatang-Regular.ttf */; };
64880C4F2C3283F9009E2304 /* GoogleService-Info.plist in Resources */ = {isa = PBXBuildFile; fileRef = 64880C4E2C3283F8009E2304 /* GoogleService-Info.plist */; };
64880C532C33C1BC009E2304 /* Kalam-Bold.ttf in Resources */ = {isa = PBXBuildFile; fileRef = 64880C502C33C1BC009E2304 /* Kalam-Bold.ttf */; };
64F3ABE52CE76EF5006464FD /* StoreKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 64F3ABE42CE76EF5006464FD /* StoreKit.framework */; };
81AB9BB82411601600AC10FF /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 81AB9BB72411601600AC10FF /* LaunchScreen.storyboard */; };
EEA3DB0D7E4A80F3F1CF1AC3 /* libPods-dearmypeace-dearmypeaceTests.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 71E790C2D11877C38E4C93F6 /* libPods-dearmypeace-dearmypeaceTests.a */; };
FC7A548B569647A7B0A537E7 /* GowunBatang-Bold.ttf in Resources */ = {isa = PBXBuildFile; fileRef = C134CBC23561433A9B1EA77C /* GowunBatang-Bold.ttf */; };
Expand Down Expand Up @@ -47,6 +48,7 @@
64880C4E2C3283F8009E2304 /* GoogleService-Info.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; name = "GoogleService-Info.plist"; path = "../key/GoogleService-Info.plist"; sourceTree = "<group>"; };
64880C502C33C1BC009E2304 /* Kalam-Bold.ttf */ = {isa = PBXFileReference; lastKnownFileType = file; name = "Kalam-Bold.ttf"; path = "../src/assets/fonts/Kalam-Bold.ttf"; sourceTree = "<group>"; };
64C8F1AC2C2BFBBD00CAC7F8 /* dearmypeace.entitlements */ = {isa = PBXFileReference; lastKnownFileType = text.plist.entitlements; name = dearmypeace.entitlements; path = dearmypeace/dearmypeace.entitlements; sourceTree = "<group>"; };
64F3ABE42CE76EF5006464FD /* StoreKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = StoreKit.framework; path = System/Library/Frameworks/StoreKit.framework; sourceTree = SDKROOT; };
69C39DA37EE04490A92B2DD3 /* GowunBatang-Regular.ttf */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = unknown; name = "GowunBatang-Regular.ttf"; path = "../src/assets/fonts/GowunBatang-Regular.ttf"; sourceTree = "<group>"; };
71E790C2D11877C38E4C93F6 /* libPods-dearmypeace-dearmypeaceTests.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = "libPods-dearmypeace-dearmypeaceTests.a"; sourceTree = BUILT_PRODUCTS_DIR; };
72431CFA959C8F6262843DC9 /* PrivacyInfo.xcprivacy */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xml; name = PrivacyInfo.xcprivacy; path = dearmypeace/PrivacyInfo.xcprivacy; sourceTree = "<group>"; };
Expand All @@ -72,6 +74,7 @@
buildActionMask = 2147483647;
files = (
00E393ADA26EB29D6592BA6D /* libPods-dearmypeace.a in Frameworks */,
64F3ABE52CE76EF5006464FD /* StoreKit.framework in Frameworks */,
);
runOnlyForDeploymentPostprocessing = 0;
};
Expand Down Expand Up @@ -115,6 +118,7 @@
2D16E6871FA4F8E400B85C8A /* Frameworks */ = {
isa = PBXGroup;
children = (
64F3ABE42CE76EF5006464FD /* StoreKit.framework */,
ED297162215061F000B7C4FE /* JavaScriptCore.framework */,
01CBCA0C2B5A7C70184E05B7 /* libPods-dearmypeace.a */,
71E790C2D11877C38E4C93F6 /* libPods-dearmypeace-dearmypeaceTests.a */,
Expand All @@ -133,8 +137,6 @@
isa = PBXGroup;
children = (
64880C502C33C1BC009E2304 /* Kalam-Bold.ttf */,
64880C512C33C1BC009E2304 /* Kalam-Light.ttf */,
64880C522C33C1BC009E2304 /* Kalam-Regular.ttf */,
13B07FAE1A68108700A75B9A /* dearmypeace */,
832341AE1AAA6A7D00B99B32 /* Libraries */,
00E356EF1AD99517003FC87E /* dearmypeaceTests */,
Expand Down Expand Up @@ -188,8 +190,8 @@
00E356EA1AD99517003FC87E /* Sources */,
00E356EB1AD99517003FC87E /* Frameworks */,
00E356EC1AD99517003FC87E /* Resources */,
CD8208F9E4DD694FEDFA382E /* [CP] Embed Pods Frameworks */,
93B793BEACE5B972264B349A /* [CP] Copy Pods Resources */,
2CC47764A24170CD7B3A6DC7 /* [CP] Embed Pods Frameworks */,
);
buildRules = (
);
Expand All @@ -210,8 +212,8 @@
13B07F8C1A680F5B00A75B9A /* Frameworks */,
13B07F8E1A680F5B00A75B9A /* Resources */,
00DD1BFF1BD5951E006B06BC /* Bundle React Native code and images */,
0B7B309510DCAB7301505DBF /* [CP] Embed Pods Frameworks */,
DE4D48098B6B8157BC4B6C59 /* [CP] Copy Pods Resources */,
04F4B9A2B754AE0B811C8B49 /* [CP] Embed Pods Frameworks */,
);
buildRules = (
);
Expand All @@ -235,7 +237,7 @@
TestTargetID = 13B07F861A680F5B00A75B9A;
};
13B07F861A680F5B00A75B9A = {
LastSwiftMigration = 1120;
LastSwiftMigration = 1610;
};
};
};
Expand Down Expand Up @@ -299,7 +301,7 @@
shellPath = /bin/sh;
shellScript = "set -e\n\nWITH_ENVIRONMENT=\"$REACT_NATIVE_PATH/scripts/xcode/with-environment.sh\"\nREACT_NATIVE_XCODE=\"$REACT_NATIVE_PATH/scripts/react-native-xcode.sh\"\n\n/bin/sh -c \"$WITH_ENVIRONMENT $REACT_NATIVE_XCODE\"\n";
};
0B7B309510DCAB7301505DBF /* [CP] Embed Pods Frameworks */ = {
04F4B9A2B754AE0B811C8B49 /* [CP] Embed Pods Frameworks */ = {
isa = PBXShellScriptBuildPhase;
buildActionMask = 2147483647;
files = (
Expand All @@ -316,6 +318,23 @@
shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-dearmypeace/Pods-dearmypeace-frameworks.sh\"\n";
showEnvVarsInLog = 0;
};
2CC47764A24170CD7B3A6DC7 /* [CP] Embed Pods Frameworks */ = {
isa = PBXShellScriptBuildPhase;
buildActionMask = 2147483647;
files = (
);
inputFileListPaths = (
"${PODS_ROOT}/Target Support Files/Pods-dearmypeace-dearmypeaceTests/Pods-dearmypeace-dearmypeaceTests-frameworks-${CONFIGURATION}-input-files.xcfilelist",
);
name = "[CP] Embed Pods Frameworks";
outputFileListPaths = (
"${PODS_ROOT}/Target Support Files/Pods-dearmypeace-dearmypeaceTests/Pods-dearmypeace-dearmypeaceTests-frameworks-${CONFIGURATION}-output-files.xcfilelist",
);
runOnlyForDeploymentPostprocessing = 0;
shellPath = /bin/sh;
shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-dearmypeace-dearmypeaceTests/Pods-dearmypeace-dearmypeaceTests-frameworks.sh\"\n";
showEnvVarsInLog = 0;
};
7007549C98F95F7B75E45874 /* [CP] Check Pods Manifest.lock */ = {
isa = PBXShellScriptBuildPhase;
buildActionMask = 2147483647;
Expand Down Expand Up @@ -377,23 +396,6 @@
shellScript = "diff \"${PODS_PODFILE_DIR_PATH}/Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [ $? != 0 ] ; then\n # print error to STDERR\n echo \"error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\" >&2\n exit 1\nfi\n# This output is used by Xcode 'outputs' to avoid re-running this script phase.\necho \"SUCCESS\" > \"${SCRIPT_OUTPUT_FILE_0}\"\n";
showEnvVarsInLog = 0;
};
CD8208F9E4DD694FEDFA382E /* [CP] Embed Pods Frameworks */ = {
isa = PBXShellScriptBuildPhase;
buildActionMask = 2147483647;
files = (
);
inputFileListPaths = (
"${PODS_ROOT}/Target Support Files/Pods-dearmypeace-dearmypeaceTests/Pods-dearmypeace-dearmypeaceTests-frameworks-${CONFIGURATION}-input-files.xcfilelist",
);
name = "[CP] Embed Pods Frameworks";
outputFileListPaths = (
"${PODS_ROOT}/Target Support Files/Pods-dearmypeace-dearmypeaceTests/Pods-dearmypeace-dearmypeaceTests-frameworks-${CONFIGURATION}-output-files.xcfilelist",
);
runOnlyForDeploymentPostprocessing = 0;
shellPath = /bin/sh;
shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-dearmypeace-dearmypeaceTests/Pods-dearmypeace-dearmypeaceTests-frameworks.sh\"\n";
showEnvVarsInLog = 0;
};
DE4D48098B6B8157BC4B6C59 /* [CP] Copy Pods Resources */ = {
isa = PBXShellScriptBuildPhase;
buildActionMask = 2147483647;
Expand Down Expand Up @@ -506,12 +508,12 @@
DEVELOPMENT_TEAM = QUAC995NAA;
ENABLE_BITCODE = NO;
INFOPLIST_FILE = dearmypeace/Info.plist;
IPHONEOS_DEPLOYMENT_TARGET = 15.0;
IPHONEOS_DEPLOYMENT_TARGET = 16.0;
LD_RUNPATH_SEARCH_PATHS = (
"$(inherited)",
"@executable_path/Frameworks",
);
MARKETING_VERSION = 1.0;
MARKETING_VERSION = 1.0.1;
OTHER_LDFLAGS = (
"$(inherited)",
"-ObjC",
Expand All @@ -520,6 +522,7 @@
PRODUCT_BUNDLE_IDENTIFIER = site.peace.my.dear.ios;
PRODUCT_NAME = dearmypeace;
PROVISIONING_PROFILE_SPECIFIER = "";
SWIFT_OBJC_BRIDGING_HEADER = "dearmypeace-Bridging-Header.h";
SWIFT_OPTIMIZATION_LEVEL = "-Onone";
SWIFT_VERSION = 5.0;
VERSIONING_SYSTEM = "apple-generic";
Expand All @@ -538,12 +541,12 @@
CURRENT_PROJECT_VERSION = 1;
DEVELOPMENT_TEAM = QUAC995NAA;
INFOPLIST_FILE = dearmypeace/Info.plist;
IPHONEOS_DEPLOYMENT_TARGET = 15.0;
IPHONEOS_DEPLOYMENT_TARGET = 16.0;
LD_RUNPATH_SEARCH_PATHS = (
"$(inherited)",
"@executable_path/Frameworks",
);
MARKETING_VERSION = 1.0;
MARKETING_VERSION = 1.0.1;
OTHER_LDFLAGS = (
"$(inherited)",
"-ObjC",
Expand All @@ -552,6 +555,7 @@
PRODUCT_BUNDLE_IDENTIFIER = site.peace.my.dear.ios;
PRODUCT_NAME = dearmypeace;
PROVISIONING_PROFILE_SPECIFIER = "";
SWIFT_OBJC_BRIDGING_HEADER = "dearmypeace-Bridging-Header.h";
SWIFT_VERSION = 5.0;
VERSIONING_SYSTEM = "apple-generic";
};
Expand Down Expand Up @@ -630,10 +634,7 @@
"-DFOLLY_CFG_NO_COROUTINES=1",
"-DFOLLY_HAVE_CLOCK_GETTIME=1",
);
OTHER_LDFLAGS = (
"$(inherited)",
" ",
);
OTHER_LDFLAGS = "$(inherited) ";
REACT_NATIVE_PATH = "${PODS_ROOT}/../../node_modules/react-native";
SDKROOT = iphoneos;
USE_HERMES = true;
Expand Down Expand Up @@ -705,10 +706,7 @@
"-DFOLLY_CFG_NO_COROUTINES=1",
"-DFOLLY_HAVE_CLOCK_GETTIME=1",
);
OTHER_LDFLAGS = (
"$(inherited)",
" ",
);
OTHER_LDFLAGS = "$(inherited) ";
REACT_NATIVE_PATH = "${PODS_ROOT}/../../node_modules/react-native";
SDKROOT = iphoneos;
USE_HERMES = true;
Expand Down
78 changes: 0 additions & 78 deletions ios/dearmypeace/Info.plist

This file was deleted.

23 changes: 20 additions & 3 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@
"react-native-gesture-handler": "^2.16.2",
"react-native-gifted-charts": "^1.4.47",
"react-native-linear-gradient": "^2.8.3",
"react-native-iap": "^12.15.7",
"react-native-markdown-display": "^7.0.2",
"react-native-paper": "^5.12.3",
"react-native-reanimated": "^3.12.1",
Expand Down
Binary file added src/assets/images/katalk.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit 4ed3214

Please sign in to comment.