Skip to content

Mobile app - #40

Open
csibbach wants to merge 6 commits into
feature/BrowserExtensionfrom
feature/MobileApp
Open

Mobile app#40
csibbach wants to merge 6 commits into
feature/BrowserExtensionfrom
feature/MobileApp

Conversation

@csibbach

Copy link
Copy Markdown
Contributor

PWA form factor for the wallet

Charlie Sibbach added 6 commits August 11, 2026 12:45
- Introduced a new mobile PWA for the 1Shot Wallet, including a WalletConnect host.
- Updated `AGENTS.md` to document the new `/mobile/` route.
- Modified `Dockerfile` to include mobile assets and public files.
- Enhanced `nginx.conf` to handle routing for the mobile application.
- Added new mobile-specific files, including `index.html`, service worker, and icons.
- Integrated WalletConnect functionality with the OWSProxy for seamless wallet interactions.
- Updated `package.json` and `package-lock.json` to include new dependencies for WalletConnect and Reown WalletKit.
- Adjusted TypeScript configurations to include mobile files in the build process.
- Created scripts for generating mobile icons dynamically.
- Updated the EIP-1193 request message type to include a routed variant, ensuring proper tab ID assignment.
- Enhanced validation for tab IDs in request handling to prevent invalid values.
- Modified related functions across background, content, and sidepanel scripts to accommodate the new message structure.
- Improved comments and documentation for better clarity on message types and their usage.
- Added new error messages for passkey timeout and failure scenarios in the style form.
- Updated the OnboardingPanel to display error messages and toast notifications for better user feedback during wallet setup.
- Introduced a new MPA plugin to handle routing for `/mobile/` and `/create/` paths, preventing SPA fallback to the Branding index.
- Improved Vite configuration to support the new MPA structure and avoid caching issues during development.
- Enhanced session store to track the readiness of the signing layer, improving overall session management.
- Updated the wallet session store to utilize a new `reconcileCachedWalletSession` function for improved session hydration.
- Introduced a `clearWalletCreated` function to manage wallet creation state in local storage.
- Enhanced onboarding logic to ensure users are directed to the onboarding process if the wallet is not fully created.
- Improved address validation for EVM and Solana accounts to ensure usability before proceeding with the session.
- Added a new `runWhileUnlockInFlight` function to serialize post-create/unlock operations, preventing concurrent passkey ceremonies.
- Refactored `getPublicKeyCachingRelayerAssertion` to improve handling of relayer challenges during passkey login and wallet creation.
- Updated the `loginWithPasskey` and wallet creation logic to utilize the new function, ensuring proper state management and assertion caching.
- Enhanced error handling and logging for relayer challenge minting failures, improving user feedback during authentication processes.
- Renamed `notifyOpener` to `notifyWallet` to better reflect its purpose in notifying the wallet.
- Improved handling of `window.opener` to accommodate scenarios where it may be null, particularly in Safari extensions.
- Introduced a `BroadcastChannel` for account creation handoff messages to ensure reliable communication even when `window.opener` is not available.
- Updated related functions to streamline message handling and improve error management during account creation processes.
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.

1 participant