#VSMobileDevs - React Native

1 messages ยท Page 1 of 1 (latest)

static vigil
#

Hello! Taking a look...

young mist
#

yeah
Thanks for your quick response

#

one more thing
I already try
pod 'stripe-identity-react-native', :path => '../..'

static vigil
#

Have you installed stripe-identity-react-native using npm or yarn?

young mist
#

yes
I have using npm for that

#

example project is working fine and I have checked pod file of example project as well

#

I want to integrate stripe-identity-react-native in my app but facing this issue

static vigil
#

Is stripe-identity-react-native installed where you expect it to be? Can you see the podspec in there?

young mist
#

Let me check

#

no podspec found

#

package is installed

static vigil
#

Is the .podspec file present with the expected content?

young mist
#

no

static vigil
#

Can you reinstall stripe-identity-react-native and see if the .podspec file shows up in the right place?

young mist
#

OK
Let me reinstall it and get back to you

#

Pods install but show me this error after running

earnest quartz
#

๐Ÿ‘‹ jumping in for Rubeus. Gimme some times to catch up

young mist
#

OK
Waiting for your kind response

earnest quartz
young mist
#

yeah
I want to integrate stripe-identity-react-native package

earnest quartz
#

Did this happen on the example code?

#

I see example/node_modules/...

young mist
#

example code is working fine

#

its not working on my own project

earnest quartz
#

This path looks like the example code to me. What's your project name?

young mist
#

I have also compared both projects
everything is same but not able to install in my project

#

let me send you my project screen shot

earnest quartz
#

It would be also helpful if you list the file in the path mentioned in the error message!

#

where it complains cannot find an index.[various of extensions]

#

It was looking for index.ts or index.native.ts for example

young mist
#

here is my error

#

as you can see both projects have same package but example is working and Megamines is not ๐Ÿ˜Ÿ

earnest quartz
#

I am a bit confused. This red screen is about Megamines which looks like your project. What was the red screen before?

#

I thought only your project has error?

young mist
#

yes only my project have error

#

example project have error before but its fixed now

earnest quartz
#

So the red screen disappeared on the example project?

#

How?

young mist
#

I have discuss this issue with stripe support on call and after that its working

#

yes

earnest quartz
#

How did you make it disappear? What if you do the same thing with your project? ๐Ÿ˜…

young mist
#

no I dont do anything

#

I just talk to stripe support

#

and after that I got latest changes in repo and its working

#

its a final email from stripe

#

after that example project working

earnest quartz
#

Ah okie that's a member in our team

young mist
#

do you have any idea about query?
I have an important milestone delivery today

#

its very urgent
Please let me know If you found any solution

earnest quartz
#

Sure I am looking into the detail

#

Normally John M would be able to continue assisting you when he is online, but I am trying to grasp the situation from this email thread

#

Found the thread btw

#

and after that I got latest changes in repo and its working
How did you do this? git pull? install again?

young mist
#

just install again

earnest quartz
#

And installing again on your own project doesn't resolve it?

young mist
#

yeah exactly ...

earnest quartz
#

Like, remove the package completely, then install again. We want to avoid cached version

#

Sometimes when you installed it before, it can be cached

young mist
#

I did it 2 to 3 times but still same issue occurred

earnest quartz
#

Let's start with example/src/components/Identity.tsx

#

What do you see on L12, on your project and on that file?

young mist
#

const {status, present, loading} = useStripeIdentity(fetchOptions);

earnest quartz
#

I am sorry, let's look at the import line

#
- } from 'stripe-identity-react-native';
+ } from '@stripe/stripe-identity-react-native';
#

We want to confirm this change

young mist
#

o yeah ...

#

My project missing new updates

#

Let me recheck all files

#

I'll get back to you

#

Thanks for noticing this important point
this means a lot ๐Ÿ˜

earnest quartz
#

Yeah hopefully it will unblock you!