Follow

Upgrading iOS 1.2.0 to 1.2.1

Before starting please follow 'Upgrading your project' to ensure you have the latest v1.2.1 iOS installed on your machine, as well as a recent back up your code. Then follow the process to update an existing Xcode projects Pugpig framwork files. We recommend using Xcode to 6.0+.

Next open the project and carry out the following steps:

  1. 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 Name or an Autoselect Conditions in each entry's dictionary.

    <key>OPDS Feeds</key>
    <array>
      <dict>
        <key>URL</key>
        <string></string>
      </dict>
    </array>
    
  2. 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 Class key 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 KGUAPushNotificationProvider you 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>
    
  3. 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>
    
Was this article helpful?
0 out of 0 found this helpful
Have more questions? Submit a request

Comments

Powered by Zendesk