You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Oct 1, 2018. It is now read-only.
Hi, I'm developing an ionic application and i'm using cordova-hot-code-push plugin for updates. I'm able to successfully fetch the update and install the update. After the update is installed I could notice the native plugins were deleted from the cordova_plugin.js and i was unable to use native plugins like Camera and FIle etc.
My app.component.ts
private hotCordovaPushOptions:HotCodePushRequestOptions = {
"config-file":"https://warehousemobile.000webhostapp.com/warehouse/chcp.json",
};
constructor(platform: Platform, statusBar: StatusBar, splashScreen: SplashScreen,private hotCodePush:HotCodePush) {
platform.ready().then(() => {
// Okay, so the platform is ready and our plugins are available.
// Here you can do any higher level native things you might need.
statusBar.styleDefault();
splashScreen.hide();
this.hotCodePush.fetchUpdate(this.hotCordovaPushOptions).
then(
(value:any)=>{
this.hotCodePush.isUpdateAvailableForInstallation().
then((value:HotCodePushUpdate)=>{
this.hotCodePush.installUpdate().then((res:any)=>{
console.log(res);
}
)
})
},(error:any)=>
{
console.log("e =>"+error)
});
});
😢 We are not using nordnet/cordova-hot-code-push anymore, and we lack the manpower and the experience needed to maintain it. We are aware of the inconveniece that this may cause you. Feel free to use it as is, or create your own fork.
Hi, I'm developing an ionic application and i'm using cordova-hot-code-push plugin for updates. I'm able to successfully fetch the update and install the update. After the update is installed I could notice the native plugins were deleted from the cordova_plugin.js and i was unable to use native plugins like Camera and FIle etc.
My app.component.ts
cordova-hcp.json
Before fetching the update
After the update is installed
I'm not sure whether this is a bug or i'm doing something wrong. Please help me out here
The text was updated successfully, but these errors were encountered: