Skip to content

Conversation

@sirdeggen
Copy link
Contributor

No description provided.

sirdeggen and others added 30 commits November 22, 2025 13:26
This commit addresses features 1 and 2:

Feature 1: Rename Metanet to BSV Browser
- Updated app name to "BSV Browser" in all config files
- Changed package name from "metanet-mobile" to "bsv-browser"
- Updated bundle identifiers from org.bsvblockchain.metanet to org.bsvblockchain.bsvbrowser
- Replaced metanet:// URL scheme with https:// as primary scheme
- Removed metanet:// deep linking support from useDeepLinking hook
- Updated all template files (app.json.dev-template, app.json.expo-template)

Feature 2: Remove Firebase and notification dependencies
- Removed all Firebase dependencies (@react-native-firebase/*)
- Removed expo-notifications package
- Deleted Firebase configuration files (google-services.json, GoogleService-Info.plist)
- Deleted Firebase utility files (utils/firebase.ts, utils/pushNotificationManager.ts)
- Deleted notification service files (services/notificationBackendService.ts, hooks/usePushNotifications.ts)
- Deleted Firebase plugins (with-fcm-headless.js, with-fcm-manifest-fixes.js, with-notification-service.ts)
- Removed notification handlers from messageRouter
- Removed notification-related permissions (RECEIVE_BOOT_COMPLETED, VIBRATE, WAKE_LOCK)
- Removed aps-environment entitlement from iOS
- Cleaned up notification UI components (NotificationSettingsModal.tsx)
- Removed notification permission type from permissionsManager
- Simplified permission script by removing notification polyfill
- Updated all template files to remove Firebase/notification configuration

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <[email protected]>
This commit makes BSV Browser a fully functional web browser before requiring any wallet setup:

1. Browser-first experience:
   - App now always launches directly to browser screen
   - No wallet setup required to use basic browsing features
   - URL bar auto-focuses on new tabs for immediate use

2. Deferred wallet configuration:
   - Wallet is loaded silently if available, but not required
   - Browser works fully in Web2 mode without wallet
   - Deep links (http/https) work without any wallet setup

3. Web3 on-demand:
   - When a website requests Web3 features, prompt user to set up identity
   - Users can choose to continue in Web2 mode or set up Web3 wallet
   - Seamless transition from Web2 to Web3 mode when needed

4. Auto-focus URL bar:
   - Address bar automatically focuses when on new tab page
   - Provides immediate browser functionality on app launch
   - Better UX for users who just want to browse

This change aligns with Apple's default browser requirements by making the app a fully functional browser first, with Web3 features as an optional enhancement.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <[email protected]>
This commit implements a user-friendly wallet configuration system using LookupResolver:

1. WalletConfigPicker component:
   - Queries LookupResolver for ls_config topic tokens
   - Displays available wallet providers in a list
   - One-click selection to configure wallet
   - Fallback to default BSV Association providers
   - Validates provider connectivity before selection

2. Enhanced ConfigModal:
   - Added Quick Pick / Manual toggle
   - Quick Pick mode shows provider list
   - Manual mode preserves existing manual configuration
   - Seamless transition between modes
   - Auto-saves configuration on quick pick

3. Provider discovery:
   - Uses LookupResolver to discover wallet providers
   - Queries both mainnet and testnet networks
   - Extracts WAB URL, Storage URL, and auth method
   - Validates provider availability before use

4. User experience improvements:
   - No more manual URL typing for most users
   - Clear provider names and descriptions
   - Network-aware provider filtering
   - Error handling with fallback options

This greatly simplifies wallet setup for non-technical users while maintaining full manual configuration for advanced users.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <[email protected]>
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.

2 participants