-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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(dynamic-links): add expo config plugin for dynamic-links #6650
feat(dynamic-links): add expo config plugin for dynamic-links #6650
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
1 Ignored Deployment
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you! As I carefully mention to everyone - just to set expectations - I don't use Expo personally so I cannot say if this is perfect or not, but I am more than happy to facilitate community support by merging and releasing quickly. And it looks good on a scan, so - let's go :-). We can always handle issues with followups.
This should help quite a few people
Codecov Report
@@ Coverage Diff @@
## main #6650 +/- ##
============================================
+ Coverage 53.98% 54.06% +0.09%
Complexity 690 690
============================================
Files 215 216 +1
Lines 10738 10772 +34
Branches 1689 1696 +7
============================================
+ Hits 5796 5823 +27
- Misses 4650 4657 +7
Partials 292 292 |
spelling:
It is in the spelling dictionary as jest:
These global symbols need to be imported now that we are using the built-in jest typescript types iOS failure:
🤔 that looks unrelated though it was an area of recent work. Assume it will clear when the above fixes trigger a re-run of CI |
Took a little work but got it shaped up! Let's go |
Just tried to use the |
If there is something missing from the PR, perhaps in the package.json of the package to trigger the build, please send a PR - I won't have time to investigate for a while and Expo support is best provided by people actually using it (read as: not me, I don't use Expo so am not good at supporting it at the moment, sorry) |
@maxwowo I missed the build commands in package.json, and am submitting a new PR right now. |
releasing the fix from @austin43 now (thank you!) - v16.4.2 when its up in a few moments |
Description
This pull request is intended to add an expo config plugin for @react-native-firebase/dynamic-links which resolves a possible race condition with dynamicLinks().getInitialLink(). The mechanism for this fix is described in this comment.
Related issues
#2660
#4548
#4548 (comment)
Release Summary
feat(dynamic-links): add expo config plugin for dynamic-links
docs(dynamic-links): add note for iOS swizzling workaround
Checklist
Android
iOS
e2e
tests added or updated inpackages/\*\*/e2e
jest
tests added or updated inpackages/\*\*/__tests__
Test Plan
This PR codifies testing that has been done related to this comment and merely modifies the AppDelegate.
To test, add the @react-native-firebase/dynamic-links plugin to the list of RNFB plugins, and verify the AppDelegate has been modified.
Functionally, real world dynamic link matching is inherently hard to test due to the end-to-end nature of the app install process. My best recommendation for testing here is