초보개발자입니다.
javacriptSDK 사용해서 만든 web에서는
카톡 공유하기 기능 정상입니다.
그런데, electron.js 로 만든 window에서 Kakao.Share는 Error(4011)나옵니다.
button click하면 code 실행은 되는거 같은데요,
-------------------------------------------------------------------------------
runtime-core.esm-bundler.js:40 [Vue warn]: Unhandled error during execution of native event handler
at <Button onClick=fn<shareMsgPharm> >
at <MessageBoard>
at <App>
------------------------------------------------------------------------------`코드`
warn2 @ runtime-core.esm-bundler.js:40
logError @ runtime-core.esm-bundler.js:230
handleError @ runtime-core.esm-bundler.js:222
callWithErrorHandling @ runtime-core.esm-bundler.js:176
callWithAsyncErrorHandling @ runtime-core.esm-bundler.js:182
invoker @ runtime-dom.esm-bundler.js:345
runtime-core.esm-bundler.js:236 Uncaught TypeError: Cannot read properties of null (reading 'focus')
at an (kakao.min.js:99:20337)
at Object.send (kakao.min.js:99:61597)
at ro (kakao.min.js:99:68261)
at Object.sendCustom (kakao.min.js:99:69126)
at shareMsgPharm (MessageBoard.vue? [sm]:72:17)
at call (call.js:6:16)
at handleClick2 (Button.js:105:21)
at callWithErrorHandling (runtime-core.esm-bundler.js:173:22)
at callWithAsyncErrorHandling (runtime-core.esm-bundler.js:182:21)
at HTMLButtonElement.invoker (runtime-dom.esm-bundler.js:345:9)
해결책 있을까요?