Closed Mynini closed 5 months ago
In react native you do not include pods like this. Auto linking takes care of this.
The reason for your error @Mynini is your RN version. check this: https://github.com/facebook/react-native/commit/34fafb2b881751cdd998d7d5ef486d536607c9ce#diff-adcf572f001c2b710d14f409c14763f1a50b08369b3034548f1602685d21f67f
Thank you very much. Could I ask you for some help? I meet some problem abort recaptcha-enterprise. My react-native project seems to have integrated recaptcha-enterprise-react-native successfully, and I can get token normally, but there are two problems. Question1: I see that other people's access to successful projects will show a privacy-terms of use icon, but mine does not. Look at the sample picture
Question 2: the score returned after I got the token and sent it to the background for verification has been 0.1, which bothers me.
I guess there may be three reasons: Reason 1 is that I used vpn, (but this should be excluded, it is normal to send token to the backend score returned after the same web project is connected). Reason 2: there is a problem with plug-in access. There is a problem with the configuration of the 3:goole cloud project. I looked for a lot of information and didn't find out how to solve it, and reason 2 didn't seem to have a problem. Ask for help !!!!!!!!!!!!
To be clear: I will execute. After the yarn add @ google-cloud/recaptcha-enterprise-react-native command, I found that the plug-in did not automatically link, so I executed a react-native @ google-cloud/recaptcha-enterprise-react-native manual link for android. but ios is not work,sor I add some code in ios podfile
The modified file after execution is as follows
platform: mac m1 14.4.1 react-native: 0.68.5 @.***/recaptcha-enterprise-react-native": "^18.5.0-beta02"
------------------ 原始邮件 ------------------
发件人: "GoogleCloudPlatform/recaptcha-enterprise-react-native" @.>;
发送时间: 2024年5月22日(星期三) 晚上10:40
@.>;
@.**@.>;
主题: Re: [GoogleCloudPlatform/recaptcha-enterprise-react-native] [!] Failed to load 'recaptcha-enterprise-react-native' podspec: [!] Invalid recaptcha-enterprise-react-native.podspec
file: undefined local variable or method `min_ios_version_supported' for module Pod. (Issue #32)
The reason for your error @Mynini is your RN version. check this: @.***#diff-adcf572f001c2b710d14f409c14763f1a50b08369b3034548f1602685d21f67f
— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you were mentioned.Message ID: @.***>
help me!. while I add the text in my podfile and start pod install in terminal I meet the error
the podfile add text:
errror:
platform info: mac m1: 14.4.1 react-native:0.68.5 "@google-cloud/recaptcha-enterprise-react-native": "^18.5.0-beta02"