Expo EAS support?
I need SSL to tokenize the user credit card so I can then send the token to my server and proceed with the payment.
I am a Expo EAS user, but there doesn't seem to be a expo-config plugin available yet.
There is this guy who wrote on how to do it: https://forums.expo.dev/t/react-native-expo-ssl-pinning/57455/5. However, I have 0 experience with expo-config-plugins and I don't have a MacOS to use XCode.
Can someone save me? :X
Also, may be important to say that I am using a Webview, and the to tokenize is on it.
+1 Would be greatly appreciated @MaxToyberman
+1
FWIW, I am not the maintainer of react-native-ssl-pinning, but this package seems to work just fine with expo:
yarn add react-native-ssl-pinning
./node_modules/.bin/react-native link
expo prebuild
Works like a charm!
FWIW, I am not the maintainer of react-native-ssl-pinning, but this package seems to work just fine with expo:
yarn add react-native-ssl-pinning ./node_modules/.bin/react-native link expo prebuildWorks like a charm!
Ahn... But those two below are bare workflow commands, no?
I need SSL to tokenize the user credit card so I can then send the token to my server and proceed with the payment.
I am a Expo EAS user, but there doesn't seem to be a expo-config plugin available yet.
There is this guy who wrote on how to do it: https://forums.expo.dev/t/react-native-expo-ssl-pinning/57455/5. However, I have 0 experience with expo-config-plugins and I don't have a MacOS to use XCode.
Can someone save me? :X
Also, may be important to say that I am using a Webview, and the to tokenize is on it.
I managed to change the Android network security configuration by creating a custom config plugin that works with EAS builds, see https://stackoverflow.com/a/70775576/4350421. You could use the same approach to pin the certificate as outlined here: https://developer.android.com/training/articles/security-config#CertificatePinning
Sure, see my answer here: https://stackoverflow.com/a/70775576/4350421
On Tue, Feb 1, 2022 at 4:49 PM james-em @.***> wrote:
https://developer.android.com/training/articles/security-config#CertificatePinning
I would be interested in seeing your solution if you are willing to share :)
— Reply to this email directly, view it on GitHub https://github.com/MaxToyberman/react-native-ssl-pinning/issues/140#issuecomment-1026991383, or unsubscribe https://github.com/notifications/unsubscribe-auth/AGP3WJG7ANV5U54NNZNPZCDUY76HLANCNFSM5JK3HX6A . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
You are receiving this because you commented.Message ID: @.***>
@SrBrahma What did you do to get cert pinning to work in a webview? You mentioned something about a
@SrBrahma Could you please share information about what you finally did, or summarize you findings? I like to know if this library is compatible with managed expo builds, otherwise for my app I need to ask users to install certs manually. Your input would be valuable to me.
@SrBrahma Could you please share information about what you finally did, or summarize you findings?
I honestly don't remember :-{