NativeScript / nativescript-app-sync

♻️ Update your app without going through the app store!
MIT License
125 stars 24 forks source link

AOT and snapshots not supported #64

Open AnthonyLenglet opened 4 years ago

AnthonyLenglet commented 4 years ago

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

EddyVerbruggen commented 4 years ago

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?

AnthonyLenglet commented 4 years ago

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 ?