Closed lucasroca closed 4 years ago
not sure if it helps you, but make sure you have updated to latest react-native-fbsdk and also latest FB framework that supports ios13
more info at
https://github.com/facebook/react-native-fbsdk/issues/646 https://github.com/facebook/facebook-ios-sdk/releases
Also I would paste your code here as well.
Hi @ChrisEelmaa, I'm using react-native-fbsdk 1.0.4 and FB framework 5.7.0, that should be compatible according to the comments in #646. We are not using the Share nor Login APIs, just Analytics. Also, our production version was working fine until yesterday that suddenly started failing.
This is all the code we have related to fbsdk. Then we call this function in several places.
import { AppEventsLogger } from 'react-native-fbsdk';
...
export const trackScreen = name => {
...
AppEventsLogger.logEvent(name);
...
};
Hi @lucasroca, are you also using codeless events by any chance?
dssfsdfsd
hello
Hi @gmertk. Yes, we're using codeless events. Could that be an issue?
The past days the incidences decreased since the report date, but today 100% of our iOS users had this crash. I can't figure out how this dynamic crash rate is possible with the exact same client and no configuration changes.
@lucasroca We'd have exactly the same issue. But we figured by the date the app crashes started that we turned on the "advanced matching" feature in the Events Manager. This happened due to an incompatible versions. For the automatic matching feature you'll need Facebook SDK 5.8.0 and later:
Manual advanced matching for app is supported for Facebook Core SDK version 4.36 and later. Automatic advanced matching for app is supported for Facebook SDK version 5.8.0 and later.
But react-native-fbsdk 1.0.4 states 5.5 (see 1.0.4 commit).
Maybe this is also related to your issue and deactivating the feature in your Events Manager on Facebook also helps you. Fingers crossed! :)
@bennom That was exactly it! Thank you so much for the help
We experienced the exact same thing! Thank you for your help with this!!!
Same here, thank you very much!
@lucasroca We'd have exactly the same issue. But we figured by the date the app crashes started that we turned on the "advanced matching" feature in the Events Manager. This happened due to an incompatible versions. For the automatic matching feature you'll need Facebook SDK 5.8.0 and later:
Manual advanced matching for app is supported for Facebook Core SDK version 4.36 and later. Automatic advanced matching for app is supported for Facebook SDK version 5.8.0 and later.
But react-native-fbsdk 1.0.4 states 5.5 (see 1.0.4 commit).
Maybe this is also related to your issue and deactivating the feature in your Events Manager on Facebook also helps you. Fingers crossed! :)
This fixed it !!! Thank you
🐛 Bug Report
Our app latest version has been running without any issues for about 10 days now. Today the iOS app started crashing for many users on app launch. Log from crashlytics:
Might be relevant: All crashes happened on iOS 13.
Expected Behavior
App not to crash. Looks like a workaround is changing from Live to Development mode in Facebook developers dashboard and re-installing the app. But of course that's not ideal.
Environment
I'm using react-native-fbsdk v1.0.4