#rakesh_code

1 messages · Page 1 of 1 (latest)

twilit coyoteBOT
#

👋 Welcome to your new thread!

⏲️ We'll be here soon! Typically we respond in a few minutes, but sometimes we might take a bit longer if the server is busy or if you have a particularly tricky question.

⏱️ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can always start a new thread if you have another question.

🔗 This thread will always be available, even after it's closed. You can find it again using Discord's search, or you can save this link: https://discord.com/channels/841573134531821608/1285541067801890816

📝 Have more to share? Add more details, code, screenshots, videos, etc. below.

Below are links to other discussions we've had with you in the past week in case you want to review that information. If your question is related to one of these previous discussions, please provide a comprehensive summary of the current state and what you need help with now. We help many users simultaneously, so a summary allows us to resolve your issue as soon as possible.

lean otter
#

will downgrading the version work?
What do you mean by "work" exactly?

errant abyss
#

the app doesn't run if i install the "@stripe/stripe-react-native" at a compileSdkVersion of 35, and its not getting installed if the value is 31 or 32

#

also what is the gradle version i should use. im using 7.x

lean otter
#

What do you mean by "app doesn't run"?

errant abyss
#

it throws an error at the time of building. i mentioned them in yesterday's chat

#

can you tell me which version of compileSdk i should use for "@stripe/stripe-react-native".

#

the latest package got installed only with version 35

lean otter
errant abyss
#

what if i downgrade the version so that i can use 33?

lean otter
#

Why 33?

errant abyss
#

because my app was working fine with that number before installing "@stripe/stripe-react-native"

lean otter
#

Are you asking if stripe-react-native will work with 33?

errant abyss
#

yes

lean otter
#

The requirements say that it needs 34, so you can't rely on it working correctly.
But you can try and see maybe it will work for your use case

twilit coyoteBOT
errant abyss
#

let me try

#

is"npm i @stripe/stripe-react-native@0.37.0" a stable version that i can use?

slender lava
errant abyss
#

it got installed but im getting a different error in the package ```error: Error: Unable to resolve module ./hooks/usePlatformPay from D:\projects\react-native\flipprr\node_modules@stripe\stripe-react-native\src\index.tsx:

None of these files exist:

  • node_modules@stripe\stripe-react-native\src\hooks\usePlatformPay(.native|.android.js|.native.js|.js|.android.jsx|.native.jsx|.jsx|.android.json|.native.json|.json|.android.ts|.native.ts|.ts|.android.tsx|.native.tsx|.tsx)
  • node_modules@stripe\stripe-react-native\src\hooks\usePlatformPay\index(.native|.android.js|.native.js|.js|.android.jsx|.native.jsx|.jsx|.android.json|.native.json|.json|.android.ts|.native.ts|.ts|.android.tsx|.native.tsx|.tsx)
    3 | export { useConfirmSetupIntent } from './hooks/useConfirmSetupIntent';
    4 | export { useStripe } from './hooks/useStripe';

5 | export { usePlatformPay } from './hooks/usePlatformPay';
| ^
6 | export { usePaymentSheet } from './hooks/usePaymentSheet';
7 | export { useFinancialConnectionsSheet } from './hooks/useFinancialConnectionsSheet';```

slender lava
#

That would imply a compat issue between the versions, like we explained

errant abyss
#

can you sugest a gradle version also