Sprig Device Mode Expands to Kotlin, Swift, and React Native

New Sprig device mode integrations for Kotlin, Swift, and React Native, plus upgraded Sprig SDK versions in the legacy Android and iOS integrations.
Available Plans
  • free
  • growth
  • enterprise

Sprig device mode now works with all of RudderStack’s mobile SDKs — Android (Kotlin), iOS (Swift), React Native — along with the legacy Android (Java) and iOS (Obj-C) SDKs. Now, identify, track, and reset events forward to Sprig with identical semantics across every SDK, so you can target and present in-app surveys from whichever RudderStack SDK you use today.

What’s new

  • New Sprig integrations: Integrations for the Android (Kotlin), iOS (Swift), and React Native SDKs that mirror the same event and identity semantics as the legacy Android (Java) and iOS (Obj-C) integrations.
  • Legacy Android and iOS upgrades: Legacy Android is upgraded to Sprig 2.23.x (from 2.16.1) and legacy iOS is upgraded to Sprig 4.29.x (from 4.22.3). There are no RudderStack API changes. See Sprig’s changelog for details on new Sprig capabilities available in the upgraded versions.
  • Safer survey presentation: The new integrations handle host-UI edge cases more gracefully — they wait for the main thread, fall back to track-only when the host view isn’t ready to present, and manage view lifecycles automatically, with fewer crashes and less boilerplate on the app side.
Survey presentation still requires the host app to pass a FragmentActivity (Android) or UIViewController (iOS), including for React Native — where this integration point lives on the native side of the app.

SDK versions

SDK
Minimum SDK versionSprig integration
Android (Kotlin)com.rudderstack.sdk.kotlin.android 1.6.0com.rudderstack.integration.kotlin.sprig 1.0.0+
iOS (Swift)rudder-sdk-swift (RudderStackAnalytics) 1.2.1RudderIntegrationSprig 1.0.0+
React Native@rudderstack/rudder-sdk-react-native 3.1.0@rudderstack/rudder-integration-sprig-react-native 1.0.0+
Android (Java)
Legacy
com.rudderstack.android.sdk:core 1.28.0com.rudderstack.android.integration:sprig 1.1.0+
iOS (Obj-C)
Legacy
Rudder (CocoaPods) ~> 1.29Rudder-Sprig 1.1.0+

Resources

See the Sprig Device Mode Integration guide for setup instructions across all supported SDKs.

Questions? Let's figure it out together.

Join the RudderStack Slack community to connect with other users, customers, and the RudderStack team — or reach out for direct support.