TV MAC ADRESS 요청 루나 API 함수 추가 2차

This commit is contained in:
dongyoungKo
2025-04-18 16:37:34 +09:00
parent a6799503b8
commit 4e1193aba6
7 changed files with 49 additions and 43 deletions

View File

@@ -422,9 +422,9 @@ export const enableNotification = ({ onSuccess, onFailure, onComplete }) => {
};
export const getConnectionInfo = ({ onSuccess, onFailure, onComplete }) => {
if (process.env.REACT_APP_MODE === "DEBUG") {
console.log("LUNA SEND getConnectionInfo");
return "Some Hard Coded Mock Data";
if (typeof window === "object" && !window.PalmSystem) {
console.log("LUNA SEND disableConnectionInfo");
return;
} else {
return new LS2Request().send({
service: "luna://com.webos.service.connectionmanager",