capacitor-community / stripe

Stripe Mobile SDK wrapper for Capacitor
MIT License
185 stars 74 forks source link

Missing Stripe POD #53

Closed cambronjay closed 2 years ago

cambronjay commented 3 years ago

Describe the bug A clear and concise description of what the bug is. The Stripe Pod is missing from the list of pods to install. To Reproduce Steps to reproduce the behavior: Install the plugin, build the app, and then do npx cap sync

Expected behavior A clear and concise description of what you expected to happen. The plugin should include the Stripe Pod by putting its reference into the Podfile Screenshots If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

Smartphone (please complete the following information):

Additional context Here is the error [error] Error running update: Analyzing dependencies [!] CocoaPods could not find compatible versions for pod "Stripe": In Podfile: CapacitorCommunityStripe (from ../../node_modules/@capacitor-community/stripe) was resolved to 0.0.1, which depends on Stripe (= 21.0.1)

cambronjay commented 3 years ago

I was able to fix the issue by removing the dependency version on the podspec file and then placing pod 'Stripe', '21.0.1' in both targets in the podfile. However, this fixes the copy error, but now there are runtime issues in xcode.

rdlabo commented 2 years ago

Thanks for issue! Today this plugin of v3 is released. This not compatible with v1. All APIs have been revamped. So I will close this issue. If you still have the same problem, please create a new Issue. Thank you.