diff --git a/com.twin.app.shoptime/src/views/MainView/MainView.jsx b/com.twin.app.shoptime/src/views/MainView/MainView.jsx index 55859d22..c96b7f3b 100644 --- a/com.twin.app.shoptime/src/views/MainView/MainView.jsx +++ b/com.twin.app.shoptime/src/views/MainView/MainView.jsx @@ -837,12 +837,11 @@ export default function MainView({ className, initService }) { opacity: "0.9", zIndex: "999", backgroundColor: "rgba(0,0,0,0.8)", - padding: "15px", + padding: "5px", width: "600px", - height: "400px", + height: "800px", borderRadius: "8px", fontFamily: "monospace", - overflow: "auto", boxSizing: "border-box", }} > @@ -850,62 +849,30 @@ export default function MainView({ className, initService }) { style={{ color: "#00ff00", fontWeight: "bold", - marginBottom: "15px", - fontSize: "14px", + marginBottom: "5px", + fontSize: "10px", }} > πŸ”— λ”₯링크 디버그 정보 {/* contentTarget 정보 */} -
-
- πŸ“± Redux contentTarget: -
-
- {deepLinkInfo.contentTarget || "μ—†μŒ"} -
-
- isDeepLink: {deepLinkInfo.isDeepLink ? "true" : "false"} -
+
+
πŸ“± Redux contentTarget:
+
{deepLinkInfo.contentTarget || "μ—†μŒ"}
- {/* 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 μ—†μŒ"; } @@ -920,13 +887,36 @@ export default function MainView({ className, initService }) { // JSON νŒŒμ‹± μ‹œλ„ const parsed = JSON.parse(window.PalmSystem.launchParams); - return JSON.stringify(parsed, null, 2); + return JSON.stringify(parsed); } 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}`; + } + })()} +
+
);