Skip to content

Commit

Permalink
- [x] 隐私策略
Browse files Browse the repository at this point in the history
  • Loading branch information
czy0729 committed Aug 31, 2019
1 parent 83e6ad1 commit 31bf831
Show file tree
Hide file tree
Showing 3 changed files with 267 additions and 2 deletions.
4 changes: 2 additions & 2 deletions constants/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* @Author: czy0729
* @Date: 2019-02-22 01:25:31
* @Last Modified by: czy0729
* @Last Modified time: 2019-08-30 23:11:26
* @Last Modified time: 2019-08-31 16:55:07
*/
import { Platform } from 'react-native'
import Constants from 'expo-constants'
Expand Down Expand Up @@ -33,7 +33,7 @@ export const GITHUB_RELEASE_REPOS_URL =
'https://api.github.com/repos/czy0729/Bangumi/releases'
export const GITHUB_RELEASE_VERSION = '1.0.0'
export const CODE_PUSH_VERSION = ''
export const DEV = true
export const DEV = false

// 图片
export const IMG_DEFAULT_AVATAR = '//lain.bgm.tv/pic/user/s/icon.jpg'
Expand Down
222 changes: 222 additions & 0 deletions web/privacy.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,222 @@
body {
font-size: 13pt;
color:#333;
background:#fff;
font-family: Avenir, "Helvetica Neue", Arial, Helvetica, sans-serif;
margin: 0;
padding: 10%;
}

h1 {
font-size: 1.3em;
font-weight: bold;
line-height: 1.3em;

padding-top: 16px;
margin-bottom: 4px;
}

h2, h3, h4, h5, h6 {
line-height: 1.1em;
padding-top: 16px;
margin-bottom: 4px;
}

h2 {
font-size: 1.1em;
font-weight: bold;
}

h3 {
font-weight: normal;
color: #ea4c89;
font-size: 1em;
}

h4 {
font-weight: normal;
color: #999;
text-transform: uppercase;
font-size: 1.1em;
}

h5, h6 {
font-size: .8em;
}

h5 {
color: #339BCB;
font-weight: bold;
text-transform: uppercase;
}

h6 {
font-weight: normal;
color: #AAA;
}

img {width: 100%; border-radius: 5px; display: block; margin: 0;}

dl,ol,ul,p,blockquote,pre {
margin-top: 12px;
margin-bottom: 18px;
}

