Skip to content
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

feat(ios): adopt facebook-ios-sdk 17.1.0 #557

Merged
merged 15 commits into from
Sep 27, 2024
Merged

feat(ios): adopt facebook-ios-sdk 17.1.0 #557

merged 15 commits into from
Sep 27, 2024

Conversation

mikehardy
Copy link
Collaborator

@mikehardy mikehardy commented Sep 26, 2024

  • update example to use current-reactive and fuzz-bust through all the issues related
    • new react-native init items like git init
    • yarn2 is the default now, so converted module and example
    • new syntax for yarn2 git adds

Investigate the diff between facebook-ios-sdk 17.0.x and 17.1.x, appears fine, and appears to work fine in testing

Note: there is a 17.2.0 apparently already cooking per their changelog but it isn't on cocoapods yet so I couldn't fetch it

I allow the facebook-ios-sdk version to slip for patch versions now but they have a warning about Swift/Obj-C compat on their repo indicating that minor versions may break compiles, so I couldn't let the semver range slip minors. They have broken us before 🤷

Fixes #555

- yarn2+ is now used
  - touch empty yarn.lock during construction to make example distinct
  - add react-native-fbsdk-next using new git dep syntax
- git is initialized by default now, avoid that
- npx now prompts unless you specify for it to go unattended mode
- facebook ContentProvider on android is an instant crash now for some reason
of note:
- typescript updated, and that updated the plugin's built artifact
- semantic release stuff all moved across majors, deserves a close watch during release
done separately in case it changed the built artifact in some way
@mikehardy
Copy link
Collaborator Author

Fixed the various deprecation and lint things I saw while examining the CI output
Note that one was not fixable as it appears to be an upstream issue, logged here facebook/facebook-ios-sdk#2476

- implement new invalidate method
- keep previous onCatalystInstanceDestroy method since it called super
- was calling varargs method with null which was ambiguous
- call was annotated as argument optional, so remove null to resolve
@mikehardy mikehardy added the pending-merge Just waiting on clean CI test run. Any maintainer should feel free to merge if CI is passing. label Sep 27, 2024
@mikehardy mikehardy merged commit 053b0c1 into master Sep 27, 2024
7 checks passed
@mikehardy mikehardy deleted the updates branch September 27, 2024 00:17
@mikehardy mikehardy removed the pending-merge Just waiting on clean CI test run. Any maintainer should feel free to merge if CI is passing. label Sep 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

FB SDK version Needs upgrade (from v17.0.3 to v17.1.0)
1 participant