#VSMobileDevs - React Native
1 messages ยท Page 1 of 1 (latest)
yeah
Thanks for your quick response
one more thing
I already try
pod 'stripe-identity-react-native', :path => '../..'
Have you installed stripe-identity-react-native using npm or yarn?
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
Is stripe-identity-react-native installed where you expect it to be? Can you see the podspec in there?
Is the .podspec file present with the expected content?
no
Can you reinstall stripe-identity-react-native and see if the .podspec file shows up in the right place?
OK
Let me reinstall it and get back to you
Pods install but show me this error after running
๐ jumping in for Rubeus. Gimme some times to catch up
OK
Waiting for your kind response
To clarify this is the identity SDK, not the main SDK, correct? https://github.com/stripe/stripe-identity-react-native
yeah
I want to integrate stripe-identity-react-native package
I see. It looks like an installation issue that I am not familiar with unfortunately. First let's create an issue here: https://github.com/stripe/stripe-identity-react-native/issues
Did this happen on the example code?
I see example/node_modules/...
This path looks like the example code to me. What's your project name?
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
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
here is my error
as you can see both projects have same package but example is working and Megamines is not ๐
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?
How did you make it disappear? What if you do the same thing with your project? ๐
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
Ah okie that's a member in our team
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
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?
just install again
And installing again on your own project doesn't resolve it?
yeah exactly ...
Like, remove the package completely, then install again. We want to avoid cached version
Sometimes when you installed it before, it can be cached
I did it 2 to 3 times but still same issue occurred
So here is the diff on the fix. We want to confirm if you have latest changes on your project: https://github.com/stripe/stripe-identity-react-native/pull/75/files
Let's start with example/src/components/Identity.tsx
What do you see on L12, on your project and on that file?
const {status, present, loading} = useStripeIdentity(fetchOptions);
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
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 ๐
Yeah hopefully it will unblock you!