-
Notifications
You must be signed in to change notification settings - Fork 178
Open
Description
We are getting
Exception in HostFunction: <unknown>, js engine: hermes.
This happens on New Architecture only.
Steps to reproduce:
npx @react-native-community/cli init test --version 0.79.5
yarn add react-native-fbsdk-next
and replace index.js with:
import { AppRegistry } from 'react-native';
import { Settings } from 'react-native-fbsdk-next';
Settings.setAppID('//facebookid//');
Settings.initializeSDK(true);
Settings.setDataProcessingOptions([], 0, 0);
AppRegistry.registerComponent("test", () => ()=>null);
Resulting on iOS:
This issue was noticed using Segment:
import { createClient } from '@segment/analytics-react-native';
import { FacebookAppEventsPlugin } from '@segment/analytics-react-native-plugin-facebook-app-events';
const segmentClient = createClient({
....
}
);
segmentClient.add({ plugin: new FacebookAppEventsPlugin() }); // <<<< results in error
But it is reproducible on a new&clean app-build as described above on New Architecture only.
kapir and pfeiffer
Metadata
Metadata
Assignees
Labels
No labels