Skip to content

docs(app-check): use quotes vs backticks in example code #8573

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

Merged
merged 2 commits into from
Jun 30, 2025

Conversation

tj-mc
Copy link
Contributor

@tj-mc tj-mc commented Jun 16, 2025

The current JS examples cannot be copied into an editor. Most systems use double or single quotes for imports, not backticks. There was also a missing "const" in one of the examples

Description

Related issues

Release Summary

Improve code examples for App Check.

Checklist

  • I read the Contributor Guide and followed the process outlined there for submitting PRs.
    • Yes
  • My change supports the following platforms;
    • Android
    • iOS
    • Other (macOS, web)
  • My change includes tests;
    • e2e tests added or updated in packages/\*\*/e2e
    • jest tests added or updated in packages/\*\*/__tests__
  • I have updated TypeScript types that are affected by my change.
  • This is a breaking change;
    • Yes
    • No

Test Plan


Think react-native-firebase is great? Please consider supporting the project with any of the below:

Siteproxy
Copy link

vercel bot commented Jun 16, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
react-native-firebase ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jun 30, 2025 4:56pm

@CLAassistant
Copy link

CLAassistant commented Jun 16, 2025

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.
1 out of 2 committers have signed the CLA.

✅ mikehardy
❌ tj-mc
You have signed the CLA already but the status is still pending? Let us recheck it.

Copy link
Collaborator

@MichaelVerdon MichaelVerdon left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM thanks

@tj-mc tj-mc changed the title Fix typos in app-check index.md docs: typos in app-check index.md Jun 17, 2025
Copy link
Collaborator

@mikehardy mikehardy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No idea why those were backticks 😆 good catch
I can't merge without the CLA signed - could you sign it? Would love to get this in
Thanks

@tj-mc
Copy link
Contributor Author

tj-mc commented Jun 30, 2025

No worries :D Yes I plan to sort this out tomorrow.
Thanks for your work on this important module.

@mikehardy mikehardy changed the title docs: typos in app-check index.md docs(app-check): use quotes vs backticks in example code Jun 30, 2025
@tj-mc
Copy link
Contributor Author

tj-mc commented Jun 30, 2025

Should I fix the CI error above? CLA signed

@mikehardy
Copy link
Collaborator

I pushed a commit with the fix for prettier - just some spacing and single-ticks vs double-ticks. Not backticks though :)
That should also prompt CLA bot to recheck, I'm not sure - that is not working well on another PR also

tj-mc and others added 2 commits June 30, 2025 11:52

Verified

This commit was signed with the committer’s verified signature.
mikehardy Mike Hardy
The current JS examples cannot be copied into an editor. Most systems use double or single quotes for imports, not backticks. There was also a missing "const" in one of the examples

Verified

This commit was signed with the committer’s verified signature.
mikehardy Mike Hardy
our settings for prettier strongly prefer the single-tick apparently

definitely not backticks though...

also there appears to have been some issue on main, but this fixes that
@mikehardy mikehardy merged commit f4bcd4f into invertase:main Jun 30, 2025
8 checks passed
@mikehardy mikehardy removed the Workflow: Pending Merge Waiting on CI or similar label Jun 30, 2025
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.

None yet

4 participants