DRAFT PR: Web Implementation, EAS developer update, and Error Handling - #10
Open
BenGWeeks wants to merge 15 commits into
Open
DRAFT PR: Web Implementation, EAS developer update, and Error Handling#10BenGWeeks wants to merge 15 commits into
BenGWeeks wants to merge 15 commits into
Conversation
- Refactored NDK store to properly handle web platform initialization - Fixed DatabaseProvider service initialization with correct parameters - Updated ProfileImageCache with platform-aware implementations - Added robust error handling for web fallbacks - Improved secureStorage implementation for cross-platform support
- Updated BannerImageCache to use platform-agnostic fileSystem adapter - Fixed ConnectivityService to handle database operations on web - Enhanced error handling for FileSystemAdapter in web environments - Improved error handling for cache directory creation
…d necessary safety checks
…eb fallbacks and improving error handling
- Export cross-platform SecureStore implementation from secureStorage.ts - Fix AuthService.ts to use platform-aware storage adaptors - Update AuthProvider.tsx to use shared SecureStore implementation - Add missing methods to NDKAmberSigner to implement NDKSigner interface - Handle browser localStorage fallback for web environments
…e. Replace mock database implementation with a lightweight in-memory database that maintains the SQLiteDatabase API.
DocNR
marked this pull request as ready for review
May 22, 2025 13:29
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Cross-Platform Enhancements and Error Handling
The objective was to get the application up and running for multiple developers so they could easily get POWR up and running locally for development.
This is a draft PR, and I shall re-factor somewhat and go through other pages so they load in the browser as well. Also needs further testing across multiple devices (Web/iOS/Android).
This pull request enhances the application with cross-platform capabilities, improved error handling, and EAS configuration for better developer collaboration.
EAS Configuration for Multiple Developers
Cross-Platform Storage and Database Implementation
Web-Friendly SQLite Solution
Cross-Platform Authentication Support
Custom Error Page Implementation