Skip to content

react-native-ssl-pinning not working on IOS after upgrade from 0.67 to 0.70.6 #217

@haco29

Description

@haco29

Environment

System:
OS: macOS 12.6.1
CPU: (8) x64 Intel(R) Core(TM) i7-1068NG7 CPU @ 2.30GHz
Memory: 1.12 GB / 16.00 GB
Shell: 5.8.1 - /bin/zsh
Binaries:
Node: 16.16.0 - /var/folders/cm/mw4b4vpd1ql9s779ljrmzhmh0000gn/T/yarn--1669197239191-0.7405184600492134/node
Yarn: 1.22.19 - /var/folders/cm/mw4b4vpd1ql9s779ljrmzhmh0000gn/T/yarn--1669197239191-0.7405184600492134/yarn
npm: 8.19.3 - /usr/local/bin/npm
Watchman: Not Found
Managers:
CocoaPods: 1.11.3 - /usr/local/bin/pod
SDKs:
iOS SDK:
Platforms: DriverKit 22.1, iOS 16.1, macOS 13.0, tvOS 16.1, watchOS 9.1
Android SDK: Not Found
IDEs:
Android Studio: 2021.3 AI-213.7172.25.2113.9123335
Xcode: 14.1/14B47b - /usr/bin/xcodebuild
Languages:
Java: 11.0.15 - /usr/bin/javac
npmPackages:
@react-native-community/cli: Not Found
react: 18.1.0 => 18.1.0
react-native: 0.70.6 => 0.70.6
react-native-macos: Not Found
npmGlobalPackages:
react-native: Not Found

Upgrading version

0.67.2 to 0.70.6

Problem

SSL pinning is not working after the update on ios.
RNSslPinning.m file was missing on the build.

Solution

Remove react-native-ssl-pinning from your project and reinstall them, run pod install after.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions