Skip to content
Merged
Show file tree
Hide file tree
Changes from 48 commits
Commits
Show all changes
58 commits
Select commit Hold shift + click to select a range
8203744
refactor(analytics): use Metro platform file resolution for cross-pla…
BillChirico Dec 8, 2025
36dc454
chore(deps): add expo-glass-effect for liquid glass effects
BillChirico Dec 8, 2025
9150485
feat(theme): add glass effect properties to theme system
BillChirico Dec 8, 2025
ffa2d70
feat(components): add GlassView with fallback for non-iOS platforms
BillChirico Dec 8, 2025
3c62c4b
test(GlassView): add native glass path tests
BillChirico Dec 8, 2025
3e5f672
fix(GlassView): remove explicit JSX.Element return type
BillChirico Dec 8, 2025
e951b5d
fix(eslint): add exception for expo-glass-effect import resolution
BillChirico Dec 8, 2025
d4c1fe5
refactor(analytics): rename impl.* to platform.* following React Nati…
BillChirico Dec 8, 2025
423867a
test(analytics): add tests for fallback platform and utility functions
BillChirico Dec 8, 2025
bc988a1
fix(journey): center Days Sober display by removing icon
BillChirico Dec 8, 2025
4f43dcc
Update app.config.ts
BillChirico Dec 9, 2025
7739fea
chore(gitignore): remove Firebase config files from .gitignore
BillChirico Dec 9, 2025
8e9561c
refactor(settings): update sign out behavior and improve modal handling
BillChirico Dec 9, 2025
a92575e
fix(analytics): make platform functions synchronous to match public API
BillChirico Dec 9, 2025
fc1b7ff
fix(analytics): retrieve analytics instance on re-initialization
BillChirico Dec 9, 2025
ff5e30d
fix(analytics): add warning for incomplete Firebase config
BillChirico Dec 9, 2025
f066f9d
refactor(plugins): improve withModularHeaders robustness
BillChirico Dec 9, 2025
7ed7b18
test(theme): add dark theme tests for glass properties
BillChirico Dec 9, 2025
d2788a1
test(analytics): update tests for synchronous fire-and-forget API
BillChirico Dec 9, 2025
bcf88e4
fix(analytics): make initialization platform-aware for native builds
BillChirico Dec 9, 2025
09acb40
security(firebase): remove config files from version control
BillChirico Dec 9, 2025
b81de4b
feat(firebase): add config plugin for EAS secret injection
BillChirico Dec 9, 2025
0ad364a
feat(firebase): support both file and string EAS secret types
BillChirico Dec 9, 2025
0426c19
refactor(firebase): simplify plugin to use file secrets only
BillChirico Dec 9, 2025
4d5e128
feat(firebase): add firebase.json for analytics configuration
BillChirico Dec 9, 2025
1b8d140
refactor(analytics): migrate native to Firebase v22 modular API
BillChirico Dec 9, 2025
d578839
chore: cleanup test utilities and fix config plugin
BillChirico Dec 9, 2025
5190d76
fix(plugin): correct variable reference in withModularHeaders
BillChirico Dec 9, 2025
0c485b1
fix(analytics): use logEvent for screen views to avoid deprecation wa…
BillChirico Dec 9, 2025
c0ced95
fix(analytics): defer getAnalytics() call to prevent module-scope crash
BillChirico Dec 9, 2025
78d4575
fix(analytics): enable analytics collection in production, not just d…
BillChirico Dec 9, 2025
7cf2215
fix(ci): prevent duplicate workflow runs on PR pushes
BillChirico Dec 9, 2025
c87a6c0
fix(ci): streamline push trigger for main branch
BillChirico Dec 9, 2025
f169778
fix(plugin): handle EAS FILE_BASE64 secrets correctly
BillChirico Dec 9, 2025
f602734
docs(analytics): add enhanced docstrings for platform modules
coderabbitai[bot] Dec 9, 2025
76012e4
chore: merge main into develop to resolve PR conflicts
BillChirico Dec 9, 2025
e9ea511
fix(firebase): use EAS secret paths for googleServicesFile config
BillChirico Dec 9, 2025
9c225ad
fix(analytics): prevent duplicate Firebase connections and add SEO me…
BillChirico Dec 9, 2025
30ef8be
📝 Add docstrings to `develop` (#105)
coderabbitai[bot] Dec 9, 2025
decd8b3
chore: merge main into develop to resolve PR conflicts
BillChirico Dec 9, 2025
d664023
chore: merge origin/develop - resolve withFirebaseConfig conflict
BillChirico Dec 9, 2025
1b43b8f
refactor(mocks): add __esModule flag for ES module interop
BillChirico Dec 9, 2025
9e7fd73
fix(analytics): add try/catch and improve resetAnalytics docs
BillChirico Dec 9, 2025
6495b2a
fix(analytics): reset flag on failure and clarify config docs
BillChirico Dec 9, 2025
997522b
docs(plugin): clarify secretValue supports raw content in JSDoc
BillChirico Dec 9, 2025
ca8ecd4
fix(seo): use absolute URLs for OG and Twitter image meta tags
BillChirico Dec 9, 2025
8e641fc
fix(seo): render meta tags unconditionally for crawlers
BillChirico Dec 9, 2025
d591b4f
CodeRabbit Generated Unit Tests: Add comprehensive Jest tests for web…
coderabbitai[bot] Dec 9, 2025
e93ab80
fix(analytics): handle circular references in sanitizeParamsForLogging
BillChirico Dec 9, 2025
187dbec
refactor(analytics): use Promise-based initialization to prevent race…
BillChirico Dec 9, 2025
b5c4bc7
refactor(analytics): use Promise-based initialization in index.ts
BillChirico Dec 9, 2025
a35b9a0
docs(mocks): fix JSDoc type annotations in expoRouterHead mock
BillChirico Dec 9, 2025
025e1b5
fix(analytics): add __resetForTesting to index.ts and update tests
BillChirico Dec 9, 2025
b66979a
docs: clarify secretValue JSDoc and simplify mock types
BillChirico Dec 9, 2025
e494004
test(analytics): add coverage for concurrent initialization and debug…
BillChirico Dec 9, 2025
2e7da0c
Merge branch 'main' into develop
BillChirico Dec 9, 2025
568980d
fix(analytics): correctly handle shared objects in param sanitization
BillChirico Dec 9, 2025
e958a54
chore(test): remove unused variable in analytics test
BillChirico Dec 9, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 20 additions & 0 deletions __mocks__/expoRouterHead.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
/**
* Mock for expo-router/head module to prevent ESM parsing errors in Jest tests.
* This provides a simple passthrough component that renders children.
*/

const React = require('react');

/**
* Renders the provided children inside a React Fragment.
* @param {object} props - Component props.
* @param {import('react').ReactNode} props.children - Elements to render inside the fragment.
* @returns {import('react').ReactElement} A React Fragment containing the given children.
Comment thread
BillChirico marked this conversation as resolved.
Outdated
*/
function Head({ children }) {
return React.createElement(React.Fragment, null, children);
}

module.exports = Head;
module.exports.default = Head;
Comment thread
BillChirico marked this conversation as resolved.
module.exports.__esModule = true;
Loading
Loading