-
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(app-check): android debug token argument for app-check #6026
feat(app-check): android debug token argument for app-check #6026
Conversation
This pull request is being automatically deployed with Vercel (learn more). react-native-firebase – ./🔍 Inspect: https://vercel.com/invertase/react-native-firebase/BaxUPQuBunpAjfz5Emfzt3a7odwJ react-native-firebase-next – ./website_modular🔍 Inspect: https://vercel.com/invertase/react-native-firebase-next/DASs3cR9BCvCWxGKzDK9xToE3n5J [Deployment for 877df8f canceled] |
This pull request is being automatically deployed with Vercel (learn more). react-native-firebase-next – ./website_modular🔍 Inspect: https://vercel.com/invertase/react-native-firebase-next/DASs3cR9BCvCWxGKzDK9xToE3n5J |
One other thought - could you mention this in the app check docs for android as well? Otherwise I fear no one will discover this (not that it was easy to discover how to set it up prior either, but now it's much more usable and people should know how to access this...) |
Codecov Report
@@ Coverage Diff @@
## main #6026 +/- ##
=============================================
- Coverage 72.16% 53.34% -18.82%
- Complexity 0 632 +632
=============================================
Files 109 208 +99
Lines 4600 10195 +5595
Branches 1033 1619 +586
=============================================
+ Hits 3319 5437 +2118
- Misses 1203 4484 +3281
- Partials 78 274 +196 |
6173ad2
to
2a9ad2a
Compare
oh - and looks like CLA is still not signed? The details link contains info on how to get it done if you could check it? |
0b0eb4b
to
aea7e23
Compare
Actually, nevermind, the CLA assistant worked, but it took a good minute or two to load. |
Yeah - I tried it myself prompted by your mention it was busted, looks like this: cla-assistant/cla-assistant#829 - it's always something 🤷 😆 |
aea7e23
to
5e90853
Compare
Ah nw nw ; I gotcha. To the risk of jinxing us, it should be good now |
No good deed unpunished 😆
One of them looks like a legitimate typo (which is why we keep this check enabled...), but pre-generated and eg could maybe go in spellcheck.dict |
5e90853
to
87c6791
Compare
Typos should be good now -- as far I understand.
|
one last one!
|
87c6791
to
877df8f
Compare
yep defaulted to generated... Did I miss anything about running all those checks by myself in the contribution guidelines? It'd be great if the checks could be run locally, and would work with a single yarn command -- otherwise we're left at going back and forth. Not sure that's the best DX. |
It's a terrible DX and not well documented, thanks for bearing with me and working through it. I'll peel that to an issue and get it sorted, maybe a pre-push hook, or at minimum yes a single package.json run script |
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 the final 2 CI checks to finish now (the e2e runs for ios and android)
we did it ! Thanks for the support @mikehardy ! |
Actually question: what's the next step ; is this directly tied to a new npm release? |
Yep was just about to kick off the release but there was a suspicious CI failure on Android e2e post merge on main branch. Once that's settled I'll release. In the meantime check our actions tab for the patches action, you'll find a patch-package zip attached on every one, so your PR can be integrated in your project even before we release, despite this being a monorepo and hard to patch |
sounds good |
publishing now 🚀 |
awesome!!! thanks @mikehardy |
Description
Debugging react-native applications with AppCheck is problematic on Android:
$adb logcat | grep DebugAppCheckProvider
to extract the secret token that must then be pushed to the Firebase console. This token changes often and made the developper experience and operations much more harder.This PR is a solution for that, and here is the summary of the solution:
IMPORTANT
Please note that I removed a test that was no longer passing because app-check doesn't fail app-attestation on android emulators with the new method anymore. See https://github.com/invertase/react-native-firebase/pull/6026/files#diff-406415e4817a8b2d1b8cd632fffc7af195be1fe7ec0a560fd0a47df5d7b03ddaL74-L91
Related issues
Release Summary
Checklist
Android
iOS
e2e
tests added or updated inpackages/\*\*/e2e
jest
tests added or updated inpackages/\*\*/__tests__
Test Plan
Think
react-native-firebase
is great? Please consider supporting the project with any of the below:React Native Firebase
andInvertase
on Twitter🔥