Hey there, awesome students! I hope you're all geared up for the next exciting video on integrating Stripe into our Donation App. However, in case you face any issues while installing pods for ios only, don't worry! I've got you covered.
macOS Users Trying to Setup Stripe for iOS
If you encounter any trouble installing pods specifically for ios for those of you using macOS, simply
delete ios/Podfile.lock
Inside Podfile, instead of platform :ios, min_ios_version_supported, put platform :ios, 13.0
inside ios folder run pod install and you should be all set
Windows/macOS Users Trying to Setup Stripe for Android
If you encounter a network error in the terminal when trying to donate using the Stripe API Call & Android emulator, it might be because the localhost address that we are using for the API (http://localhost:3000) might need to be connected with your android emulator's IP address instead which is:
http://10.0.2.2:3000
Therefore, your API call from Donation App might need to look something like this
http://10.0.2.2:3000/create-payment-intent
This will be especially important for Windows users.
While some Stripe users may have faced this issue, not everyone will, but I want you to be prepared just in case.
I am super thrilled to continue this journey with you, and can't wait to see what you create. So, happy coding!