From f044fe39dfa70bc63b0cff1d4914470e1df18f60 Mon Sep 17 00:00:00 2001 From: "opacity@t-win.kr" Date: Fri, 29 Aug 2025 09:46:42 +0900 Subject: [PATCH] =?UTF-8?q?Revert=20"launchparams=20=EC=A0=95=EB=B3=B4=20?= =?UTF-8?q?=ED=99=95=EC=9D=B8"?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This reverts commit 162fe770681680aca99ee7ceb26f36048a5f55c1. --- .../src/views/MainView/MainView.jsx | 78 +++++++++++-------- 1 file changed, 44 insertions(+), 34 deletions(-) diff --git a/com.twin.app.shoptime/src/views/MainView/MainView.jsx b/com.twin.app.shoptime/src/views/MainView/MainView.jsx index c96b7f3b..55859d22 100644 --- a/com.twin.app.shoptime/src/views/MainView/MainView.jsx +++ b/com.twin.app.shoptime/src/views/MainView/MainView.jsx @@ -837,11 +837,12 @@ export default function MainView({ className, initService }) { opacity: "0.9", zIndex: "999", backgroundColor: "rgba(0,0,0,0.8)", - padding: "5px", + padding: "15px", width: "600px", - height: "800px", + height: "400px", borderRadius: "8px", fontFamily: "monospace", + overflow: "auto", boxSizing: "border-box", }} > @@ -849,30 +850,62 @@ export default function MainView({ className, initService }) { style={{ color: "#00ff00", fontWeight: "bold", - marginBottom: "5px", - fontSize: "10px", + marginBottom: "15px", + fontSize: "14px", }} > πŸ”— λ”₯링크 디버그 정보 {/* contentTarget 정보 */} -
-
πŸ“± Redux contentTarget:
-
{deepLinkInfo.contentTarget || "μ—†μŒ"}
+
+
+ πŸ“± Redux contentTarget: +
+
+ {deepLinkInfo.contentTarget || "μ—†μŒ"} +
+
+ isDeepLink: {deepLinkInfo.isDeepLink ? "true" : "false"} +
+ {/* launchParams 정보 */} -
-
+
+
πŸ“± window.PalmSystem.launchParams:
-
+
{(() => { try { // window와 PalmSystem 쑴재 μ—¬λΆ€ 확인 if (typeof window !== "object") { return "❌ window 객체 μ—†μŒ"; } + if (window.PalmSystem) { + return JSON.stringify(window.PalmSystem); + } if (!window.PalmSystem) { return "❌ PalmSystem μ—†μŒ"; } @@ -887,36 +920,13 @@ export default function MainView({ className, initService }) { // JSON νŒŒμ‹± μ‹œλ„ const parsed = JSON.parse(window.PalmSystem.launchParams); - return JSON.stringify(parsed); + return JSON.stringify(parsed, null, 2); } catch (e) { return `❌ νŒŒμ‹± μ—λŸ¬: ${e.message}\n원본 κ°’: ${window.PalmSystem?.launchParams || "undefined"}`; } })()}
- {/* PalmSystem 전체 정보 */} -
-
πŸ“± window.PalmSystem 정보:
-
- {(() => { - try { - if (typeof window !== "object") { - return "❌ window 객체 μ—†μŒ"; - } - if (!window.PalmSystem) { - return "❌ PalmSystem μ—†μŒ"; - } - - // PalmSystem의 λͺ¨λ“  속성 확인 - const palmSystemInfo = JSON.stringify(window.PalmSystem); - - return palmSystemInfo; - } catch (e) { - return `❌ μ—λŸ¬: ${e.message}`; - } - })()} -
-
);