npm react-native-adapty 4.2.3
v4.2.3

4 hours ago

v4.2.3

✨ New Features

(iOS) CocoaPods without SPM (opt-in)

The native Adapty iOS SDK can now be installed as regular CocoaPods pods from the public Adapty spec repo, instead of Swift Package Manager. Dynamic frameworks aren't required in this mode, so it's useful for static linkage setups. CocoaPods + SPM stays the default — nothing changes unless you opt in.

This mode keeps working after December 2, 2026, when the CocoaPods trunk becomes read-only: the Adapty pods are published to our own spec repo, not to trunk.

Require the Adapty Podfile helpers in ios/Podfile and call adapty_disable_spm! in the app target before use_native_modules!:

require Pod::Executable.execute_command('node', ['-p',
  'require.resolve(
    "react-native-adapty/ios/adapty_podfile.rb",
    {paths: [process.argv[1]]},
  )', __dir__]).strip

target 'MyApp' do
  adapty_disable_spm!
  config = use_native_modules!
  # ...
end

Expo — enable the config plugin option, then run npx expo prebuild:

["react-native-adapty", { "iosDisableSPM": true }]

See the iOS requirements for all installation modes.

🐛 Fixes

  • (android) Flow. A flow that uses the same product with different offers could apply a different offer than expected.

❗️ Don't forget to update your local fallback file

Don't miss a new react-native-adapty release

NewReleases is sending notifications on new releases.