I’m trying to create a new Ionic 4 app, and when I include @ionic/pro and run Pro.init, I get several errors.
Is this still a valid package to use in v4?
The errors I get are:
GET http://localhost:8100/manifest.json 404 (Not Found)
Unable to parse manifest.json. Ensure the file is valid JSON
{status: 404}
Unhandled Promise rejection: {status: 404} ; Zone: ; Task: Promise.then ; Value: {status: 404} undefined
the cordova-plugin-ionic plugin is not installed. Install it for better device information for runtime errors.
Hi there - is there a workaround for this until Ionic V4 gets release? Thinking in terms of a way to exclude the manifest file in the app.routing.module?
Hi - yes, the @Ionic/Pro library is still the correct one for Ionic Appflow. As you likely noticed, we rebranded but kept the same package name because it was the simplest, least disruptive option for Appflow users.
However, do NOT use the the init function anymore. It works fine without it.
My app is updating correctly via appflow but I can not get the deploy API of @ionic/pro to work. It returns an exception ‘Cannot read property ‘_deployProxy’ of undefined’ when calling
const info = await Pro.deploy.getCurrentVersion();
Has anyone used the Deploy interface in Ionic 4 ?
Of note, I’m running a free AppFlow account but can’t imagine that’s the issue as I imagine it would show a suitable error saying upgrade.