Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
11 tasks
barneydunning opened this issue Oct 25, 2017 · 1 comment
Open
11 tasks

Comments

@barneydunning
Copy link

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
@brodycj
Copy link

brodycj commented Nov 13, 2018

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants