We are using the react-native-fbsdk in the latest version (3.0.0), which compiles fine on iOS, but under android we have started getting a compilation error:
/Users/osp/Developer/bodyfast/node_modules/react-native-fbsdk/android/src/main/java/com/facebook/reactnative/androidsdk/FBSettingsModule.java:39: error: cannot find symbol
FacebookSdk.setDataProcessingOptions(options, 0, 0);
^
symbol: method setDataProcessingOptions(String[],int,int)
location: class FacebookSdk
/Users/osp/Developer/bodyfast/node_modules/react-native-fbsdk/android/src/main/java/com/facebook/reactnative/androidsdk/FBSettingsModule.java:50: error: cannot find symbol
FacebookSdk.setDataProcessingOptions(options, country, state);
^
symbol: method setDataProcessingOptions(String[],int,int)
location: class FacebookSdk
To Reproduce
The error started today in our systems, so it could be there was a minor bump in the native fbsdk that removed the method?
Expected Behavior
Being able to compile the android version of the library
Code Example
No code example
Environment
System:
OS: macOS 11.2.1
CPU: (16) x64 Intel(R) Core(TM) i9-9880H CPU @ 2.30GHz
Memory: 1.47 GB / 32.00 GB
Shell: 5.8 - /bin/zsh
Binaries:
Node: 12.18.4 - ~/.volta/tools/image/node/12.18.4/bin/node
Yarn: 1.22.10 - ~/.volta/tools/image/yarn/1.22.10/bin/yarn
npm: 6.14.6 - ~/.volta/tools/image/node/12.18.4/bin/npm
Watchman: 4.9.0 - /usr/local/bin/watchman
Managers:
CocoaPods: 1.10.0 - /usr/local/bin/pod
SDKs:
iOS SDK:
Platforms: iOS 14.4, DriverKit 20.2, macOS 11.1, tvOS 14.3, watchOS 7.2
Android SDK:
API Levels: 27, 28, 29
Build Tools: 27.0.3, 28.0.3, 29.0.0, 29.0.2, 29.0.3
System Images: android-28 | Google Play Intel x86 Atom, android-29 | Google Play Intel x86 Atom, android-30 | Google APIs Intel x86 Atom, android-30 | Google Play Intel x86 Atom, android-30 | Google Play Intel x86 Atom_64, android-R | Google APIs Intel x86 Atom
Android NDK: Not Found
IDEs:
Android Studio: 4.1 AI-201.8743.12.41.6953283
Xcode: 12.4/12D4e - /usr/bin/xcodebuild
Languages:
Java: 1.8.0_212 - /usr/bin/javac
Python: 2.7.16 - /usr/bin/python
npmPackages:
@react-native-community/cli: Not Found
react: 16.13.1 => 16.13.1
react-native: 0.63.3 => 0.63.3
react-native-macos: Not Found
npmGlobalPackages:
*react-native*: Not Found
🐛 Bug Report
We are using the react-native-fbsdk in the latest version (3.0.0), which compiles fine on iOS, but under android we have started getting a compilation error:
To Reproduce
The error started today in our systems, so it could be there was a minor bump in the native fbsdk that removed the method?
Expected Behavior
Being able to compile the android version of the library
Code Example
No code example
Environment