BranchMetrics/ios-branch-deep-linking-attribution

Branch has been deprecated in favor of BranchSDK warning shown after pod install

vkundapur opened this issue · 3 comments

Describe the bug

I am getting a warning Branch has been deprecated in favor of BranchSDK when I do a pod install

Steps to reproduce

  1. Add Branch React Native SDK v5.7.0 to your react native project
  2. Navigate to iOS folder in the project
  3. Run the command pod Install

Expected behavior

No warning should be show as it's on the latest version

SDK Version

5.7.0

XCode Version

14.2

Device

iPhone 14

OS

16.2

Additional Information/Context

No response

This is by design. From Branch SDK 2.0 on, you'll need to use BranchSDK instead of Branch. This change is cause we renamed the framework umbrella header for better compatibility with Swift Package Manager. Note this impacts all import statements, but it should not impact anything else for cocoapods users.

Thanks @echo-branch. The documentation still says that we need to use Branch in the react-native docs.
https://help.branch.io/developers-hub/docs/react-native

Should I follow the iOS SDK integration steps instead of react native?
Or if there is any other documentation link that I can refer to, that would be very helpful

Sorry, I think I've posted the bug on the wrong repo. I'll report it in react-native repo.