Please follow this upgrade guide from version 1.2.0 to 1.2.1 of Pugpig for Continuous Publishing for any of your existing app projects. As always please ensure you have backed up your code and project before upgrading.
Before starting make sure you have:
- Run the latest v1.2.1 iOS installer on your machine
- Follow the process to update an existing Xcode project framework files
Next open the project and carry out the following steps:
- OPDS settings have moved in Config.plist
In order to accomodate auto-selection of a particular feed in a multi-feed scenario based on a predicate, such as user's locale, we have modified the OPDS config format. It is now an array of dictionaries where each dictionary must contain a
URL. If you specify more than one OPDS feed, you must either provide a
Autoselect Conditionsin each entry's dictionary.
<key>OPDS Feeds</key> <array> <dict> <key>URL</key> <string></string> </dict> </array>
- Push provider keys have moved in Config.plist
In order to accomodate third-party push providers, the config syntax has been adapted to expect a top-level dictionary with a
Classkey specifying the provider runtime class additional key-values pairs are are passed unchanged to the push provider to configure it. If you want to continue to use the now deprecated
KGUAPushNotificationProvideryou will need the following code:
<key>Push Provider</key> <dict> <key>Class</key> <string>KGUAPushNotificationProvider</string> <key>Urban Airship Key</key> <string></string> <key>Urban Airship Secret</key> <string></string> </dict>
- Analytics keys have moved in Config.plist
In order to accomodate third-party analytics providers, the config syntax has been adapted to expect a top-level dictionary of dictionaries where the keys are the analytics providers and the key-values of the child dictionary are passed unchanged to the analytics provider to configure it.
<key>Analytics</key> <dict> <key>KGGoogleAnalytics</key> <dict> <key>Google Analytics Tracking ID</key> <string></string> </dict> </dict>