transistorsoft / cordova-background-geolocation-SampleApp

Cordova Background Geolocation Sample Application
https://www.transistorsoft.com/shop/products/cordova-background-geolocation
MIT License
122 stars 78 forks source link

Error: Could not resolve 'settings/forceReloadOnBoot' from state 'settings' #47

Closed mtoo020 closed 7 years ago

mtoo020 commented 8 years ago

Please add a new state for forceReloadOnBoot.

christocracy commented 8 years ago

You can add any settings you wish in app/home/home.js in the

configureBackgroundGeolocation method

On Tuesday, June 7, 2016, mtoo020 notifications@github.com wrote:

Please add a new state for forceReloadOnBoot.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/transistorsoft/cordova-background-geolocation-SampleApp/issues/47, or mute the thread https://github.com/notifications/unsubscribe/AAA6l-NBc9yHW4y29L30444USfWJwXj2ks5qJiVRgaJpZM4IwiFA .

Snet form Gmail Mobile

mtoo020 commented 8 years ago

I mean, when I tap on forceReloadOnBoot in Settings, it doesn't bring up the "true/false" menu for me to choose from. It comes up with that error instead. All you need to do is add this to app.js:

.state('settings/forceReloadOnBoot', {
      url: '/settings/forceReloadOnBoot',
      templateUrl: 'js/app/settings/radio-list.html',
      controller: 'Settings'
})