# Ionic state restore

**URL:** <https://forum.ionicframework.com/t/ionic-state-restore/76209>\
**Category:** ionic-v3\
**Created:** [January 14, 2017, 11:23am UTC](https://forum.ionicframework.com/t/ionic-state-restore/76209 "2017-01-14T11:23:21Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Melas007](https://avatars.discourse-cdn.com/v4/letter/m/eada6e/32.png) [@Melas007](https://forum.ionicframework.com/u/Melas007)\
**Post date:** [January 14, 2017, 11:23am UTC](https://forum.ionicframework.com/t/ionic-state-restore/76209/1 "2017-01-14T11:23:21Z")

</div>

When i do ionic state restore, it stops as below and let me know what can i do to work?

MELAS@MELAS-PC MINGW64 /d/Mobile apps/moodlemobile2-master  
$ ionic state restore  
Attempting to restore your Ionic application from package.json

Restoring Platforms

cordova platform add ios  
cordova platform add android

Restore platforms is complete

Restoring Plugins

cordova plugin add cordova-plugin-device  
cordova plugin add cordova-plugin-globalization  
cordova plugin add cordova-plugin-file  
cordova plugin add cordova-plugin-inappbrowser  
cordova plugin add cordova-plugin-file-transfer  
cordova plugin add cordova-plugin-network-information  
cordova plugin add cordova-plugin-camera  
cordova plugin add cordova-plugin-media-capture --variable CAMERA\_USAGE\_DESCRIPTION=“We’d like to access your camera to let you take a photo” --variable PHOTOLIBRARY\_USAGE\_DESCRIPTION=“We’d like like to open your photo library to let you pick a photo” --variable MICROPHONE\_USAGE\_DESCRIPTION="We’d like to access your microphone to let you record an audio"  
cordova plugin add cordova-plugin-splashscreen  
cordova plugin add cordova-plugin-statusbar  
cordova plugin add cordova-plugin-whitelist  
cordova plugin add [https://github.com/Tunts/WebIntent](https://github.com/Tunts/WebIntent)  
cordova plugin add cordova-plugin-customurlscheme --variable URL\_SCHEME="moodlemobile"  
cordova plugin add ionic-plugin-keyboard  
cordova plugin add [https://github.com/ti8m/DocumentHandler](https://github.com/ti8m/DocumentHandler)  
cordova plugin add cordova-plugin-local-notifications-mm  
cordova plugin add cordova-plugin-zip  
cordova plugin add phonegap-plugin-push --variable SENDER\_ID="302322576519"  
Caught exception:  
undefined

Mind letting us know? [https://github.com/driftyco/ionic-cli/issues](https://github.com/driftyco/ionic-cli/issues)

---

<div class="post-metadata">

**Author:** ![xdezinho](https://avatars.discourse-cdn.com/v4/letter/x/4da419/32.png) [@xdezinho](https://forum.ionicframework.com/u/xdezinho)\
**Post date:** [March 21, 2017, 8:32pm UTC](https://forum.ionicframework.com/t/ionic-state-restore/76209/2 "2017-03-21T20:32:40Z")

</div>

Make sure the names of installed plugins are the same as the “Cordova Plugins” site

I had the same problem with the call-number plugin  
In the fetch.json file in ./plugins the name was different than it was to be  
Example:  
Previous =

```
"Mx.ferreyra.callnumber": {
         "Source": {
             "Type": "registry",
             "Id": "call-number"
         },
         "Is_top_level": true,
         "Variables": {}
     }

```

New =

```
"Call-number": {
         "Source": {
             "Type": "git",
             "Url": "https://github.com/Rohfosho/CordovaCallNumberPlugin.git",
             "Subdir": "."
         },
         "Is_top_level": true,
         "Variables": {}
     }

```

I solved by adding the plugin directly through the git url  
Example:  
Cordova plugin add [https://github.com/Rohfosho/CordovaCallNumberPlugin.git](https://github.com/Rohfosho/CordovaCallNumberPlugin.git)
