更换隐私到本地。

This commit is contained in:
ocean 2025-11-17 11:44:41 +08:00
parent 50b44cc65d
commit 387cda0126
3 changed files with 147 additions and 72 deletions

View File

@ -0,0 +1,69 @@
<!DOCTYPE html>
<!-- saved from url=(0062)https://www.explore-sun.com/privacy-policy/pdf-reader-pro.html -->
<html lang="en"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Privacy Policy | PDF Reader Pro </title>
<style>
body {
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
line-height: 1.6;
max-width: 800px;
margin: 40px auto;
padding: 0 20px;
color: #333;
}
h1, h2 {
color: #111;
}
a {
color: #007aff;
text-decoration: none;
}
a:hover {
text-decoration: underline;
}
</style>
</head>
<body>
<h1>Privacy Policy</h1>
<p>Last updated: <strong>October 28, 2025</strong></p>
<p>Thank you for using <strong>SereneMoment: MinimalBreathe</strong> . We value your privacy and data security. This Privacy Policy explains how we collect, use, and protect your information.</p>
<h2>1. Information We Collect</h2>
<p>The App may collect the following types of information:</p>
<ul>
<li>Device information </li>
<li>Usage data </li>
<li>Access to your camera, photos, microphone, or location — only with your explicit permission</li>
</ul>
<h2>2. How We Use Information</h2>
<p>We use the collected information to:</p>
<ul>
<li>Improve app performance and user experience</li>
<li>Fix bugs and enhance security</li>
<li>Provide personalized features or services (only with your consent)</li>
</ul>
<h2>3. Information Sharing</h2>
<p>We do not sell or rent your personal data to any third parties. Information may only be shared in the following cases:</p>
<ul>
<li>To comply with applicable laws or government requests</li>
<li>With trusted third-party services required to provide app functionality (e.g., Apple, Firebase, Crashlytics)</li>
</ul>
<h2>4. Data Security</h2>
<p>We use reasonable measures to protect your information from unauthorized access, disclosure, alteration, or destruction.</p>
<h2>5. Your Rights</h2>
<p>You can withdraw permissions or delete the app at any time to stop further data collection.</p>
<h2>6. Changes to This Privacy Policy</h2>
<p>We may update this Privacy Policy from time to time. The latest version will always be available on this page.</p>
<h2>7. Contact Us</h2>
<p>If you have any questions or concerns about this Privacy Policy, please contact us at:</p>
<p>Email: alkrisodetonycr@gmail.com</p>
</body></html>

View File

@ -69,9 +69,8 @@ class PrivacyPolicyActivity : BaseActivity() {
} }
private fun loadPrivacyPolicy() { private fun loadPrivacyPolicy() {
val privacyPolicyUrl = "https://www.explore-sun.com/privacy-policy/pdf-reader-pro.html" val localUrl = "file:///android_asset/PrivacyPolicy.html"
binding.webView.loadUrl(localUrl)
binding.webView.loadUrl(privacyPolicyUrl)
} }
private fun loadErrorPage() { private fun loadErrorPage() {

View File

@ -1,97 +1,104 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto" xmlns:app="http://schemas.android.com/apk/res-auto"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="match_parent" android:layout_height="match_parent"
android:background="@mipmap/splash_img_bg" android:background="@mipmap/splash_img_bg">
android:gravity="center"
android:orientation="vertical">
<!-- App Logo -->
<androidx.constraintlayout.widget.ConstraintLayout
android:layout_marginBottom="24dp"
android:layout_width="wrap_content"
android:layout_height="wrap_content">
<ImageView
android:id="@+id/splash_logo"
android:layout_width="94dp"
android:layout_height="94dp"
android:src="@mipmap/splash_logo"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintLeft_toLeftOf="parent"
app:layout_constraintRight_toRightOf="parent"
app:layout_constraintTop_toTopOf="parent" />
<ImageView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:src="@mipmap/splash_logo_shadow"
app:layout_constraintLeft_toLeftOf="parent"
app:layout_constraintRight_toRightOf="parent"
app:layout_constraintTop_toBottomOf="@+id/splash_logo" />
<!-- 右下角设置图标 -->
<ImageView
android:id="@+id/icon_settings"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="-8dp"
android:src="@mipmap/icon_red_settings"
app:layout_constraintRight_toRightOf="@+id/splash_logo"
app:layout_constraintTop_toTopOf="@id/splash_logo" />
</androidx.constraintlayout.widget.ConstraintLayout>
<LinearLayout <LinearLayout
android:layout_width="wrap_content" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="match_parent"
android:gravity="center" android:gravity="center"
android:orientation="vertical"> android:orientation="vertical">
<androidx.constraintlayout.widget.ConstraintLayout
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginBottom="24dp">
<ImageView
android:id="@+id/splash_logo"
android:layout_width="94dp"
android:layout_height="94dp"
android:src="@mipmap/splash_logo"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintLeft_toLeftOf="parent"
app:layout_constraintRight_toRightOf="parent"
app:layout_constraintTop_toTopOf="parent" />
<ImageView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:src="@mipmap/splash_logo_shadow"
app:layout_constraintLeft_toLeftOf="parent"
app:layout_constraintRight_toRightOf="parent"
app:layout_constraintTop_toBottomOf="@+id/splash_logo" />
<!-- 右下角设置图标 -->
<ImageView
android:id="@+id/icon_settings"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="-8dp"
android:src="@mipmap/icon_red_settings"
app:layout_constraintRight_toRightOf="@+id/splash_logo"
app:layout_constraintTop_toTopOf="@id/splash_logo" />
</androidx.constraintlayout.widget.ConstraintLayout>
<LinearLayout <LinearLayout
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:gravity="center" android:gravity="center"
android:orientation="horizontal"> android:orientation="vertical">
<TextView <LinearLayout
style="@style/TextViewFont_PopSemiBold"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:text="@string/app_name_pdf" android:gravity="center"
android:orientation="horizontal">
<TextView
style="@style/TextViewFont_PopSemiBold"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/app_name_pdf"
android:textColor="@color/black"
android:textSize="24sp" />
<TextView
style="@style/TextViewFont_PopSemiBold"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginStart="6dp"
android:text="@string/reader_pro"
android:textColor="@color/icon_on"
android:textSize="24sp" />
</LinearLayout>
<!-- App Description -->
<TextView
android:id="@+id/app_description"
style="@style/TextViewFont_PopMedium"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="8dp"
android:alpha="0.8"
android:text="@string/splash_desc"
android:textColor="@color/black" android:textColor="@color/black"
android:textSize="24sp" /> android:textSize="16sp" />
<TextView
style="@style/TextViewFont_PopSemiBold"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/reader_pro"
android:layout_marginStart="6dp"
android:textColor="@color/icon_on"
android:textSize="24sp" />
</LinearLayout> </LinearLayout>
<!-- App Description -->
<TextView
android:id="@+id/app_description"
style="@style/TextViewFont_PopMedium"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="8dp"
android:alpha="0.8"
android:text="@string/splash_desc"
android:textColor="@color/black"
android:textSize="16sp" />
</LinearLayout> </LinearLayout>
<ProgressBar <ProgressBar
android:id="@+id/loading_indicator" android:id="@+id/loading_indicator"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_alignParentBottom="true"
android:layout_centerHorizontal="true"
android:layout_marginBottom="48dp"
android:layout_marginTop="48dp" android:layout_marginTop="48dp"
android:indeterminate="true" android:indeterminate="true"
android:indeterminateTint="@color/icon_on" /> android:indeterminateTint="@color/icon_on" />
</LinearLayout> </RelativeLayout>