Project

General

Profile

Actions

dev #1377

open

Implement WebView for Privacy Policy and Terms & Conditions

Added by Najmul Hasan over 1 year ago. Updated over 1 year ago.

Status:
Complete
Priority:
High
Assignee:
Target version:
Start date:
12/05/2024
Due date:
% Done:

100%

Estimated time:
3:00 h
Spent time:

Description

Implement a WebView to display the Privacy Policy and Terms & Conditions pages within the app. This feature will provide users with seamless access to these documents without leaving the application.

Acceptance Criteria
A WebView is integrated to load external URLs.
The Privacy Policy page (https://compresspdf.to/privacy-policy/) is displayed when accessing the Privacy Policy section.
The Terms & Conditions page (https://compresspdf.to/terms-and-conditions/) is displayed when accessing the Terms & Conditions section.
JavaScript should be disabled in the WebView for security reasons.
Both pages should have appropriate headers in the AppBar (e.g., "Privacy Policy" and "Terms & Conditions").
Proper error handling should be implemented for cases like network issues or invalid URLs.
Tasks:

  • Integrate the webview_flutter package into the project.
  • Create a Privacy widget with WebView to display the Privacy Policy.
  • Create a TermsAndConditions widget with WebView to display the Terms & Conditions.
  • Set up navigation to these widgets from the appropriate sections in the app.
  • Ensure the WebView JavaScript mode is disabled.
  • Add error handling for failed page loads.
Actions

Also available in: Atom PDF