From c7f80b577c1de60cd0a105f3aaf0d1c314f3150d Mon Sep 17 00:00:00 2001 From: Dan Imhoff Date: Mon, 4 Jan 2021 17:00:49 -0800 Subject: [PATCH] fix(core): fix $$typeof() not implemented error (#4013) --- core/src/runtime.ts | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/core/src/runtime.ts b/core/src/runtime.ts index 7e492046e4..43beea883e 100644 --- a/core/src/runtime.ts +++ b/core/src/runtime.ts @@ -87,6 +87,11 @@ export const createCapacitor = (win: WindowCapacitor): CapacitorInstance => { return func; } + // https://github.com/facebook/react/issues/20030 + if (prop === '$$typeof') { + return undefined; + } + throw new CapacitorException( `"${pluginName}.${ prop as any