-
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(functions): support custom domains #4950
Conversation
This pull request is being automatically deployed with Vercel (learn more). 🔍 Inspect: https://vercel.com/invertase/react-native-firebase/CyFk1HREYt98TdLrhjDfxDUYbUiH |
Codecov Report
@@ Coverage Diff @@
## master #4950 +/- ##
==========================================
- Coverage 89.21% 88.99% -0.22%
==========================================
Files 105 109 +4
Lines 3482 3721 +239
Branches 0 348 +348
==========================================
+ Hits 3106 3311 +205
+ Misses 376 369 -7
- Partials 0 41 +41 |
Release notes - should be breaking, and in commit message min version called out:
suggest this as is terse but complete:
This is important because there are definitely some issues outstanding where people have only seen success using 26.0.0 or 26.1.0 so to them this is definitely a breaking change at our level as compile will fail on missing symbols if the SDK is not updated even though it is a minor for the native SDKs themselves I don't see any Java implementation change but on review of the underlying PR firebase/firebase-android-sdk#2100 it appears the API there was fully backwards compatible - verified working there? |
ios E2E CI currently failing on known issue with pending resolution, reference #4951
I'm on that one next / immediately |
@mikehardy Yes, test cases added and working for both Android and iOS. Android reference shown here https://firebase.google.com/docs/reference/android/com/google/firebase/functions/FirebaseFunctions#public-static-firebasefunctions-getinstance-string-regionorcustomdomain |
@dackers86 as soon as #4953 looks good to you and passes CI I'll merge it, then once you rebase or merge master in the iOS E2E CI here should pass 🤞 |
Hmm - the PR Title check failure is unfortunate, I thought a 'BREAKING' would work. The other alternative - which I worked in the past - is a 'feat' PR title / first line and the commit message can have a For extra developer friendliness I usually put BREAKING in top line too like example 70974d4 generated changelog https://github.com/invertase/react-native-firebase/blob/master/packages/analytics/CHANGELOG.md#800-2020-11-10 This seems maybe excessively detail oriented but if not done well there will definitely be issues logged later, best to avoid. |
…vertase/react-native-firebase into @dackers86/added-functions-custom-url
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.
LFantasticTM
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.
Just re-scanned with special attention to @Salakar comments to verify they were all fixed. This still LGTM and other comments are verified addressed. I'm running tests locally and checking CI now then I'll release this. Chapeau!
Yes! The fancy commit message worked: https://github.com/invertase/react-native-firebase/blob/master/CHANGELOG.md#1100-2021-03-03 correctly versioned it as a major, and got the changelog I thought it would. |
Description
Native Sdks have been updated to allow custom domains to be passed when calling functions. This update allows RNF to allow either custom domains or a region to be provided
Related issues
Fixes #4919
Release Summary
Checklist
Android
iOS
e2e
tests added or updated inpackages/\*\*/e2e
jest
tests added or updated inpackages/\*\*/__tests__
BREAKING CHANGE: SDK min required version bump is required for this feature.
Test Plan
Think
react-native-firebase
is great? Please consider supporting the project with any of the below:React Native Firebase
andInvertase
on Twitter🔥