Live Deploy is not working as expected (Always Debug Mode)


#1

Hi guys,

There are some issues with Live Deploy on my app.

I build the Ionic3 App with the --prod flag, but on start still shows the alert “Deploy: Debug - A newer version if this app is available…This warning only appears in debug builds”… also I get this alert after each start…if I click “Ignore” I have a very very old app version. If I update, i get the current version.

What can be the problem of this? Any ideas?


#2

I’m having the same problem. Did you build in --debug mode?


#3

Nope, I build in --prod mode…


#4

i am seeing the same issue…
did you mange to solve it?


#5

I am having the problem


#6

Have you tried adding the --release flag?


#7

any chance someone from the ionic team can give us some feedback on this. Thanks!


#8

Update your package.json file, the build section…

"build": "ionic-app-scripts build --prod",

#9

that worked nicely. thanks!


#10

I found that by removing the plugin cordova-plugin-ionic -which is the Ionic Pro extension for updating the app directly from source control, without submitting anew bundle- the dialog goes away.