me.apla.cordova.app-preferences icon indicating copy to clipboard operation
me.apla.cordova.app-preferences copied to clipboard

Using this plugin with phonegapbuild - where is the Settings.bundle?

Open barneydunning opened this issue 7 years ago • 1 comments

Issue:


How do you get PhoneGapBuild to generate the Settings.bundle folder and files?

I have added the plugin to the config.xml. I can use the plugin's store and fetch methods form within Javascript to manipulate some preference values - good so far!

Next up is the Settings App on the iPad... there are no settings for my app (other than the Siri and Camera settings)... reading a lot about XCode, looks like I need a "Settings.bundle"...

My assumption here was that when PhoneGapBuild installs the plugin, it detects the "app-settings.json" file in the root of my project and converts this to the respective "Settings.bundle" files... the Root.plist etc. and includes them in the resultant .ipa file. I can see no evidence of this after the build.

I have even tried creating these "resource" files on a Mac... copying them to my PC and adding them to the project root folder... after a PhoneGapBuild, the files appear in the www folder, not in the root folder (which is where I think they need to be).

So my question is... how can I get the Settings.bundle files into the right place in my PhoneGapProject... better still, generated from the json file when PhoneGapBuild builds my application.

Many thanks,

Please specify your environment

Plugin version:

  • [ x] released version: _____
  • [ ] repository master

Toolchain:

  • [ ] Cordova cli
  • [ ] Phonegap cli
  • [ x] Phonegap cloud
  • [ x] Ionic
  • [ ] Other: _____

Platforms affected:

  • [ ] Android
  • [x ] iOS/macOS
  • [ ] LocalStorage fallback for browser and blackberry
  • [ ] Windows and Windows Phone 8.1 and later
  • [ ] Windows Phone 8 and earlier (deprecated)

What the scope of your problem:

  • [ ] General functionality (store/fetch/remove/clearAll)
  • [ ] Suites
  • [ ] Cloud synchronization and events
  • [x ] Preferences pane generation and display

barneydunning avatar Oct 25 '17 14:10 barneydunning

I would not expect this plugin to work on PhoneGap Build since it uses hook scripts, which are not supported by PhoneGap Build.

brody4hire avatar Nov 13 '18 17:11 brody4hire