Skip to content

Commit

Permalink
Revert "[Feat/#71] Add push notification when the message arrived"
Browse files Browse the repository at this point in the history
  • Loading branch information
jihee-daily authored May 26, 2024
1 parent 6fa668d commit cc5d7ff
Show file tree
Hide file tree
Showing 10 changed files with 82 additions and 443 deletions.
68 changes: 21 additions & 47 deletions DDooing/DDooing.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,6 @@
objects = {

/* Begin PBXBuildFile section */
10DDE2562C00F07C0084E1BF /* GoogleService-Info.plist in Resources */ = {isa = PBXBuildFile; fileRef = 10DDE2552C00F07C0084E1BF /* GoogleService-Info.plist */; };
10DDE2572C00F07C0084E1BF /* GoogleService-Info.plist in Resources */ = {isa = PBXBuildFile; fileRef = 10DDE2552C00F07C0084E1BF /* GoogleService-Info.plist */; };
10DDE2582C00F07C0084E1BF /* GoogleService-Info.plist in Resources */ = {isa = PBXBuildFile; fileRef = 10DDE2552C00F07C0084E1BF /* GoogleService-Info.plist */; };
10DDE2592C00F07C0084E1BF /* GoogleService-Info.plist in Resources */ = {isa = PBXBuildFile; fileRef = 10DDE2552C00F07C0084E1BF /* GoogleService-Info.plist */; };
10DDE25B2C00F7F40084E1BF /* NotificationDataModel.swift in Sources */ = {isa = PBXBuildFile; fileRef = 10DDE25A2C00F7F40084E1BF /* NotificationDataModel.swift */; };
10DDE25C2C00F7F40084E1BF /* NotificationDataModel.swift in Sources */ = {isa = PBXBuildFile; fileRef = 10DDE25A2C00F7F40084E1BF /* NotificationDataModel.swift */; };
10DDE25D2C00F7F40084E1BF /* NotificationDataModel.swift in Sources */ = {isa = PBXBuildFile; fileRef = 10DDE25A2C00F7F40084E1BF /* NotificationDataModel.swift */; };
10DDE25E2C00F7F40084E1BF /* NotificationDataModel.swift in Sources */ = {isa = PBXBuildFile; fileRef = 10DDE25A2C00F7F40084E1BF /* NotificationDataModel.swift */; };
10DDE2602C00F9AA0084E1BF /* FirebaseMessaging in Frameworks */ = {isa = PBXBuildFile; productRef = 10DDE25F2C00F9AA0084E1BF /* FirebaseMessaging */; };
4F1A593D2BF8892000C3EF2C /* Pretendard-ExtraBold.otf in Resources */ = {isa = PBXBuildFile; fileRef = 4F1A59342BF8892000C3EF2C /* Pretendard-ExtraBold.otf */; };
4F1A593E2BF8892000C3EF2C /* Pretendard-ExtraBold.otf in Resources */ = {isa = PBXBuildFile; fileRef = 4F1A59342BF8892000C3EF2C /* Pretendard-ExtraBold.otf */; };
4F1A593F2BF8892000C3EF2C /* Pretendard-ExtraBold.otf in Resources */ = {isa = PBXBuildFile; fileRef = 4F1A59342BF8892000C3EF2C /* Pretendard-ExtraBold.otf */; };
Expand Down Expand Up @@ -156,9 +147,6 @@
/* End PBXCopyFilesBuildPhase section */

/* Begin PBXFileReference section */
10DDE24D2C00EF2D0084E1BF /* DDooingRelease.entitlements */ = {isa = PBXFileReference; lastKnownFileType = text.plist.entitlements; path = DDooingRelease.entitlements; sourceTree = "<group>"; };
10DDE2552C00F07C0084E1BF /* GoogleService-Info.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; path = "GoogleService-Info.plist"; sourceTree = "<group>"; };
10DDE25A2C00F7F40084E1BF /* NotificationDataModel.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = NotificationDataModel.swift; sourceTree = "<group>"; };
4F1A59342BF8892000C3EF2C /* Pretendard-ExtraBold.otf */ = {isa = PBXFileReference; lastKnownFileType = file; path = "Pretendard-ExtraBold.otf"; sourceTree = "<group>"; };
4F1A59352BF8892000C3EF2C /* Pretendard-ExtraLight.otf */ = {isa = PBXFileReference; lastKnownFileType = file; path = "Pretendard-ExtraLight.otf"; sourceTree = "<group>"; };
4F1A59362BF8892000C3EF2C /* Pretendard-Regular.otf */ = {isa = PBXFileReference; lastKnownFileType = file; path = "Pretendard-Regular.otf"; sourceTree = "<group>"; };
Expand All @@ -173,6 +161,7 @@
4F3F813B2BFDDCEC008C920C /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = "<group>"; };
4F3F813D2BFDDDE2008C920C /* WidgetColor.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = WidgetColor.swift; sourceTree = "<group>"; };
4F3F81532BFE63CA008C920C /* AppModelContainer.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AppModelContainer.swift; sourceTree = "<group>"; };
4F8D878C2BFF84DF006BEF4A /* GoogleService-Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = "GoogleService-Info.plist"; sourceTree = "<group>"; };
4FAD25AC2BF3339A00EBD37A /* DDooing.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = DDooing.app; sourceTree = BUILT_PRODUCTS_DIR; };
4FAD25AF2BF3339A00EBD37A /* DDooingApp.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = DDooingApp.swift; sourceTree = "<group>"; };
4FAD25B12BF3339A00EBD37A /* MainView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = MainView.swift; sourceTree = "<group>"; };
Expand Down Expand Up @@ -213,7 +202,6 @@
files = (
4FD812D32BF87AB900F16ED0 /* FirebaseDatabaseSwift in Frameworks */,
4FD812D12BF87AB900F16ED0 /* FirebaseDatabase in Frameworks */,
10DDE2602C00F9AA0084E1BF /* FirebaseMessaging in Frameworks */,
4FD812CD2BF87AB900F16ED0 /* FirebaseAnalytics in Frameworks */,
4FD812D52BF87AB900F16ED0 /* FirebaseFirestore in Frameworks */,
4FD812CF2BF87AB900F16ED0 /* FirebaseAuth in Frameworks */,
Expand Down Expand Up @@ -294,7 +282,6 @@
children = (
9D79E9362BF5FAD700A05D95 /* MessageModel.swift */,
4F3F81532BFE63CA008C920C /* AppModelContainer.swift */,
10DDE25A2C00F7F40084E1BF /* NotificationDataModel.swift */,
);
path = Models;
sourceTree = "<group>";
Expand Down Expand Up @@ -358,7 +345,7 @@
4FAD25A32BF3339A00EBD37A = {
isa = PBXGroup;
children = (
10DDE2552C00F07C0084E1BF /* GoogleService-Info.plist */,
4F8D878C2BFF84DF006BEF4A /* GoogleService-Info.plist */,
4FBE64CB2BFDCB80008363A0 /* DDooingWidgetExtension.entitlements */,
4FAD25AE2BF3339A00EBD37A /* DDooing */,
4FAD25BF2BF3339B00EBD37A /* DDooingTests */,
Expand All @@ -384,7 +371,6 @@
4FAD25AE2BF3339A00EBD37A /* DDooing */ = {
isa = PBXGroup;
children = (
10DDE24D2C00EF2D0084E1BF /* DDooingRelease.entitlements */,
4F1A595C2BF8896A00C3EF2C /* Info.plist */,
4FAD25B52BF3339B00EBD37A /* Preview Content */,
4F3E652B2BFB14CE00996806 /* Views */,
Expand Down Expand Up @@ -476,7 +462,6 @@
4FD812D22BF87AB900F16ED0 /* FirebaseDatabaseSwift */,
4FD812D42BF87AB900F16ED0 /* FirebaseFirestore */,
4FD812D62BF87AB900F16ED0 /* FirebaseFirestoreSwift */,
10DDE25F2C00F9AA0084E1BF /* FirebaseMessaging */,
);
productName = DDooing;
productReference = 4FAD25AC2BF3339A00EBD37A /* DDooing.app */;
Expand Down Expand Up @@ -600,11 +585,11 @@
isa = PBXResourcesBuildPhase;
buildActionMask = 2147483647;
files = (
4F8D878D2BFF864F006BEF4A /* GoogleService-Info.plist in Resources */,
4FAD25B72BF3339B00EBD37A /* Preview Assets.xcassets in Resources */,
4F1A59492BF8892000C3EF2C /* Pretendard-Bold.otf in Resources */,
4F3F813C2BFDDCEC008C920C /* Assets.xcassets in Resources */,
4F1A59432BF8892000C3EF2C /* Pretendard-Regular.otf in Resources */,
10DDE2562C00F07C0084E1BF /* GoogleService-Info.plist in Resources */,
4F1A59552BF8892000C3EF2C /* Pretendard-SemiBold.otf in Resources */,
4F1A594C2BF8892000C3EF2C /* Pretendard-Thin.otf in Resources */,
4F1A594F2BF8892000C3EF2C /* Pretendard-Black.otf in Resources */,
Expand All @@ -628,7 +613,6 @@
4F1A59442BF8892000C3EF2C /* Pretendard-Regular.otf in Resources */,
4F1A59562BF8892000C3EF2C /* Pretendard-SemiBold.otf in Resources */,
4F1A59502BF8892000C3EF2C /* Pretendard-Black.otf in Resources */,
10DDE2572C00F07C0084E1BF /* GoogleService-Info.plist in Resources */,
4F1A593E2BF8892000C3EF2C /* Pretendard-ExtraBold.otf in Resources */,
);
runOnlyForDeploymentPostprocessing = 0;
Expand All @@ -645,7 +629,6 @@
4F1A59452BF8892000C3EF2C /* Pretendard-Regular.otf in Resources */,
4F1A59572BF8892000C3EF2C /* Pretendard-SemiBold.otf in Resources */,
4F1A59512BF8892000C3EF2C /* Pretendard-Black.otf in Resources */,
10DDE2582C00F07C0084E1BF /* GoogleService-Info.plist in Resources */,
4F1A593F2BF8892000C3EF2C /* Pretendard-ExtraBold.otf in Resources */,
);
runOnlyForDeploymentPostprocessing = 0;
Expand All @@ -665,7 +648,7 @@
4F6D48A22C00BF54008B2A7F /* Pretendard-Black.otf in Resources */,
4F6D48AA2C00BF67008B2A7F /* Pretendard-Thin.otf in Resources */,
4F6D48AD2C00BF8D008B2A7F /* Assets.xcassets in Resources */,
4F8D878E2BFF8650006BEF4A /* GoogleService-Info.plist in Resources */
4F8D878E2BFF8650006BEF4A /* GoogleService-Info.plist in Resources */,
);
runOnlyForDeploymentPostprocessing = 0;
};
Expand All @@ -692,7 +675,6 @@
4FAD25B02BF3339A00EBD37A /* DDooingApp.swift in Sources */,
4F3F81542BFE63CA008C920C /* AppModelContainer.swift in Sources */,
4F1A59592BF8894600C3EF2C /* FontManager.swift in Sources */,
10DDE25B2C00F7F40084E1BF /* NotificationDataModel.swift in Sources */,
4FF515982BF33FD70056531C /* ShowMessageView.swift in Sources */,
);
runOnlyForDeploymentPostprocessing = 0;
Expand All @@ -702,7 +684,6 @@
buildActionMask = 2147483647;
files = (
4F1A595A2BF8894600C3EF2C /* FontManager.swift in Sources */,
10DDE25C2C00F7F40084E1BF /* NotificationDataModel.swift in Sources */,
4FAD25C12BF3339B00EBD37A /* DDooingTests.swift in Sources */,
);
runOnlyForDeploymentPostprocessing = 0;
Expand All @@ -713,7 +694,6 @@
files = (
4FAD25CB2BF3339B00EBD37A /* DDooingUITests.swift in Sources */,
4F1A595B2BF8894600C3EF2C /* FontManager.swift in Sources */,
10DDE25D2C00F7F40084E1BF /* NotificationDataModel.swift in Sources */,
4FAD25CD2BF3339B00EBD37A /* DDooingUITestsLaunchTests.swift in Sources */,
);
runOnlyForDeploymentPostprocessing = 0;
Expand All @@ -736,7 +716,6 @@
4FBE64BC2BFDC940008363A0 /* DDooingWidgetLiveActivity.swift in Sources */,
4F6D489B2C00BEEB008B2A7F /* LoginView.swift in Sources */,
4F3F81402BFDE116008C920C /* WidgetColor.swift in Sources */,
10DDE25E2C00F7F40084E1BF /* NotificationDataModel.swift in Sources */,
4F3F81552BFE63CA008C920C /* AppModelContainer.swift in Sources */,
4F6D48AB2C00BF88008B2A7F /* UserStatusViewModel.swift in Sources */,
4F6D489D2C00BEFC008B2A7F /* PartnerNameView.swift in Sources */,
Expand Down Expand Up @@ -896,7 +875,7 @@
CODE_SIGN_STYLE = Automatic;
CURRENT_PROJECT_VERSION = 1;
DEVELOPMENT_ASSET_PATHS = "\"DDooing/Preview Content\"";
DEVELOPMENT_TEAM = 3GB5WJ43G4;
DEVELOPMENT_TEAM = U6CCD5BT22;
ENABLE_PREVIEWS = YES;
GENERATE_INFOPLIST_FILE = YES;
INFOPLIST_FILE = DDooing/Info.plist;
Expand All @@ -910,7 +889,7 @@
"@executable_path/Frameworks",
);
MARKETING_VERSION = 1.0;
PRODUCT_BUNDLE_IDENTIFIER = com.iOSDevJoy.DDooing;
PRODUCT_BUNDLE_IDENTIFIER = com.Seodongwon.DDooing;
PRODUCT_NAME = "$(TARGET_NAME)";
PROVISIONING_PROFILE_SPECIFIER = "";
SWIFT_EMIT_LOC_STRINGS = YES;
Expand All @@ -925,12 +904,12 @@
ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES;
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor;
CODE_SIGN_ENTITLEMENTS = DDooing/DDooingRelease.entitlements;
CODE_SIGN_ENTITLEMENTS = DDooing/DDooing.entitlements;
CODE_SIGN_IDENTITY = "Apple Development";
CODE_SIGN_STYLE = Automatic;
CURRENT_PROJECT_VERSION = 1;
DEVELOPMENT_ASSET_PATHS = "\"DDooing/Preview Content\"";
DEVELOPMENT_TEAM = 3GB5WJ43G4;
DEVELOPMENT_TEAM = U6CCD5BT22;
ENABLE_PREVIEWS = YES;
GENERATE_INFOPLIST_FILE = YES;
INFOPLIST_FILE = DDooing/Info.plist;
Expand All @@ -944,7 +923,7 @@
"@executable_path/Frameworks",
);
MARKETING_VERSION = 1.0;
PRODUCT_BUNDLE_IDENTIFIER = com.iOSDevJoy.DDooing;
PRODUCT_BUNDLE_IDENTIFIER = com.Seodongwon.DDooing;
PRODUCT_NAME = "$(TARGET_NAME)";
PROVISIONING_PROFILE_SPECIFIER = "";
SWIFT_EMIT_LOC_STRINGS = YES;
Expand All @@ -960,11 +939,11 @@
BUNDLE_LOADER = "$(TEST_HOST)";
CODE_SIGN_STYLE = Automatic;
CURRENT_PROJECT_VERSION = 1;
DEVELOPMENT_TEAM = 3GB5WJ43G4;
DEVELOPMENT_TEAM = U6CCD5BT22;
GENERATE_INFOPLIST_FILE = YES;
IPHONEOS_DEPLOYMENT_TARGET = 17.4;
MARKETING_VERSION = 1.0;
PRODUCT_BUNDLE_IDENTIFIER = com.iOSDevJoy.DDooingTests;
PRODUCT_BUNDLE_IDENTIFIER = com.Seodongwon.DDooingTests;
PRODUCT_NAME = "$(TARGET_NAME)";
SWIFT_EMIT_LOC_STRINGS = NO;
SWIFT_VERSION = 5.0;
Expand All @@ -980,11 +959,11 @@
BUNDLE_LOADER = "$(TEST_HOST)";
CODE_SIGN_STYLE = Automatic;
CURRENT_PROJECT_VERSION = 1;
DEVELOPMENT_TEAM = 3GB5WJ43G4;
DEVELOPMENT_TEAM = U6CCD5BT22;
GENERATE_INFOPLIST_FILE = YES;
IPHONEOS_DEPLOYMENT_TARGET = 17.4;
MARKETING_VERSION = 1.0;
PRODUCT_BUNDLE_IDENTIFIER = com.iOSDevJoy.DDooingTests;
PRODUCT_BUNDLE_IDENTIFIER = com.Seodongwon.DDooingTests;
PRODUCT_NAME = "$(TARGET_NAME)";
SWIFT_EMIT_LOC_STRINGS = NO;
SWIFT_VERSION = 5.0;
Expand All @@ -999,10 +978,10 @@
ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES;
CODE_SIGN_STYLE = Automatic;
CURRENT_PROJECT_VERSION = 1;
DEVELOPMENT_TEAM = 3GB5WJ43G4;
DEVELOPMENT_TEAM = U6CCD5BT22;
GENERATE_INFOPLIST_FILE = YES;
MARKETING_VERSION = 1.0;
PRODUCT_BUNDLE_IDENTIFIER = com.iOSDevJoy.DDooingUITests;
PRODUCT_BUNDLE_IDENTIFIER = com.Seodongwon.DDooingUITests;
PRODUCT_NAME = "$(TARGET_NAME)";
SWIFT_EMIT_LOC_STRINGS = NO;
SWIFT_VERSION = 5.0;
Expand All @@ -1017,10 +996,10 @@
ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES;
CODE_SIGN_STYLE = Automatic;
CURRENT_PROJECT_VERSION = 1;
DEVELOPMENT_TEAM = 3GB5WJ43G4;
DEVELOPMENT_TEAM = U6CCD5BT22;
GENERATE_INFOPLIST_FILE = YES;
MARKETING_VERSION = 1.0;
PRODUCT_BUNDLE_IDENTIFIER = com.iOSDevJoy.DDooingUITests;
PRODUCT_BUNDLE_IDENTIFIER = com.Seodongwon.DDooingUITests;
PRODUCT_NAME = "$(TARGET_NAME)";
SWIFT_EMIT_LOC_STRINGS = NO;
SWIFT_VERSION = 5.0;
Expand All @@ -1038,7 +1017,7 @@
CODE_SIGN_IDENTITY = "Apple Development";
CODE_SIGN_STYLE = Automatic;
CURRENT_PROJECT_VERSION = 1;
DEVELOPMENT_TEAM = 3GB5WJ43G4;
DEVELOPMENT_TEAM = U6CCD5BT22;
GENERATE_INFOPLIST_FILE = YES;
INFOPLIST_FILE = DDooingWidget/Info.plist;
INFOPLIST_KEY_CFBundleDisplayName = DDooingWidget;
Expand All @@ -1049,7 +1028,7 @@
"@executable_path/../../Frameworks",
);
MARKETING_VERSION = 1.0;
PRODUCT_BUNDLE_IDENTIFIER = com.iOSDevJoy.DDooing.DDooingWidget;
PRODUCT_BUNDLE_IDENTIFIER = com.Seodongwon.DDooing.DDooingWidget;
PRODUCT_NAME = "$(TARGET_NAME)";
SKIP_INSTALL = YES;
SWIFT_EMIT_LOC_STRINGS = YES;
Expand All @@ -1067,7 +1046,7 @@
CODE_SIGN_IDENTITY = "Apple Development";
CODE_SIGN_STYLE = Automatic;
CURRENT_PROJECT_VERSION = 1;
DEVELOPMENT_TEAM = 3GB5WJ43G4;
DEVELOPMENT_TEAM = U6CCD5BT22;
GENERATE_INFOPLIST_FILE = YES;
INFOPLIST_FILE = DDooingWidget/Info.plist;
INFOPLIST_KEY_CFBundleDisplayName = DDooingWidget;
Expand All @@ -1078,7 +1057,7 @@
"@executable_path/../../Frameworks",
);
MARKETING_VERSION = 1.0;
PRODUCT_BUNDLE_IDENTIFIER = com.iOSDevJoy.DDooing.DDooingWidget;
PRODUCT_BUNDLE_IDENTIFIER = com.Seodongwon.DDooing.DDooingWidget;
PRODUCT_NAME = "$(TARGET_NAME)";
SKIP_INSTALL = YES;
SWIFT_EMIT_LOC_STRINGS = YES;
Expand Down Expand Up @@ -1149,11 +1128,6 @@
/* End XCRemoteSwiftPackageReference section */

