DEV Community

Discussion on: Android continuous background services with NativeScript

Collapse
 
ozymandiasthegreat profile image
Tomas Ravinskas

I'm sorry, I'm not getting notifications for comments.
There are 2 possibilities for this error. First, you should make sure importHelpers is false in tsconfig.json. Next, and this only applies to NativeScript 7, you must put @NativeClass() decorator above all other class decorators.