nativescript-app-sync icon indicating copy to clipboard operation
nativescript-app-sync copied to clipboard

AOT and snapshots not supported

Open AnthonyLenglet opened this issue 5 years ago • 2 comments

We've been trying to figure out how to make this plugin work for us for a really long time, and after fiddling with this, we ended up getting it working on our end by removing --env.aot and --env.snapshot form our build process, so it seems this plugin doesn't support either options being applied to the release build

AnthonyLenglet avatar Jun 08 '20 10:06 AnthonyLenglet

I can imagine snapshots are a no-go, but I wonder why --env.aot would not work. It's simply different content being written in the "app" folder mentioned here, right?

EddyVerbruggen avatar Jun 12 '20 18:06 EddyVerbruggen

I can imagine snapshots are a no-go, but I wonder why --env.aot would not work. It's simply different content being written in the "app" folder mentioned here, right?

in a normal angular app that is what's happening IIRC, not sure if nativescript acts the same way in that aspect though ?

AnthonyLenglet avatar Jun 15 '20 11:06 AnthonyLenglet