a:focus, a:hover {color:#EA4C89;text-decoration:none;}
a {color:#47B1C7;text-decoration:none;}
blockquote {
margin-left: 0;
margin-right: 0;
border-left: solid .4em #ddd;
padding-left: 10px;
quotes: none;
}
strong, dfn {font-weight:bold; color: #252525;}
em, dfn {font-style:italic;}

del {color:#666;}
pre {margin:1em 0;white-space:pre;}
pre, code, tt {font:1em 'Bitstream Vera Sans Mono', Courier New, monospace;}

/*code {font-size:90%;}*/
/*pre {text-align:left; overflow-x: scroll; color: #257fa0; background: #f6f6f6; padding: 10pt 15pt; border-radius: 3px; border: solid 1px #e2e2e2;}*/

pre {
background-color: #f8f8f8;
border: #E8E8E8 1px solid;
color: #444;
display: block;
margin: 12px 0;
overflow: auto;
padding: 6px 10px;
white-space: pre-wrap;
word-wrap: break-word;
cursor: text;
max-width: 100%;
overflow: auto;
border-radius: 3px;
-webkit-border-radius: 3px;
}

code {
font-size: .95em;
color: #2c92b0;
}

p > code {
color: #2c92b0;
border: 1px solid #E8E8E8;
font-size: .95em;
border-radius: 3px;
-moz-border-radius: 3px;
-webkit-border-radius: 3px;
}

ol,ul {
margin: .8em 1em;
padding-left: .8em;
}

ol li {
margin-left: 1em;
margin-bottom: .3em;
}

ul li {
margin-left: 1em;
margin-bottom: .3em;
}

ol ol,ol ul,ul ol,ul ul {
margin: .3em 0;
}

ul {list-style-type:disc;}
ol {list-style-type:decimal;}

figure {margin: 1em 0;}
figcaption {font-size: 0.75em;padding:0.5em 2em;margin-bottom: 2em;}
figure img {margin-bottom: 0px;}

hr {
border: 0;
border-top: 1px solid #eaeaea;
display: block;
height: 1px;
margin: 1em 0;
padding: 0;
}

h1 + hr {margin-top: 2em;}

ol p, ul p {margin-bottom: 0px;}
li {margin-bottom: 0.75em;margin-top: 0.75em;}

ol#footnotes {
font-size: 0.9em;
padding-top: 1em;
margin-top: 1em;
margin-left: 0;
border-top: 1px solid #eaeaea;
counter-reset: footer-counter;
list-style: none;
}

ol#footnotes li {
margin-bottom: 10px;
margin-left: 16px;
font-weight: 400;
list-style: none;
}

ol#footnotes li:before {
content: counter(footer-counter) ". ";
counter-increment: footer-counter;
font-weight: 800;
font-size: .9em;
}

@keyframes highfade {
0% {
background-color: none;
}
20% {
background-color: yellow;
}
100% {
background-color: none;
}
}

@-webkit-keyframes highfade {
0% {
background-color: none;
}
20% {
background-color: yellow;
}
100% {
background-color: none;
}
}

a:target, ol#footnotes li:target, sup a:target {
animation-name: highfade;
animation-duration: 2s;
animation-iteration-count: 1;
animation-timing-function: ease-in-out;
-webkit-animation-name: highfade;
-webkit-animation-duration: 2s;
-webkit-animation-iteration-count: 1;
-webkit-animation-timing-function: ease-in-out;
}

a:target {border:0;outline: 0;}animation-iteration-count: 1;
-webkit-animation-timing-function: ease-in-out;
}

a:target {border:0;outline: 0;}tion-iteration-count: 1;
-webkit-animation-timing-function: ease-in-out;
}

a:target {border:0;outline: 0;}
43 changes: 43 additions & 0 deletions web/privacy.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
<!DOCTYPE html>
<html>
<head>
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta charset="utf-8" />
<link rel="stylesheet" type="text/css" href="./privacy.css" />
<title>Privacy Policy 隐私政策</title>
</head>
<body>
<h1>Privacy Policy 隐私政策</h1>
<p>
隐私策略:
我们十分尊重您的个人隐私,信息仅存储于您的设备中,我们不会收集上述信息。
为了提高您的使用体验,应用会在您的设备上保存以下信息:
</p>
<ul>
<li>登录认证信息</li>
<li>条目数据缓存</li>
<li>图片缓存</li>
<li>其他相关模块请求缓存</li>
</ul>
<p>这些信息仅存储于您的设备中,我们不会收集上述信息。</p>
<h3>登录信息管理</h3>
<p>
当您使用 Bangumi 进行登录操作时,您可以选择网页授权登陆,应用将使用
Bangumi 网站提供的开发者平台
API,您的用户名密码将在与应用隔离的网页浏览器中直接提交到 Bangumi 网站。
应用不会接触到您登录过程中使用的密码,但为了确保您能正常使用提供的功能,应用将存储开发者平台
API 返回的认证信息。应用永远都不会收集和保存您的密码。
</p>

<h3>信息收集</h3>
<p>
为了提高用户体验,便于调试设计错误,应用在崩溃的时候,
会向开发者的服务器发送崩溃与错误信息,该系统不会跟踪用户,也不会收集任何个人信息。
</p>
<h3>彻底清空个人信息</h3>
<p>
Bangumi
管理的所有数据都存储于您的设备中。当您希望彻底清空个人信息时,可以先在设置里清除缓存,也可以直接登出会一并删除所有用户相关数据。
</p>
</body>
</html>

0 comments on commit 31bf831

Please sign in to comment.