Closed fpaaske closed 4 years ago
Any news on this ? I had opened https://github.com/NativeScript/nativescript-dev-webpack/issues/564 and still having the problem in tns 6.1.2
I found the solution. "noEmitHelpers": true
, must be present in compilerOptions
in tsconfig.json
while build with env.uglify
with custom activity.
Environment tns info
✔ Component nativescript has 6.1.0 version and is up to date. ✔ Component tns-core-modules has 6.1.0 version and is up to date. ✔ Component tns-android has 6.1.0 version and is up to date. ✔ Component tns-ios has 6.1.0 version and is up to date.
node -v v12.8.0
Relvant section of webpack.config.js
call-state-listener.ts:
AndroidManifest.xml
Describe the bug
When using the --env.uglify flag, the generated .class-file is missing from the apk-file. Without the flag, it works fine.
Might be related to #564