We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
Cannot read property 'Symbol(Symbol.toStringTag)' of undefined
1 parent 7731a31 commit 3fcc78eCopy full SHA for 3fcc78e
src/canvas.android.ts
@@ -152,7 +152,7 @@ class Canvas {
152
}
153
get(target: Canvas, name, receiver) {
154
const native = this._native;
155
- if (canvasAugmentedMethods.indexOf(name) >= 0 || native[name]) {
+ if (native && (canvasAugmentedMethods.indexOf(name) >= 0 || native[name])) {
156
return function (...args) {
157
const methodName = name;
158
for (let index = 0; index < args.length; index++) {
0 commit comments