-
Notifications
You must be signed in to change notification settings - Fork 3.6k
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
iOS 16.0 Crashes - FBSDKPaymentProductRequestor resolveProducts
#2119
Comments
Hi please let me know if there is any feedback on this issue. |
HI @SamuelZhaoY |
I am seeing this crash as well -- second most common crash happening in my app. All I do is initialize the FB SDK so about 99% sure this is an issue with the SDK. I also see it only on iOS 16 |
Nope, currently there is no clue, waiting the feedback from FB SDK team. |
We're also facing this issue. The fbsdk version we have is |
also seeing a lot of crashes on 16.0 to 16.1 with FBSDKPaymentObserver |
Facing the same issue ios 16.0.3 and fbsdk 9.3.0 Please let us know if you found a work around or something. Cheers |
Same here! |
Getting what could be considered an illegal amount of crashes!!!! |
arrest mark zuckerbergh |
Is this happening for anyone on a version higher than 9.x? Especially more recent versions. |
i'm on v9.3.0 |
@fishandphil Do you have the ability to reproduce this or is this just a crash report you've received from the wild? |
I have disabled the Login with Facebook functionality for now. But I would really like some suggestions to keep my 'Login with Facebook' feature without app crashing. |
It works for iOS below 16 |
I have received some crash reports. so I don't want to upset new users. |
@khuramdogar do you use in-app subscriptions? I've noticed that it started right after I bought a subscription with a test user, crash happens immediately on the first screen We use SPM, FB SDK 9.0.0, iOS 16.1, Xcode 14.0.1 |
Yes I am using use IN App Purchase as well in my app. |
I recently got the crash myself while debugging within Xcode. This is launch time. It was a cold install and I had enabled the Network Link Conditioner to do some bad networking tests. I don't know if this is related or not. First time I get it myself. In our case, we use Facebook for login/sharing. But we have no interest in Facebook looking at the transactions that happens within our product. Is there a way to disable this feature which would maybe provide this bug? |
CFBundleURLTypes |
We have been facing the same issue on certain devices that have upgraded to iOS 16.0. We have only encountered this on one or two devices within the team, but we are no longer able to re-create it after the following steps:
Don't have any data yet on whether this has resolved the issue for live users outside of our team, but wanted to share this in case it proves useful for anyone else. |
Need to update to 16.1.2Sent from my iPhoneOn Dec 5, 2022, at 2:23 AM, James N ***@***.***> wrote:
We have been facing the same issue on certain devices that have upgraded to iOS 16.0.
We have only encountered this on one or two devices within the team, but we are no longer able to re-create it after the following steps:
Open the Facebook Developer Portal
Navigate to App Events -> Settings
Disable all settings in this section ("Collect the Apple Advertising Identifier (IDFA) with App Events", "Log in-app events automatically", "Log in-app events automatically")
Don't have any data yet on whether this has resolved the issue for live users outside of our team, but wanted to share this in case it proves useful for anyone else.
We have also run builds with the Facebook SDK fully removed, and have not encountered any immediate crashes in those builds.
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you are subscribed to this thread.Message ID: ***@***.***>
|
Any updates on this? We are facing this issue and disabling events is not an option, since we advertise on Facebook and need to see campaign effectiveness. It would be great to hear from someone from the FB team. This crash is directly impacting purchasing users. |
@bohdansasko Does it happen on every app launch after a purchase? |
@The0racle yep, it does every time. a bit later I'll try out #2119 (comment), maybe it will help us as well |
Hey guys! I had the same problem as I am using Facebook login and Auto-Renewable Subscriptions In-App purchases in my app. The way I fixed this bug is by adding two keys to the info.plist file:
After that, the app was not crashing anymore. I hope it works for you as well! |
This should be a temporary solution. When AutoLogAppEvents is enabled, the FB SDK will add Payment observers, causing this crash. Don't forget to check that your code contains Key code: - (void)fetchServerConfiguration:(FBSDKCodeBlock)callback
{
// ...
if ([g_settings isAutoLogAppEventsEnabled] && self->_serverConfiguration.implicitPurchaseLoggingEnabled) {
[g_paymentObserver startObservingTransactions]; // here
}
// ...
} |
@ccnyou Where is this code supposed to be added? |
I am also facing the same issue, are there any updates yet by anybody? |
We're seeing this crash in version Has anyone been able to reliably reproduce this yet? |
It's hard to believe this issue hasn't been fixed or at least addressed in 6 months. It crashes the app on purchases - purchases! We're talking about the official Facebook iOS SDK. Can anyone from Facebook please chime in? That would be much appreciated. |
|
31 may 2023, still having this issue( |
both plist file and fb sdk setup code. |
…ollection (workaround for crash upon subscription. See: facebook/facebook-ios-sdk#2119)
I've had the same problem, I was able to fix it by updating SDK to the newer version (14.1.0) and also importing FacebookAEM and FacebookBasics packages along with FacebookCore. I am not going to invest more time in investigating, but I think it's possible the fix was in adding the packages and not the update, probably autologging of events was dependent on one of those. Anyway, if anyone stumbles upon this, try the same thing. |
Checklist before submitting a bug report
Xcode version
13.2
Facebook iOS SDK version
9.3.0
Dependency Manager
CocoaPods
SDK Framework
Login
Goals
bug fix. resolve all the crashes that appears in iOS 16.0
Expected results
should be no crash in 16.0 device
Actual results
There are multiple crashes on iOS 16.0 devices with following crash stacks:
Steps to reproduce
This is reproduced online with small possibilities, our team has no clue on how to effectively reproduce the crash.
Code samples & details
The text was updated successfully, but these errors were encountered: