Skip to content

Test Expo - React Native SSL Pinning issue & solutions

Notifications You must be signed in to change notification settings

quaos/test-expo-ssl-pinning-1

Repository files navigation

test-expo-ssl-pinning-1

Expo App that's supposed to test & reproduce SSL Pinning issues, esp. in iOS

Current Test Results

  • ✅ Base App (Expo 49 + RN 0.72 + RN SSL Pinning 1.1.3 + TrustKit 3.0.3)
  • ✅ Firebase (RN Firebase App 18.7.3 + Analytics 18.7.3 + Remote Config 18.7.3)
  • ✅ Braze (Braze RN SDK 8.3.0 + Braze Expo Plugin 1.2.0)
  • ✅ Branch (RN Branch SDK 5.6.2 + Branch SDK for iOS 1.43.2 + Branch SDK for Android 5.2.5)
  • ✅ Sentry (Sentry Expo 7.1.1)
  • ✅ Google Maps (RN Maps 1.7.1 + Google Maps SDK for iOS 7.4.0 + GMS Google Services for Android 4.4.0)

Preparing

# after pulling the repo
yarn

# iOS
cd ios && pod install

Running

# iOS - with correct pinning keys
yarn ios

# iOS - with INCORRECT pinning keys
yarn ios:incorrect

# Android - with correct pinning keys
yarn android

# Android - with INCORRECT pinning keys
yarn android:incorrect

Braze SDK

  • Configuration is in file: app.json in section: plugins -> @braze/expo-plugin
  • After modifying the config above, the native config files need to be re-generated:
npx expo prebuild

Google Maps

  • iOS configuration is in file: ios/testexposslpinning1/Info.plist, section: GoogleMaps
  • Android configuration is in file: android/app/src/main/AndroidManifest.xml, keys: com.google.android.geo.*

Refs

About

Test Expo - React Native SSL Pinning issue & solutions

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published