-
Notifications
You must be signed in to change notification settings - Fork 982
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
shared
is unavailable in application extensions for iOS
#2853
Comments
Hi @RichAppz, thank you for writing in about this issue. Could you please help us understand a little bit more about your use case? What kind of extension are you building? |
## Summary Fix StripeApplePay support in App Extensions. ## Motivation #2853 ## Testing Added a Cocoapods test to build an iMessage App Extension with the StripeApplePay SDK. ## Changelog Updated
@RichAppz Should be fixed in
|
## Summary Fix StripeApplePay support in App Extensions. ## Motivation #2853 ## Testing Added a Cocoapods test to build an iMessage App Extension with the StripeApplePay SDK. ## Changelog Updated
## Summary Fix StripeApplePay support in App Extensions. ## Motivation #2853 ## Testing Added a Cocoapods test to build an iMessage App Extension with the StripeApplePay SDK. ## Changelog Updated
I have the same problem, and it still doesn't work. (23.16.0) |
It still doesn't work for me with xcode 15 and 23.18.2... |
Thanks for the info! Can you share what you're trying to do in the App Extension? STPRedirectContext won't work in an App Extension, as it needs to be able to launch app-to-app redirects, which are not available in App Extensions. |
@pascalguizard Can you check your Podfile to confirm that the Stripe pods are not being included in your watch app or Today widget targets? There may also be an https://guides.cocoapods.org/syntax/podfile.html#inherit_bang entry in one of those targets causing it to build Stripe for application extensions. If not, it's possible that you're encountering this issue: CocoaPods/CocoaPods#12093 Let me know if that's the case, and we'll keep looking for a solution. Thanks! |
Hi all, closing this down since we haven't heard from you recently. Please reopen if you're still having issues! |
@sfriedman-stripe It happening to me today , while using stripe react native and i created a notification extension and got this same error |
Summary
Since the 23.13.0 release building has been blocked by an extension issue. There has been a change in the codebase of 23.13.0 that is using
UIApplication.shared
which is not available to swift extensions.iOS version
iOS 16.6
Installation method
Cocoapods
SDK version
23.13.0
Other information
Reverting back to
23.12.0
works fine!The text was updated successfully, but these errors were encountered: