Environment
Describe the bug
I built an android app bundle (.aab) and installed it on my phone. That was when I noticed that half of my pages were blank for no reason. The reason for this was that in some pages I had a "$parents['BottomNavigation']" reference in order to use certain properties from my root binding context, so I checked command parameters and problem was gone when I removed '--env.uglify'.
To Reproduce
Add a '$parents' root binding inside one of application pages (e.g. $parents['Frame']).
Then, build and install application using the following command:
tns build android --release --bundle --env.uglify --key-store-path
Execute command again after removing '--env.uglify' to notice the difference.
Expected behavior
Bundle should be exported without issues.
Sample project
A correct description of this issue has been made here: https://github.com/NativeScript/nativescript-dev-webpack/issues/1142
Most helpful comment
A correct description of this issue has been made here: https://github.com/NativeScript/nativescript-dev-webpack/issues/1142