Skip to content
This repository has been archived by the owner on Apr 2, 2021. It is now read-only.

iOS Memory leak since updating to react-native-fbsdk 2.0.0 #814

Open
SMJ93 opened this issue Nov 16, 2020 · 0 comments
Open

iOS Memory leak since updating to react-native-fbsdk 2.0.0 #814

SMJ93 opened this issue Nov 16, 2020 · 0 comments

Comments

@SMJ93
Copy link

SMJ93 commented Nov 16, 2020

🐛 Bug Report

We upgraded to react-native-fbsdk 2.0.0 a few weeks ago. Since then about 2-3% of our iOS users are experiencing crashes due to a memory leak.

Xcode instruments shows there is a leak with the FBSDK when starting up the app:

Screenshot 2020-11-16 at 12 29 15

Looking at node_modules/react-native-fbsdk/react-native-fbsdk.podspec I can see it uses FBSDK version 7.

A few other people have reported the issue on the native iOS FBSDK github repo, but not since it was supposedly fixed in 6.4.0.

Is anyone else experiencing this?

To Reproduce

Expected Behavior

  • There is no memory leak

Environment

System:
    OS: macOS 10.15.7
    CPU: (8) x64 Intel(R) Core(TM) i7-7700HQ CPU @ 2.80GHz
    Memory: 110.32 MB / 16.00 GB
    Shell: 5.7.1 - /bin/zsh
  Binaries:
    Node: 12.9.1 - ~/.nvm/versions/node/v12.9.1/bin/node
    Yarn: 1.22.10 - ~/.nvm/versions/node/v12.9.1/bin/yarn
    npm: 6.14.4 - ~/.nvm/versions/node/v12.9.1/bin/npm
    Watchman: Not Found
  Managers:
    CocoaPods: 1.9.1 - /usr/local/bin/pod
  SDKs:
    iOS SDK:
      Platforms: iOS 14.2, DriverKit 20.0, macOS 11.0, tvOS 14.2, watchOS 7.1
    Android SDK:
      API Levels: 23, 25, 26, 27, 28, 29
      Build Tools: 28.0.3, 29.0.2
      System Images: android-29 | Google APIs Intel x86 Atom, android-29 | Google Play Intel x86 Atom, android-30 | Google APIs Intel x86 Atom
      Android NDK: Not Found
  IDEs:
    Android Studio: 3.5 AI-191.8026.42.35.6010548
    Xcode: 12.2/12B45b - /usr/bin/xcodebuild
  Languages:
    Java: 1.8.0_172 - /usr/bin/javac
    Python: 2.7.15 - /usr/local/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
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant