Commit Graph

1286 Commits

Author SHA1 Message Date
Javier Cortejoso
655026c790 Update GitHub workflows to use actions/checkout@v6 for improved compatibility and performance across all CI configurations. This change replaces the previous version v4 in circuits, contracts, and other workflow files. 2025-12-22 12:28:10 +01:00
Justin Hernandez
f1bddc1a7a Merge pull request #1516 from selfxyz/release/staging-2025-12-16
Release to Staging - 2025-12-16
2025-12-17 07:26:57 -08:00
Justin Hernandez
e1c7ecdbb8 SELF-1662: Improve prove deeplink navigation (#1517)
* Improve prove deeplink navigation

* fix tests
2025-12-16 20:43:14 -08:00
Justin Hernandez
a6194665ec SELF-1572: Update document scan prompt (#1511)
* Update document scan prompt

* formatting

* fix scan instruction location

* use helper for title text
2025-12-16 14:43:45 -08:00
Justin Hernandez
5321f3757b SELF-1670: Hide document-only settings without documents (#1512)
* Hide document-only settings without documents

* revert document info screen changes, rely on hiding option from settings view

* agent feedback

* hide settings options that depend on having a document
2025-12-16 14:12:30 -08:00
Leszek Stachowski
35fdc69117 CountryPickerScreen: remove info icon (#1515) 2025-12-16 14:09:13 -08:00
Justin Hernandez
da733163f9 SELF-1268: Fix paste button on recovery screen (#1513)
* Fix paste button on recovery screen

* Improve recovery paste button accessibility

* recovery screen bugfix

* simplify fix. remove pressable logic
2025-12-16 09:33:12 -08:00
Justin Hernandez
50dba6de15 SELF-1665: address sentry replay preview (#1509)
* fix sentry replays

* clean up comments
2025-12-15 20:44:59 -08:00
Justin Hernandez
e5e7b108a0 SELF-1553: Add back navigation to QR scanner view (#1508)
* Add back navigation to QR scanner view

* linting

* remove custom hook. use default package
2025-12-15 18:21:36 -08:00
Seshanth.S
adc002b91d Hide Secondary button in AadhaarUploadError screen (#1506) 2025-12-16 01:19:13 +05:30
github-actions[bot]
4d04f48a06 chore: bump mobile app version to 2.9.5 (#1504)
Update build numbers and deployment timestamps after successful deployment.

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2025-12-15 07:07:07 -08:00
Seshanth.S
f54c668274 SELF-1645: Disable Verify button for expired documents (#1497)
* Disable Verify button for expired documents

* coderabbit feedbacks
2025-12-15 13:06:09 +01:00
Justin Hernandez
6a9b8442ce Merge pull request #1502 from selfxyz/release/staging-2025-12-14
Release alpha build for 2.9.5
2025-12-14 14:11:08 -08:00
Justin Hernandez
e8461664cd address flaky proving test; migrate to common tests (#1503)
* update flaky test and migrate to common tests

* remove comment

* prettier
2025-12-14 13:15:46 -08:00
Justin Hernandez
c66a1b17f9 bump version to 2.9.5; make webview tests async (#1501) 2025-12-14 12:16:48 -08:00
github-actions[bot]
529b15f382 chore: bump mobile app version to 2.9.4 (#1499)
Update build numbers and deployment timestamps after successful deployment.

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2025-12-14 00:12:03 -08:00
Justin Hernandez
42e10ebc5c Merge branch 'staging' into release/staging-2025-12-12 2025-12-13 17:26:23 -08:00
Justin Hernandez
59f9780ffb SELF-1610: fix internal webview wallet connect links (#1489)
* save working android implementation

* save working webview

* more webview space

* fix close button

* nav icons match footer icons

* fix webscreen tests. android works as expected

* save almost working implementation

* skip tests for seshanth to review

* tighten up allowed webview schemes

* lock down to cloud.google.com

* remove logging

* make screen wider

* fix padding

* revert test change

* skip tests for now

* agent feedback

* update lock

* fix padding

* agent feedback and abstract methods

* Handle Coinbase wallet popups externally (#1496)

* Handle Coinbase wallet popups externally

* Clarify Coinbase popup redirect handling

* open coinbase wallet request in new window

* agent feedback

* add system alert to warn user they are being redirected to their browser

* fix footer icons; open app.aave.com in external browser for ios

* finalize aave ios flow for testing

* agent feedback

* feedback
2025-12-13 17:14:21 -08:00
Aaron DeRuvo
198297e96e SELF-1554 : Fix Country Picker (#1492)
* country picker is always euclid.

* track when users press the info icon
2025-12-12 17:13:26 +01:00
Javier Cortejoso
4b09e5b96f Remove personal access token (#1481)
* Refactor NFC scanner tests to use a global variable for platform OS, allowing dynamic switching between iOS and Android during tests. This change improves test isolation and avoids hoisting issues with jest.mock.

* feat: add GitHub App token generation action for self repositories

- Introduced a new action to generate GitHub App tokens for accessing repositories within the selfxyz organization.
- Updated multiple workflows to utilize the new action for token generation, ensuring secure access to private repositories during CI processes.
- Modified Podfile and scripts to support authentication using the generated token, enhancing the cloning of private modules in CI environments.

* chore: enhance CI workflows with Git authentication for CocoaPods

- Updated multiple CI workflows to include a step for configuring Git authentication for CocoaPods, ensuring secure access to private repositories without embedding credentials in URLs.
- Added masking for sensitive tokens in logs to enhance security during CI processes.
- Modified the Podfile to avoid printing authentication details in CI logs, improving overall security practices.

* chore: enhance CI workflows with optional Git authentication configuration

- Added new inputs to the GitHub action for generating GitHub tokens, allowing optional configuration of a ~/.netrc entry for Git authentication.
- Updated multiple CI workflows to utilize the new configuration, improving security and simplifying access to private repositories during builds.
- Removed redundant Git authentication steps from workflows, streamlining the CI process while maintaining secure access to necessary resources.

* chore: update Podfile for secure Git authentication in CI

- Modified the Podfile to enhance security by avoiding the embedding of credentials in URLs for accessing the NFCPassportReader repository during CI processes.
- Added comments to guide developers on using workflow-provided authentication methods, improving overall security practices in the project.
2025-12-12 12:38:23 +01:00
Javier Cortejoso
d9d9e4f159 Refactor NFC scanner tests to use a global variable for platform OS, allowing dynamic switching between iOS and Android during tests. This change improves test isolation and avoids hoisting issues with jest.mock. 2025-12-11 19:30:44 +01:00
Aaron DeRuvo
fc82b6b2b3 Prepares app for Euclid (#1473)
* setup IS_EUCLID build variable for conditionally using euclid desgins
create a headless header that only handles the status bar, for the new screens since they manage their own
make sure new screens get proper insets
add recoveryphrase 3.0
fix country picker



* this lint runs twice. once in repo wide lint and once here. so lets just run once to save resources



Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
2025-12-09 12:56:05 +01:00
github-actions[bot]
5c7d6625e6 chore: bump mobile app version to 2.9.4 (#1476)
Update build numbers and deployment timestamps after successful deployment.

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2025-12-06 08:47:16 -08:00
Justin Hernandez
202d0f8122 SELF-483: Enable backup recovery prompts (#834)
* Guard recovery prompts

* refactor(app): gate recovery prompts with allow list (#1251)

* fix typing

* fix header

* fix app loading

* fix tests

* Limit recovery prompts to home allowlist (#1460)

* fix test

* fix typing pipeline

* format and fix linting and tests

* tests pass

* fix tests

* split up testing

* save wip

* save button fix

* fix count

* fix modal width

* remove consologging

* remove depcrecated login count

* linting

* lint

* early return
2025-12-05 21:34:50 -08:00
Justin Hernandez
89b16486ee bump version and build to match stores (#1475) 2025-12-05 20:35:12 -08:00
Justin Hernandez
de9e91772e add discord and update telegram links (#1471) 2025-12-05 02:06:26 -08:00
Seshanth.S
f0fe69d23f SELF-1177 - Separate button states during backup (#1402)
* AccountRecoveryChoiceScreen: seperate button states

* clean up logging

* improve analytics

---------

Co-authored-by: Justin Hernandez <justin.hernandez@self.xyz>
2025-12-05 12:15:22 +05:30
Justin Hernandez
967ce31cc9 Use eslint to run prettier (#1463)
* sort packages

* consolidate prettier under eslint fix

* lint and lock files
2025-12-03 07:04:01 -08:00
Justin Hernandez
64ab5fc91c Minor app fixes two point nine rd2 (#1462)
* better tests

* lockfile naming fixes

* format

* fix ci issues
2025-12-02 22:20:17 -08:00
Justin Hernandez
569c606776 chore: remove gitguardian references (#1461) 2025-12-02 21:46:06 -08:00
Leszek Stachowski
f2d2d821c2 DocumentCameraScreen copy changes (#1414)
Co-authored-by: Justin Hernandez <justin.hernandez@self.xyz>
2025-12-02 21:10:21 -08:00
Justin Hernandez
71a6b49140 small collection bugfixes for two point nine (#1446)
* fix addhaar typo

* consolidate mobile app links and add tests

* fix caching issues for pipelines

* fix gitleaks

* update binary merkle root.circom package source

* fix cache

* update path

* rename lockfile

* fix qrcode error

* fix mobile ci tests and prettier

* fix qr code typing

* fix qrcode pipelines

* fix integration test
2025-12-02 13:03:50 -08:00
Aaron DeRuvo
7899c239cc Three/country picker (#1448)
* use 3.0 country picker

* get blurview working in app
add navigation adapter to sdk
render

* fix fonts and double view registration issues

* dont need this script as we use peer deps now

* fix our package installs





* prayed to the false idol of claude to resolve installing anon-aadhar from a specific commit from a monorepo

* fix route types


* add peer deps to demo

---------

Co-authored-by: Leszek Stachowski <leszek.stachowski@self.xyz>
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
2025-12-01 16:08:09 +01:00
github-actions[bot]
37417d219c chore: bump mobile app version to 2.9.2 (#1443)
Update build numbers and deployment timestamps after successful deployment.

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2025-11-22 11:10:09 -03:00
Seshanth.S
fb4cd929e2 SELF-1232: Recovery: reduce fingerprint popup count (#1434)
* Recovery: reduce fingerprint popup count

* add await to reStorePassportDataWithRightCSCA
2025-11-21 13:21:54 +05:30
Justin Hernandez
180638dc57 fix staging pipelines (#1442) 2025-11-20 19:14:38 -03:00
Justin Hernandez
4d87ea2895 bump version (#1440) 2025-11-20 18:05:02 -03:00
Justin Hernandez
e77688b472 fix tg group url (#1438) 2025-11-20 17:57:25 -03:00
Justin Hernandez
551067a48e Reorganize mobile app /src and /tests folders (#1357)
* Refactor mobile app utilities into new modules

* prettier

* update lock, feedback from codex

* fix path

* keep some files in utils

* fix tests

* update paths

* remove old docs

* cr feedback

* flatten inefficient paths

* better structure

* update test folder structure

* migrate images

* fix import

* fix Sentry path

* update ignore

* save wip migration

* more updates

* standardize component names

* rename assets

* fix linting

* add barrel exports. final refactor commit

* fix formatting

* fix nav bar

* reduce bundle size

* remove dupe license

* fix test

* fix merge issues

* add refactor doc so we can track what was imporoved

* cr feedback

* feedback
2025-11-20 17:56:44 -03:00
Justin Hernandez
cadd7ae5b7 SELF-1192: fix oom tests (#1429)
* fix oom tests?

* update tests

* try fixing tests again

* fix: unblock mobile app jest runner

* fix corrupt yarn lock

* Reduce heavy React Native usage in tests (#1436)

* Reduce heavy React Native usage in tests

* Stabilize mobile tests

* prettier

* ignore podfile.lock

* fix test and gitleaks

* fix path

* update

* fix tests

* address tamagui concern
2025-11-20 11:59:00 -03:00
github-actions[bot]
f035a1eb96 chore: bump mobile app version to 2.9.1 (#1432)
Update build numbers and deployment timestamps after successful deployment.

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2025-11-19 08:34:04 -03:00
Seshanth.S
e4cdb125b0 SELF-1262:Hotfix/hide unregistered document (#1423)
* hide unregistered documents

* redirect to 'Home' instead of 'Launch'

* RecoverWithPhraseScreen: wrap restoreAccount in try-catch

* Revert "RecoverWithPhraseScreen: wrap restoreAccount in try-catch"

This reverts commit e53b5630ca.

* RecoverWithPhraseScreen: wrap restoreAccount in try-catch

* update lock

* fix types

* bump version

* remove launch screen

* update bundle version

* add new events

* fix nested react requires

* fix heavy tests

* address fake mocks

* fix test

* address codex and coderabbit logic conceners

* fix linting

* remove last borked react test

---------

Co-authored-by: Justin Hernandez <justin.hernandez@self.xyz>
2025-11-18 21:04:09 -03:00
Justin Hernandez
c50db06eee dev fixes for release 2.9.1 (#1428)
* update lock

* fix types

* bump version

* fix nested react requires

* fix heavy tests

* address fake mocks

* fix test

* remove last borked react test
2025-11-18 21:01:02 -03:00
Seshanth.S
472fb18635 Prevent Cloudbackups when no document is registered (#1425) 2025-11-18 14:53:20 +05:30
Aaron DeRuvo
ee2d72e801 smart dev screen selector (#1421)
* use the actual navigation object instead of an array of strings so that any time we add a screen its automatically available from dev settings.

* correct type
2025-11-17 15:37:41 +01:00
Leszek Stachowski
60e1cb3fc5 SELF-1198: PointsInfo screen (#1410) 2025-11-17 15:30:33 +01:00
Justin Hernandez
e71860d7ee Disable turnkey button; bump new android build (#1412)
* disable turnkey

* disable turnkey button

* remove comments

* update build

* bump artifcats
2025-11-13 11:06:11 -08:00
Leszek Stachowski
7ccf688a1d SELF-1159: Show gratification screen after notifications and backup enabling (#1403) 2025-11-13 17:37:08 +01:00
turnoffthiscomputer
67eb0d46e4 App/use whitelisted addresses for points (#1408)
* feat: enhance PointHistoryList and ProveScreen with disclosure event handling

- Updated PointHistoryList to include loading of disclosure events on refresh.
- Enhanced ProveScreen to set user's points address if not already defined.
- Added endpoint field to ProofHistory and database schema for better tracking.
- Introduced utility functions for fetching whitelisted disclosure addresses and managing disclosure events.

* fix: update navigation flow in PointsNavBar and GratificationScreen

- Changed navigation action in PointsNavBar from `goBack` to `navigate('Home')` for a more direct user experience.
- Updated GratificationScreen to navigate to 'Points' instead of going back, enhancing the flow after user interactions.
- Replaced the ArrowLeft icon with a new X icon for better visual consistency.
2025-11-12 23:35:38 +01:00
Justin Hernandez
2753de3509 chore: fix earn points redirect; restore account feedback (#1400)
* redirect to country picker

* fix button restoring state

* fix earn points flow and account recovery feedback

* redirect to the country picker

* fix test

* clean up
2025-11-12 06:07:13 -08:00