Added menu item for privacy, stub bug report
This commit is contained in:
parent
bf22da655f
commit
7671fc9787
88
components/Privacy.tsx
Normal file
88
components/Privacy.tsx
Normal file
@ -0,0 +1,88 @@
|
||||
import * as React from 'react';
|
||||
import { ScrollView } from 'react-native';
|
||||
import { Card, Title, Paragraph, Text, Dialog } from 'react-native-paper';
|
||||
|
||||
const Privacy = () => {
|
||||
return (
|
||||
<Dialog.Content style={{ maxHeight: 300 }}>
|
||||
<ScrollView style={{ padding: 16 }}>
|
||||
<Card style={{ marginBottom: 16 }}>
|
||||
<Card.Content>
|
||||
<Title style={{ fontSize: 20, marginBottom: 8 }}>Privacy Policy</Title>
|
||||
<Paragraph style={{ fontSize: 16 }}>
|
||||
<Text style={{ fontStyle: 'italic' }}>Effective Date: 4/1/25</Text>
|
||||
</Paragraph>
|
||||
<Paragraph style={{ fontSize: 16 }}>
|
||||
Thank you for using <Text style={{ fontWeight: 'bold' }}>Pogdark</Text> ("we", "our", or "us"). We are committed to protecting your privacy. This Privacy Policy explains how we handle your information when you use our application.
|
||||
</Paragraph>
|
||||
</Card.Content>
|
||||
</Card>
|
||||
|
||||
<Card style={{ marginBottom: 16 }}>
|
||||
<Card.Content>
|
||||
<Title style={{ fontSize: 20, marginBottom: 8 }}>1. No Tracking</Title>
|
||||
<Paragraph style={{ fontSize: 16 }}>
|
||||
We do <Text style={{ fontWeight: 'bold' }}>not</Text> collect or track any personal information. We do <Text style={{ fontWeight: 'bold' }}>not</Text> use analytics tools, cookies, or any third-party tracking services.
|
||||
</Paragraph>
|
||||
</Card.Content>
|
||||
</Card>
|
||||
|
||||
<Card style={{ marginBottom: 16 }}>
|
||||
<Card.Content>
|
||||
<Title style={{ fontSize: 20, marginBottom: 8 }}>2. Ephemeral Data Storage</Title>
|
||||
<Paragraph style={{ fontSize: 16 }}>
|
||||
Any data entered or generated within the app is stored only <Text style={{ fontWeight: 'bold' }}>temporarily</Text> and exists only for the duration of your session. Once the app is closed or the session ends, all data is deleted automatically. We do not retain any user data on our servers or devices beyond the current session.
|
||||
</Paragraph>
|
||||
</Card.Content>
|
||||
</Card>
|
||||
|
||||
<Card style={{ marginBottom: 16 }}>
|
||||
<Card.Content>
|
||||
<Title style={{ fontSize: 20, marginBottom: 8 }}>3. No Account or Registration Required</Title>
|
||||
<Paragraph style={{ fontSize: 16 }}>
|
||||
You are not required to create an account or provide any personal details (such as name, email address, or phone number) to use the app.
|
||||
</Paragraph>
|
||||
</Card.Content>
|
||||
</Card>
|
||||
|
||||
<Card style={{ marginBottom: 16 }}>
|
||||
<Card.Content>
|
||||
<Title style={{ fontSize: 20, marginBottom: 8 }}>4. No Data Sharing</Title>
|
||||
<Paragraph style={{ fontSize: 16 }}>
|
||||
Since we do not collect data, we do not share any data with third parties.
|
||||
</Paragraph>
|
||||
</Card.Content>
|
||||
</Card>
|
||||
|
||||
<Card style={{ marginBottom: 16 }}>
|
||||
<Card.Content>
|
||||
<Title style={{ fontSize: 20, marginBottom: 8 }}>5. Security</Title>
|
||||
<Paragraph style={{ fontSize: 16 }}>
|
||||
While we don’t store personal data, we still take standard precautions to secure ephemeral information during your use of the app.
|
||||
</Paragraph>
|
||||
</Card.Content>
|
||||
</Card>
|
||||
|
||||
<Card style={{ marginBottom: 16 }}>
|
||||
<Card.Content>
|
||||
<Title style={{ fontSize: 20, marginBottom: 8 }}>6. Changes to This Privacy Policy</Title>
|
||||
<Paragraph style={{ fontSize: 16 }}>
|
||||
If we ever make changes to this policy, we will update the date at the top and clearly communicate the changes within the app. However, any future version will always respect your privacy.
|
||||
</Paragraph>
|
||||
</Card.Content>
|
||||
</Card>
|
||||
|
||||
<Card>
|
||||
<Card.Content>
|
||||
<Title style={{ fontSize: 20, marginBottom: 8 }}>7. Contact</Title>
|
||||
<Paragraph style={{ fontSize: 16 }}>
|
||||
If you have any questions or concerns about this policy, feel free to contact us at <Text style={{ fontStyle: 'italic' }}>support@pogdark.com</Text>.
|
||||
</Paragraph>
|
||||
</Card.Content>
|
||||
</Card>
|
||||
</ScrollView>
|
||||
</Dialog.Content>
|
||||
);
|
||||
};
|
||||
|
||||
export default Privacy;
|
@ -3,11 +3,14 @@ import {Image, useColorScheme, View} from "react-native";
|
||||
import React, {useState} from "react";
|
||||
import styles from "@/assets/styles";
|
||||
import About from "@/components/About";
|
||||
import Privacy from "@/components/Privacy";
|
||||
|
||||
const TopNav = ({ toggleProfile }: { toggleProfile: () => void; }) => {
|
||||
const theme = useTheme();
|
||||
const colorScheme = useColorScheme();
|
||||
const [aboutVisible, setAboutVisible] = useState(false);
|
||||
const [privacyVisible, setPrivacyVisible] = useState(false);
|
||||
const [bugVisible, setBugVisible] = useState(false);
|
||||
const [menuVisible, setMenuVisible] = useState(false);
|
||||
const [menuAnchor, setMenuAnchor] = useState<{ x: number; y: number } | null>(null);
|
||||
|
||||
@ -17,6 +20,8 @@ const TopNav = ({ toggleProfile }: { toggleProfile: () => void; }) => {
|
||||
<View>
|
||||
<Menu visible={menuVisible} onDismiss={() => setMenuVisible(false)} anchor={menuAnchor} style={{ backgroundColor: theme.colors.primaryContainer }}>
|
||||
<Menu.Item onPress={() => { setMenuVisible(false); setAboutVisible(true);}} title="About Us" style={{ backgroundColor: theme.colors.primaryContainer }}/>
|
||||
<Menu.Item onPress={() => { setMenuVisible(false); setPrivacyVisible(true);}} title="Privacy Policy" style={{ backgroundColor: theme.colors.primaryContainer }}/>
|
||||
<Menu.Item onPress={() => { setMenuVisible(false); setBugVisible(true);}} title="Report a Bug" style={{ backgroundColor: theme.colors.primaryContainer }}/>
|
||||
</Menu>
|
||||
<Appbar.Action icon="menu"
|
||||
onPressIn={(event) => {
|
||||
@ -43,6 +48,15 @@ const TopNav = ({ toggleProfile }: { toggleProfile: () => void; }) => {
|
||||
</Button>
|
||||
</Dialog.Actions>
|
||||
</Dialog>
|
||||
<Dialog visible={privacyVisible} onDismiss={() => setPrivacyVisible(false)} style={{ backgroundColor: theme.colors.primaryContainer }}>
|
||||
<Dialog.Title style={{ color: theme.colors.primary, textAlign: 'center' }}>Privacy Policy</Dialog.Title>
|
||||
<Privacy />
|
||||
<Dialog.Actions style={{ justifyContent: "center" }}>
|
||||
<Button onPress={() => setPrivacyVisible(false)} mode="contained" style={{ backgroundColor: theme.colors.inversePrimary }} labelStyle={{ color: theme.colors.primary }}>
|
||||
Close
|
||||
</Button>
|
||||
</Dialog.Actions>
|
||||
</Dialog>
|
||||
</Portal>
|
||||
</View>
|
||||
);
|
||||
|
Loading…
Reference in New Issue
Block a user