dev #1377
openImplement WebView for Privacy Policy and Terms & Conditions
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.
Updated by Najmul Hasan over 1 year ago
- Status changed from In Progress to Complete