* move fcm token from proving store to setting store for better separation of concerns.
* use analytics on adapter
* Revert "use analytics on adapter"
This reverts commit 4854d6fa87.
* prettier
* please be good
* ik heb oopsie wooopsie
* remove
* chore: incrementing android build version for version 2.6.8 [github action] (#1141)
Co-authored-by: transphorm <23852+transphorm@users.noreply.github.com>
* chore: incrementing ios build number for version 2.6.8 [github action]
---------
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
* chore: incrementing android build version for version 2.6.8 [github action] (#1141)
Co-authored-by: transphorm <23852+transphorm@users.noreply.github.com>
* chore: incrementing ios build number for version 2.6.8 [github action]
---------
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
* refactor: generate scope for SelfVerificationRoot upon deploment
Utilise Poseidon to generate the scope for the deploying contract instead of relying on utilizing the Scope Generator tool on the frontend and calling a function that inherits the _setScope function
* style: use explicit import for PoseidonT3
* fix: link Poseidon library in TestSelfVerificationRoot deployments
* fix: Use same logic in SelfVerificationRoot as in hashEndpointWithScope
* refactor: use hardcoded PoseidonT3 addresses for Celo Mainnet + Sepolia
Also allowed functionality for testing environments which have a fresh deploy each time they are spun up, and which now utilize the testSetScope function for tests relying on TestSelfVerificationRoot
* style: change setTestScope to setGenerateScope for clarity
* refactor: Move logic out of SelfVerificationRoot into util files
* chore: update version
* fix: sepolia chain id
* fmt
---------
Co-authored-by: ayman <aymanshaik1015@gmail.com>
* Refactor deep link handling to simplify navigation to ProveScreen
- Removed the reset of the navigation stack and replaced it with a direct navigation call to 'Prove'.
- This change streamlines the deep link handling process, ensuring a more straightforward user experience when navigating to the ProveScreen.
* update lock and fix tests
---------
Co-authored-by: Justin Hernandez <justin.hernandez@self.xyz>
- Changed passportData state type from PassportData to IDDocument for better type handling.
- Updated getLoadingScreenText function to accept signatureAlgorithm and curveOrExponent directly instead of PassportMetadata.
- Adjusted loading text and animation logic based on document category, improving clarity and maintainability.
* add iOS qrcode opener and aadhaar screen
* format
* fix test
* add Image-picker android (#1077)
* add image-picker android
* fix validation
* feat: implement Aadhaar upload success and error screens, enhance AadhaarNavBar with dynamic progress indication
- Added AadhaarUploadedSuccessScreen and AadhaarUploadErrorScreen components for handling upload outcomes.
- Updated AadhaarNavBar to reflect current upload step with dynamic progress bar.
- Integrated new screens into navigation flow for Aadhaar upload process.
- Introduced blue check and warning SVG icons for visual feedback on success and error states.
* feat: generate mock aadhar (#1083)
* feat: generate mock aadhar
* add yarn.lock
* update yarn.lock
* update protocolStore, update types, start modifying provingMachine
* Register mock aadhar (#1093)
* Register mock aadhar
* fix ofac
* temp: generate name
* fix dob
* Add Aadhaar support to ID card component and screens
- Integrated Aadhaar icon and conditional rendering in IdCardLayout.
- Updated AadhaarUploadScreen to process QR codes and store Aadhaar data.
- Modified navigation and button text in AadhaarUploadedSuccessScreen.
- Added mock data generation for Aadhaar in the mobile SDK.
- Updated ManageDocumentsScreen to include Aadhaar document type.
- Enhanced error handling and validation for Aadhaar QR code processing.
- Added utility functions for Aadhaar data extraction and commitment processing.
* aadhaar disclose - wip (#1094)
* fix: timestamp cal of extractQRDataFields
* Feat/aadhar fixes (#1099)
* Fix - android aadhar qr scanner
* fixes
* update text
* yarn nice
* run prettier
* Add mock Aadhaar certificates for development
- Introduced hardcoded Aadhaar test certificates for development purposes.
- Moved Aadhaar mock private and public keys to a dedicated file for better organization.
- Updated the mock ID document generation utility to utilize the new Aadhaar mock certificates.
* prettier write
* add 'add-aadhaar' button (#1100)
* Update .gitleaks.toml to include path for mock certificates in the common/dist directory
* yarn nice
* Enhance Aadhaar error handling with specific error types
- Updated the AadhaarUploadErrorScreen to display different messages based on the error type (general or expired).
- Modified the AadhaarUploadScreen to pass the appropriate error type when navigating to the error screen.
- Set initial parameters for the home screen to include a default error type.
* Update passport handling in proving machine to support Aadhaar document category
- Modified the handling of country code in the useProvingStore to return 'IND' for Aadhaar documents.
- Ensured that the country code is only fetched from passport metadata for non-Aadhaar documents.
* tweak layout, text, change email to support, hide help button
* fix ci, remove aadhaar logging, add aadhaar events
* remove unused aadhaar tracking events
* update globs
* fix gitguardian config
* don't track id
* fix test
---------
Co-authored-by: turnoffthiscomputer <colin.remi07@gmail.com>
Co-authored-by: Seshanth.S🐺 <35675963+seshanthS@users.noreply.github.com>
Co-authored-by: vishal <vishalkoolkarni0045@gmail.com>
* add iOS qrcode opener and aadhaar screen
* format
* fix test
* add Image-picker android (#1077)
* add image-picker android
* fix validation
* feat: implement Aadhaar upload success and error screens, enhance AadhaarNavBar with dynamic progress indication
- Added AadhaarUploadedSuccessScreen and AadhaarUploadErrorScreen components for handling upload outcomes.
- Updated AadhaarNavBar to reflect current upload step with dynamic progress bar.
- Integrated new screens into navigation flow for Aadhaar upload process.
- Introduced blue check and warning SVG icons for visual feedback on success and error states.
* feat: generate mock aadhar (#1083)
* feat: generate mock aadhar
* add yarn.lock
* update yarn.lock
* update protocolStore, update types, start modifying provingMachine
* Register mock aadhar (#1093)
* Register mock aadhar
* fix ofac
* temp: generate name
* fix dob
* Add Aadhaar support to ID card component and screens
- Integrated Aadhaar icon and conditional rendering in IdCardLayout.
- Updated AadhaarUploadScreen to process QR codes and store Aadhaar data.
- Modified navigation and button text in AadhaarUploadedSuccessScreen.
- Added mock data generation for Aadhaar in the mobile SDK.
- Updated ManageDocumentsScreen to include Aadhaar document type.
- Enhanced error handling and validation for Aadhaar QR code processing.
- Added utility functions for Aadhaar data extraction and commitment processing.
* aadhaar disclose - wip (#1094)
* fix: timestamp cal of extractQRDataFields
* Feat/aadhar fixes (#1099)
* Fix - android aadhar qr scanner
* fixes
* update text
* yarn nice
* run prettier
* Add mock Aadhaar certificates for development
- Introduced hardcoded Aadhaar test certificates for development purposes.
- Moved Aadhaar mock private and public keys to a dedicated file for better organization.
- Updated the mock ID document generation utility to utilize the new Aadhaar mock certificates.
* prettier write
* add 'add-aadhaar' button (#1100)
* Update .gitleaks.toml to include path for mock certificates in the common/dist directory
* yarn nice
* Enhance Aadhaar error handling with specific error types
- Updated the AadhaarUploadErrorScreen to display different messages based on the error type (general or expired).
- Modified the AadhaarUploadScreen to pass the appropriate error type when navigating to the error screen.
- Set initial parameters for the home screen to include a default error type.
* Update passport handling in proving machine to support Aadhaar document category
- Modified the handling of country code in the useProvingStore to return 'IND' for Aadhaar documents.
- Ensured that the country code is only fetched from passport metadata for non-Aadhaar documents.
* tweak layout, text, change email to support, hide help button
* fix ci, remove aadhaar logging, add aadhaar events
* remove unused aadhaar tracking events
* update globs
* fix gitguardian config
* don't track id
---------
Co-authored-by: Justin Hernandez <justin.hernandez@self.xyz>
Co-authored-by: Seshanth.S🐺 <35675963+seshanthS@users.noreply.github.com>
Co-authored-by: vishal <vishalkoolkarni0045@gmail.com>
* chore: remove android private modules doc
* private repo pull
* skip private modules
* remove unused circuits building
* save wip
* format
* restore tsconfig
* fix package install
* fix internal repo cloning
* unify logic and fix cloning
* git clone internal repos efficiently
* formatting
* run app yarn reinstall from root
* coderabbit feedback
* coderabbit suggestions
* remove skip private modules logic
* fix: ensure PAT is passed through yarn-install action and handle missing PAT gracefully
- Update yarn-install action to pass SELFXYZ_INTERNAL_REPO_PAT to yarn install
- Make setup-private-modules.cjs skip gracefully when PAT is unavailable in CI
- Fixes issue where setup script was throwing error instead of skipping for forks
* prettier
* fix clone ci
* clone ci fixes
* fix import export sorts
* fix instructions
* fix: remove SelfAppBuilder re-export to fix duplicate export error
- Remove SelfAppBuilder import/export from @selfxyz/qrcode
- Update README to import SelfAppBuilder directly from @selfxyz/common
- Fixes CI build failure with duplicate export error
* fix: unify eslint-plugin-sort-exports version across workspaces
- Update mobile-sdk-alpha from 0.8.0 to 0.9.1 to match other workspaces
- Removes yarn.lock version conflict causing CI/local behavior mismatch
- Fixes quality-checks workflow linting failure
* fix: bust qrcode SDK build cache to resolve stale SelfAppBuilder issue
- Increment GH_SDK_CACHE_VERSION from v1 to v2
- Forces CI to rebuild artifacts from scratch instead of using cached version
- Resolves quality-checks linter error showing removed SelfAppBuilder export
* skip job
* test yarn cache
* bump cache version to try and fix the issue
* revert cache version
* refactor: use direct re-exports for cleaner qrcode package structure
- Replace import-then-export pattern with direct re-exports
- Keep SelfAppBuilder export with proper alphabetical sorting (before SelfQRcode)
- Maintain API compatibility as documented in README
- Eliminates linter sorting issues while keeping clean code structure
* fix: separate type and value imports in README examples
- Import SelfApp as type since it's an interface
- Import SelfAppBuilder as value since it's a class
- Follows TypeScript best practices and improves tree shaking