/* Begin XCSwiftPackageProductDependency section */
10DDE25F2C00F9AA0084E1BF /* FirebaseMessaging */ = {
isa = XCSwiftPackageProductDependency;
package = 4FD812C72BF8798A00F16ED0 /* XCRemoteSwiftPackageReference "firebase-ios-sdk" */;
productName = FirebaseMessaging;
};
4FBE64D12BFDD572008363A0 /* FirebaseAnalytics */ = {
isa = XCSwiftPackageProductDependency;
package = 4FD812C72BF8798A00F16ED0 /* XCRemoteSwiftPackageReference "firebase-ios-sdk" */;
Expand Down
4 changes: 1 addition & 3 deletions DDooing/DDooing/DDooing.entitlements
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,13 @@
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>aps-environment</key>
<string>development</string>
<key>com.apple.developer.applesignin</key>
<array>
<string>Default</string>
</array>
<key>com.apple.security.application-groups</key>
<array>
<string>group.com.iOSDevJoy.DDooing</string>
<string>group.com.Seodongwon.DDooing</string>
</array>
</dict>
</plist>
16 changes: 0 additions & 16 deletions DDooing/DDooing/DDooingRelease.entitlements

This file was deleted.

21 changes: 0 additions & 21 deletions DDooing/DDooing/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -2,21 +2,6 @@
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>FirebaseAppDelegateProxyEnabled</key>
<false/>
<key>NSAppTransportSecurity</key>
<dict>
<key>NSExceptionDomains</key>
<dict>
<key>114.70.193.152</key>
<dict>
<key>NSExceptionAllowsInsecureHTTPLoads</key>
<true/>
<key>NSIncludesSubdomains</key>
<true/>
</dict>
</dict>
</dict>
<key>UIAppFonts</key>
<array>
<string>Pretendard-Black.otf</string>
Expand All @@ -29,11 +14,5 @@
<string>Pretendard-SemiBold.otf</string>
<string>Pretendard-Thin.otf</string>
</array>
<key>UIBackgroundModes</key>
<array>
<string>fetch</string>
<string>processing</string>
<string>remote-notification</string>
</array>
</dict>
</plist>
22 changes: 0 additions & 22 deletions DDooing/DDooing/Models/NotificationDataModel.swift

This file was deleted.

Loading

0 comments on commit cc5d7ff

Please sign in to comment.