* bump build
* update clean commands
* add notification tracking provider, and update provider paths
* request permission for firebase cloud messaging
* since the app asks for permissions, let's enable this after configuring the APN
* remove monorepo building as it doesn't affect app build success
* add flags to expose build issues
* fix hermes path
* fix hermes path for emulator and bundle build
* Revert "Bump build to test PACE polling (ios 127; android 66) (#591)"
This reverts commit 6d27b365c7.
* revert old logic and fix build from breaking
* sort package.json
* bump builds
* update env.sample with new env vars, and add _NFC to mixpanel nfc var
* remove NDEF so we can keep target sdk version at 15
* add sort package json command
* sort all project package.json files
* enable hermes
* disable hermes
* revert disabling
* remove hermes
* fix: added missing range checks for Sha1Bytes
* more descriptive comments around range checks
* added range assumption of Sha1Bytes
* added range assumption of Sha1General
---------
Co-authored-by: nicoshark <i.am.nicoshark@gmail.com>
Co-authored-by: turnoffthiscomputer <98749896+remicolin@users.noreply.github.com>
* add eu id support
* add ofac and disclosure euid support
* add contract support for euid cards
* update contracts
* add comment out to remember the interface what we need to implement
* prettier
* get combine verifyVcAndDisclose function and get bytes data
* unified library and clean constant V2
* fix verifyVcAndDisclose interface
* add prettier and run prettier except .sol files
* prettier
* circuit compilation for local environment
* add register id circuit in the contracts dir
* clean up ignition deploy scritps
* refactor deploy scripts
* prettier
* update serialized dsc tree
* fix ofac check
* fix passport attestation id
---------
Co-authored-by: turnoffthiscomputer <colin.remi07@gmail.com>
* Run prettier
* Update yarn.lock
* Refactor SelfVerificationRoot contract to support bytes-based proof verification and update related interfaces. Introduce contract versioning and enhance event emissions for verification success. Update Airdrop, HappyBirthday, and SelfPassportERC721 contracts to align with new SelfVerificationRoot structure and improve attestation ID handling.
* add fix
* add getSKIPems to fetchAll - store the passport data with the used csca
* fix the dsc parsing error
* use bitwise operation, implement the new isRegisteredWithAlternativesCSCA in the recovery methods
* add eu id support
* add ofac and disclosure euid support
* add contract support for euid cards
* update contracts
* add comment out to remember the interface what we need to implement
* prettier
* get combine verifyVcAndDisclose function and get bytes data
* unified library and clean constant V2
* fix verifyVcAndDisclose interface
* add prettier and run prettier except .sol files
* prettier
---------
Co-authored-by: turnoffthiscomputer <colin.remi07@gmail.com>
* add eu id support
* add ofac and disclosure euid support
* add contract support for euid cards
* update contracts
* add comment out to remember the interface what we need to implement
* add prettier and run prettier except .sol files
* prettier
---------
Co-authored-by: turnoffthiscomputer <colin.remi07@gmail.com>
* add eu id support
* add ofac and disclosure euid support
* add contract support for euid cards
* update contracts
* add comment out to remember the interface what we need to implement
---------
Co-authored-by: turnoffthiscomputer <colin.remi07@gmail.com>
* add eu id support
* add ofac and disclosure euid support
* add contract support for euid cards
---------
Co-authored-by: motemotech <i.am.nicoshark@gmail.com>
* Add SelfVerificationConsumer contract for self-verification logic
- Introduced an abstract contract, SelfVerificationConsumer, that extends SelfVerificationRoot.
- Implemented nullifier tracking, verification success events, and customizable validation and update methods for nullifiers.
- Added error handling for nullifier check failures and hooks for derived contracts to implement custom logic after successful verification.
* Add SelfHappyBirthday contract example using SelfVerificationConsumer
- Introduced SelfHappyBirthday contract that allows users to claim USDC on their birthday.
- Integrated SelfVerificationConsumer for handling verification and nullifier tracking.
- Added functions to set claimable amount and window, along with event emissions for state changes.
- Implemented logic to check if the claim is within the user's birthday window and transfer USDC accordingly.
* Refactor imports in HappyBirthday contract for better organization
- Updated import statements in HappyBirthday.sol to use relative paths for ISelfVerificationRoot, SelfCircuitLibrary, and SelfVerificationConsumer.
- Improved code readability and maintainability by organizing imports more logically.
* Refactor Airdrop contract to use SelfVerificationConsumer for registration logic
- Updated Airdrop contract to inherit from SelfVerificationConsumer instead of SelfVerificationRoot.
- Refactored mappings for user identifiers and nullifiers for improved clarity and functionality.
- Enhanced error handling and updated function parameters for consistency.
- Implemented new validation and update methods for nullifiers, streamlining the registration process.
- Removed deprecated verifySelfProof function and integrated logic into new methods.
* Add events and refactor SelfVerificationRoot and related contracts
- Introduced new events in SelfVerificationRoot for verification configuration updates, scope changes, and attestation ID management.
- Updated Airdrop contract to remove deprecated events and added a new event for Merkle root updates.
- Refactored SelfPassportERC721 to inherit from SelfVerificationConsumer, enhancing verification logic and event handling.
- Improved function parameters for consistency and clarity across contracts.
* Refactor contracts to use SelfVerificationRoot and enhance verification logic
- Removed SelfVerificationConsumer contract and updated related contracts to inherit from SelfVerificationRoot.
- Refactored mappings and event emissions in Airdrop, HappyBirthday, and SelfPassportERC721 for improved clarity and functionality.
- Enhanced verification success hooks to include user identifiers and nullifiers for better tracking.
- Updated constructor parameters for consistency across contracts and improved error handling for user registration and claims.
* Refactor constructor in SelfPassportERC721 for improved readability
* Refactor function parameters in SelfVerificationRoot and related contracts
* Refactor constructor parameter names in IdentityVerificationHub, Airdrop, IdentityRegistry, and ProxyRoot contracts for improved clarity and consistency
* Add Prettier configuration and ignore files for code formatting
- Created .prettierignore to exclude specific directories and files from formatting.
- Added .prettierrc.yml with custom settings for print width and trailing commas.
- Updated package.json to include Prettier and its Solidity plugin as dependencies, along with scripts for formatting and checking code.
* Run prettier formatting
* clean up nav and home boundaries, passport data screen insets
* migrate proof history screen out of settings
* minor clean up
* save wip
* add new ibm plex mono font and clean up proof detail screen
* remove test data
* remove extra loading screen text
* remove unnecessary ceil
* create new loading screen and rename static to misc
* fix route
* save wip loading screen
* save wip animation
* save static wip design
* continue
* splash
* add a loading screen text helper
* add test for loading screen text
* save wip. almost there
* update haptic logic
* better feedback and add dev scren
* save current work
* update text logic and tests
* load passport metadata in loading screen
* simplify and fix tests
* test for additional exponents
* add new animation
* rename file
* consolidate ui useEffect and fix loading screen layout
* fix current state
* remove mockPassportFlow param
* merge new loading screen and new notification logic
* simplify
* update lock
* use passportMetadata instead of metadata
* save simplification
* update loading text based on pr feedback and tests
* feat: Use vision for MRZ scanning
* modify label to position the smartphone during the OCR scan
---------
Co-authored-by: turnoffthiscomputer <colin.remi07@gmail.com>
* add push notification feature
* merge new app impl
* change dsc key
* import
* reverse mock dsc
* worked in the ios
* checked in android
* update url and delete console
* delete small changes
* lint
* add yarn.lock
* fix warning message
* add mock notification service for test code
* fix path for the mock implementation
* add mock deeplink to the test code
* nice notificationServiceMock.js
* delete unused firebase related implementation
* fix wording and UI related to notification service
* hotfix on mockdatascreen
---------
Co-authored-by: turnoffthiscomputer <colin.remi07@gmail.com>
* remove dupe account screens and prefer the term home
* organize screen loading better
* sort keys
* rename screen files wip
* fix deleted directory issues
* rename folders
* fix paths and naming
* save working jest import test
* save base working jest navigation test
* finalize navigation refactor and jest test
* update test name and podfile lock
* remove unused packages
* use the correct version of react test renderer