plugins icon indicating copy to clipboard operation
plugins copied to clipboard

[@nativescript/google-signin] Interfaces is not defined in worker

Open vallemar opened this issue 1 year ago • 2 comments

Hi, I have a problem when I import this file in worker, the Interfazes is not defined https://github.com/NativeScript/plugins/blob/main/packages/google-signin/index.android.ts#L254

I imported globals but not help the output .js code is

ClickListenerImpl = __decorate([
        Interfaces([android.view.View.OnClickListener]),
        __metadata("design:paramtypes", [typeof (_a = typeof WeakRef !== "undefined" && WeakRef) === "function" ? _a : Object])
    ], ClickListenerImpl)

vallemar avatar Jan 18 '24 19:01 vallemar

What version of the runtime was this ?

triniwiz avatar Jan 19 '24 00:01 triniwiz

Hi @triniwiz, I have this versions:

 "dependencies": {
    "@nativescript/core": "^8.6.2",
    "@nativescript/google-signin": "^2.0.6",
  },
  "devDependencies": {
    "@nativescript/android": "next",
    "@nativescript/ios": "next",
    "@nativescript/types": "~8.5.0",
    "@nativescript/webpack": "~5.0.0",
  }

vallemar avatar Jan 19 '24 13:01 vallemar