Single Codebase Progressive Web App with Adaptive Display Modes

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Developing and maintaining native apps for multiple operating systems is costly and complex, requiring separate codebases and reliance on third-party app stores for updates, limiting availability and updating efficiency.

Innovation Solution

Implementing a progressive web app (PWA) with multiple display modes, using a single codebase that detects access methods to provide different content and functions, allowing direct bookmarking and automatic updates without third-party stores.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Adaptability or versatility

If separate codebases are used for native apps on different operating systems, then the app can be optimized for each specific platform, but the development complexity and maintenance cost increase significantly

Engineering Contradiction:
Improveplatform optimizationVSAvoiddevelopment complexity
Core Design Contradiction:
Adaptability or versatilityVSDevice complexity

Solution Approach 1:

The patent implements a universal codebase architecture where a single progressive web app can function across multiple operating systems and devices. The service worker and manifest file enable the same code to operate as a native app on iOS, Android, and other platforms without requiring separate codebases, thus achieving platform optimization through universality rather than multiplication.

Inventive Principle:
Principle #6Universality (Multi-functionality)

Solution Approach 2:

The patent segments the app functionality into modular components including service workers for background operations, manifest files for configuration, and separate index files for different display modes. This segmentation allows the single codebase to be adaptively assembled for different platforms, reducing development complexity while maintaining platform-specific optimization capabilities.

Inventive Principle:
Principle #1Segmentation

2Reliability

If third-party app stores are used for app distribution and updates, then app quality can be controlled through review processes, but the app availability becomes dependent on external gatekeepers and update processes become slower

Engineering Contradiction:
Improveapp quality controlVSAvoidupdate speed
Core Design Contradiction:
ReliabilityVSProductivity

Solution Approach 1:

The patent implements self-service update capabilities where the service worker automatically detects and downloads updated versions of the app directly from the server. The system performs self-validation through manifest file verification and automatic installation without requiring manual user intervention or third-party app store mediation, thus achieving both quality control through automated validation and rapid update deployment.

Inventive Principle:
Principle #25Self-service

Solution Approach 2:

The patent employs preliminary action by pre-caching app resources and using service workers to prepare update installations in the background before user interaction is needed. The manifest file is pre-configured with update policies and the service worker is pre-installed to handle updates automatically, enabling rapid deployment without waiting for third-party store review processes.

Inventive Principle:
Principle #10Preliminary action

3Ease of operation

If users must visit app stores to check for updates, then centralized update management is maintained, but user convenience decreases and update adoption rates drop

Engineering Contradiction:
Improveupdate accessibilityVSAvoiduser time for update checks
Core Design Contradiction:
Ease of operationVSLoss of time

Solution Approach 1:

The patent implements feedback mechanisms where the service worker continuously monitors for updates by comparing cached manifest versions with current server versions. When updates are detected, the system provides automatic notifications to users through the browser interface, eliminating the need for users to manually check app stores and significantly reducing the time and effort required to stay updated.

Inventive Principle:
Principle #23Feedback

Data Source

PatentUS11526577B2Method and system for providing a website and a standalone application on a client device using a single code base
Publication Date: 2022.12.13 EASYWEBAPP INC
  • US11526577B2 patent drawing
  • US11526577B2 patent drawing
  • US11526577B2 patent drawing

AI summary

A method and system for providing a progressive web app (PWA) having a plurality of display modes. The method comprises providing a single code base hosted on a server, the single code base having a shell index file and a plurality of index files corresponding to the plurality of display modes. Each display mode has corresponding display mode content, the display mode content of one display mode performing different functions and operations compared to the display mode content of any of the other display modes. When the PWA is accessed, the shell index file detects whether the PWA was accessed by a browser, a bookmarked PWA standalone web app or other access point, determines the corresponding display mode, and displays the corresponding display mode content.