Last modified August 29, 2019 by Shelly Wolfe

Geo SDK upgrade guide

This guide provides information about how to upgrade to the latest Swrve Geo SDK add-on. For information about the changes that have been made in each Geo SDK release, see Geo SDK release notes.

Request a copy of the latest Swrve Geo Sample project from your CSM at support@swrve.com.


Version 2.3.1

iOS

To upgrade to Swrve Geo SDK v2.3.1 for iOS, update your Podfile to use the latest SwrveGeoSDK 2.3.1 and PointSDK 15.0.0.  For example:


Version 2.3

To upgrade to Swrve Geo SDK v2.3:

Android

Update your build.gradle file to use SwrveSDK 6.2 and SwrveGeoSDK 2.3. For example:

iOS

Update your Podfile to use the latest SwrveSDK 6.2 and SwrveGeoSDK 2.3. For example:


Version 2.2.1

iOS

To upgrade to Swrve Geo SDK v2.2.1 for iOS, update your Podfile to use the latest SwrveGeoSDK 2.2.1 and PointSDK 1.13.3.  For example:


Version 2.2

To upgrade to Swrve Geo SDK v2.2:

Android

Update your build.gradle file to use SwrveSDK 6.1 and SwrveGeoSDK 2.2. For example:

iOS

Update your Podfile to use the latest SwrveSDK 6.1 and SwrveGeoSDK 2.2. For example:


Version 2.1.1

To upgrade to Swrve Geo SDK v2.1.1:

Android

Update your build.gradle file to use SwrveGeoSDK 2.1.1. For example:

iOS

Update your Podfile to use the latest SwrveGeoSDK 2.1.1. For example:


Version 2.1

To upgrade to Swrve Geo SDK v2.1:

Android

  • Update your build.gradle file to use SwrveSDK 6.0.1, SwrveGeoSDK 2.1, and PointSDK 1.13.1. For example:
  • To remove the persistent foreground notification, remove the Notification parameter from the SwrveGeoSDK init methods:
  • To remove the Bluetooth permision, add the following to your AndroidManifest.xml:

iOS

Update your Podfile to use SwrveSDK 6.0.1, SwrveGeoSDK 2.1, and PointSDK 1.13.1. For example:

Delay initial start to allow locations permission request

Android

In your SwrveGeoConfig, set the delayStart configuration to true: geoConfig.setDelayStart(true). You still need to handle the actual permissions request in your own code, but once it’s granted, call SwrveGeoSDK.start.

iOS

In your SwrveGeoConfig, set the delayStart configuration to YES: [geoConfig setDelayStart:YES]  and call [SwrveGeoSDK start] later. If the user hasn’t already authorized location permission, then the permission dialogue will automatically appear.


Version 2.0.1

Android

To upgrade to Swrve Geo SDK v2.0.1 for Android, update your build.gradle file to use SwrveGeoSDK 2.0.1:


Version 2.0

Swrve Geo SDK version 2.0 has a hard dependency on the native Swrve SDK version 5.3. Ensure you update your app to a minimum of native Swrve SDK 5.3.

To upgrade to Swrve Geo SDK v2.0:

Android

  1. Update your build.gradle file to use the latest Swrve SDK (5.3) and SwrveGeoSDK 2.0:
  2. Remove the username parameter from the SwrveGeoSDK init methods:

iOS

  1. Update your podspec file to use the latest Swrve SDK (5.3) and SwrveGeoSDK 2.0:
  2. Remove the username parameter from the [SwrveGeoSDK init] methods:

Custom filtering

To filter notifications or modify their content based on custom properties, you can set a custom filter when initializing the Geo SDK.

Android

iOS