diff --git a/ios/patching/008-social-app-ios-policy-tos-error.patch b/ios/patching/008-social-app-ios-policy-tos-error.patch index 83015ec..317a3c9 100644 --- a/ios/patching/008-social-app-ios-policy-tos-error.patch +++ b/ios/patching/008-social-app-ios-policy-tos-error.patch @@ -1,8 +1,8 @@ diff --git a/src/view/screens/PrivacyPolicy.tsx b/src/view/screens/PrivacyPolicy.tsx -index a89eaadc4..1da393f03 100644 +index a89eaadc4..49edc00d9 100644 --- a/src/view/screens/PrivacyPolicy.tsx +++ b/src/view/screens/PrivacyPolicy.tsx -@@ -1,52 +1,13 @@ +@@ -1,51 +1,63 @@ import React from 'react' -import {View} from 'react-native' -import {msg, Trans} from '@lingui/macro' @@ -19,7 +19,7 @@ index a89eaadc4..1da393f03 100644 -import {TextLink} from '#/view/com/util/Link' -import {Text} from '#/view/com/util/text/Text' -import {ScrollView} from '#/view/com/util/Views' -+import { WebView } from 'react-native-webview' ++import { ScrollView } from 'react-native' import * as Layout from '#/components/Layout' -import {ViewHeader} from '../com/util/ViewHeader' - @@ -35,9 +35,13 @@ index a89eaadc4..1da393f03 100644 - }, [setMinimalShellMode]), - ) +import {useSetTitle} from '#/lib/hooks/useSetTitle' - ++import {atoms as a, useTheme} from '#/alf' ++import {Text} from '#/components/Typography' ++ +export function PrivacyPolicyScreen() { + useSetTitle('Privacy Policy') ++ const t = useTheme() + return ( - @@ -55,16 +59,61 @@ index a89eaadc4..1da393f03 100644 - - - -- -+ ++ ++ Privacy Policy / プライバシーポリシー ++ ++ 1. 収集する情報 ++ ++ 本サービスでは、以下の情報を収集します:{'\n'} ++ • アカウント情報(ユーザー名、プロフィール情報){'\n'} ++ • 投稿内容とメディア{'\n'} ++ • 利用状況データ(アクセス日時、IPアドレス等) ++ ++ ++ 2. 情報の利用目的 ++ ++ 収集した情報は以下の目的で利用します:{'\n'} ++ • サービスの提供と改善{'\n'} ++ • ユーザーサポート{'\n'} ++ • 不正行為の防止{'\n'} ++ • 統計分析 ++ ++ ++ 3. 情報の共有 ++ ++ 本サービスは AT Protocol を使用した分散型ネットワークです。 ++ 公開設定された投稿内容は、他の AT Protocol 互換サーバーと共有されます。 ++ ++ ++ 4. データの保管と削除 ++ ++ ユーザーデータは適切なセキュリティ対策のもとで保管されます。 ++ アカウント削除時には、関連するデータも削除されます。 ++ ++ ++ 5. Cookie の使用 ++ ++ 本サービスでは、ユーザー体験の向上のために Cookie を使用する場合があります。 ++ ++ ++ 6. お問い合わせ ++ ++ プライバシーに関するご質問は、サービス管理者までお問い合わせください。 ++ ++ ++ ++ 最終更新日: 2025年 ++ + ) - } diff --git a/src/view/screens/TermsOfService.tsx b/src/view/screens/TermsOfService.tsx -index d843c713c..b81767bd5 100644 +index d843c713c..0d8fae626 100644 --- a/src/view/screens/TermsOfService.tsx +++ b/src/view/screens/TermsOfService.tsx -@@ -1,50 +1,13 @@ +@@ -1,49 +1,57 @@ import React from 'react' -import {View} from 'react-native' -import {msg, Trans} from '@lingui/macro' @@ -81,7 +130,7 @@ index d843c713c..b81767bd5 100644 -import {TextLink} from '#/view/com/util/Link' -import {Text} from '#/view/com/util/text/Text' -import {ScrollView} from '#/view/com/util/Views' -+import { WebView } from 'react-native-webview' ++import { ScrollView } from 'react-native' import * as Layout from '#/components/Layout' -import {ViewHeader} from '../com/util/ViewHeader' - @@ -97,9 +146,13 @@ index d843c713c..b81767bd5 100644 - }, [setMinimalShellMode]), - ) +import {useSetTitle} from '#/lib/hooks/useSetTitle' - ++import {atoms as a, useTheme} from '#/alf' ++import {Text} from '#/components/Typography' ++ +export function TermsOfServiceScreen() { + useSetTitle('Terms of Service') ++ const t = useTheme() + return ( - @@ -115,8 +168,47 @@ index d843c713c..b81767bd5 100644 - - - -- -+ ++ ++ Terms of Service / 利用規約 ++ ++ 1. 利用条件 ++ ++ 本サービスを利用することで、以下の利用規約に同意したものとみなされます。 ++ ++ ++ 2. サービスの利用 ++ ++ 本サービスは AT Protocol(Authenticated Transfer Protocol)を使用した分散型ソーシャルネットワークです。 ++ ユーザーは本サービスを通じて他のユーザーと交流し、コンテンツを共有することができます。 ++ ++ ++ 3. 禁止事項 ++ ++ 以下の行為を禁止します:{'\n'} ++ • 法令に違反する行為{'\n'} ++ • 他者の権利を侵害する行為{'\n'} ++ • 迷惑行為やハラスメント{'\n'} ++ • 虚偽の情報の発信{'\n'} ++ • システムへの不正アクセス ++ ++ ++ 4. 免責事項 ++ ++ 本サービスは「現状有姿」で提供されます。サービスの中断、エラー、データの損失について、 ++ 運営者は一切の責任を負いません。 ++ ++ ++ 5. 規約の変更 ++ ++ 本規約は予告なく変更されることがあります。変更後も本サービスを継続して利用する場合は、 ++ 変更後の規約に同意したものとみなされます。 ++ ++ ++ ++ 最終更新日: 2025年 ++ + ) - } diff --git a/ios/patching/012-social-app-ios-settings-about-help.patch b/ios/patching/012-social-app-ios-settings-about-help.patch index e7abd2c..a232452 100644 --- a/ios/patching/012-social-app-ios-settings-about-help.patch +++ b/ios/patching/012-social-app-ios-settings-about-help.patch @@ -1,5 +1,5 @@ diff --git a/src/screens/Settings/AboutSettings.tsx b/src/screens/Settings/AboutSettings.tsx -index 6b8257b91..1aa59eb0d 100644 +index 6b8257b91..48ba7909e 100644 --- a/src/screens/Settings/AboutSettings.tsx +++ b/src/screens/Settings/AboutSettings.tsx @@ -80,7 +80,7 @@ export function AboutSettingsScreen({}: Props) { @@ -7,30 +7,16 @@ index 6b8257b91..1aa59eb0d 100644 -@@ -88,13 +88,21 @@ export function AboutSettingsScreen({}: Props) { +@@ -88,7 +88,7 @@ export function AboutSettingsScreen({}: Props) { - Privacy Policy - - -+ -+ -+ -+ License -+ -+ - diff --git a/ios/patching/README.md b/ios/patching/README.md index 3c0adb3..de3e2d4 100644 --- a/ios/patching/README.md +++ b/ios/patching/README.md @@ -11,7 +11,7 @@ - `005-social-app-ios-screens.patch` - Settings, Home, Privacy, TOS 画面の変更 - `006-social-app-ios-shell.patch` - Drawer, BottomBar, RightNav, ServerInput などシェル変更 - `007-social-app-ios-misc.patch` - notifications, ageAssurance, PolicyUpdate などその他変更 -- `008-social-app-ios-policy-tos-error.patch` - プライバシーポリシー・利用規約の英語/日本語二言語化、DIDエラー処理 +- `008-social-app-ios-policy-tos-error.patch` - プライバシーポリシー・利用規約をネイティブコンポーネントで表示(WebView から ScrollView + Text へ変更) - `009-social-app-ios-license.patch` - ライセンスページの追加(Drawer, Navigation, routes, types) - `010-social-app-ios-remove-contact-support.patch` - アカウント作成時の「Contact support」リンクを削除 - `011-social-app-ios-splash-license-footer.patch` - スプラッシュ画面の「What's up?」削除、© syui フッター追加