@wisdomgarden/mobile-assets 0.0.14 → 0.0.17

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wisdomgarden/mobile-assets",
3
- "version": "0.0.14",
3
+ "version": "0.0.17",
4
4
  "description": "host mobile assets",
5
5
  "main": "index.js",
6
6
  "repository": "git@github.com:WisdomGardenInc/mobile-assets.git",
@@ -0,0 +1,85 @@
1
+ <!DOCTYPE html>
2
+ <html lang="en" mode="ios" class="hydrated">
3
+
4
+ <head>
5
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
6
+ <meta charset="utf-8" />
7
+ <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
8
+ <meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, viewport-fit=cover">
9
+ <meta http-equiv="cache-control" content="max-age=0">
10
+ <meta http-equiv="cache-control" content="no-cache">
11
+ <meta http-equiv="expires" content="0">
12
+ <meta http-equiv="expires" content="Tue, 01 Jan 1980 1:00:00 GMT">
13
+ <meta http-equiv="pragma" content="no-cache">
14
+ <link rel="icon" href="favicon.ico">
15
+ <style>
16
+ .markdown p {
17
+ white-space: pre-line;
18
+ }
19
+
20
+ .markdown blockquote {
21
+ margin: 0;
22
+ padding-left: 1.4rem;
23
+ border-left: 4px solid #dadada;
24
+ }
25
+ </style>
26
+ <script src="https://cdn.staticfile.org/marked/4.0.1/marked.min.js"></script>
27
+ <script>
28
+ let content = "";
29
+ let info = null;
30
+ let i18n = null;
31
+ let language = window.navigator.language;
32
+ if (language.startsWith("zh-CN")) {
33
+ language = "zh-CN";
34
+ } else if (language.startsWith("en")) {
35
+ language = "en";
36
+ } else {
37
+ language = "zh-TW";
38
+ }
39
+
40
+ fetch("privacy-policy-info.json").then(
41
+ function (response) {
42
+ return response.json();
43
+ }).then(function (json) {
44
+ info = json;
45
+ i18n = json["i18n"][language];
46
+ document.title = i18n["title"];
47
+ render();
48
+ });
49
+
50
+ fetch("privacy-policy-" + language + ".md").then(function (response) {
51
+ return response.text();
52
+ }).then(function (_content) {
53
+ content = _content;
54
+ render();
55
+ });
56
+
57
+ function render() {
58
+ if (info && content) {
59
+ let header = "# " + i18n["title"];
60
+ header += "\n\n";
61
+
62
+ header += i18n["effectiveTime"] + new Date(info["updateInfo"]["effectiveTime"]).toLocaleDateString()
63
+ header += "\n";
64
+ header += i18n["updateTime"] + new Date(info["updateInfo"]["updateTime"]).toLocaleDateString()
65
+
66
+ header += "\n\n\n";
67
+
68
+ let footer = "\n\n\n";
69
+ footer += i18n["developer"] + i18n["developerName"]
70
+
71
+ content = header + content + footer
72
+
73
+ document.getElementById('content').innerHTML = marked.parse(content);
74
+ }
75
+ }
76
+ </script>
77
+
78
+ <title>畅课(TronClass)隐私政策</title>
79
+ </head>
80
+
81
+ <body>
82
+ <div id="content" class="markdown">Loading ......</div>
83
+ </body>
84
+
85
+ </html>
@@ -1,10 +1,10 @@
1
1
  {
2
- "version": "2.1.9",
2
+ "version": "2.2.1",
3
3
  "update_type": 1,
4
4
  "allow_lowest_version": "2.1.7",
5
5
  "app_store_url": "https://play.google.com/store/apps/details?id=com.wisdomgarden.trpc",
6
- "app_store_url_cn": "https://mobile-download.tronclass.com.cn/mobile-2.0/app/android/app-release-2.1.9.apk",
7
- "release_note_en_us": "- Students can upload document attachments when answering quizzes.\n- Modify teacher's test correcting page, add \"Answer sheet\" function.\n- Optimize student's submission test page style.\n- Optimize custom performance item display.\n- Fixed problem that some teacher can not see the number of students on Race page.\n- Fixed errors in the statistics of the completion of learning activities.",
8
- "release_note_zh_hans": "- 支持测验答题时上传文档附件\n- 调整教师测验批改页面样式,新增“答题卡”批改功能\n- 优化学生提交测验页面样式\n- 优化自定义成绩项展示规则\n- 修复部分用户抢答页面不显示学生人数的问题\n- 修复部分用户学习活动完成度统计错误的问题",
9
- "release_note_zh_hant": "- 新增線上測驗答題時上傳檔案附件\n- 調整教師線上測驗批改頁面樣式,新增「答題卡」批改功能\n- 優化學生提交測驗頁面樣式\n- 優化自定義成績項展示規則\n- 修復部分使用者搶答頁面不顯示學生人數的問題\n- 修復部分使用者學習活動完成度統計錯誤的問題"
6
+ "app_store_url_cn": "https://mobile-download.tronclass.com.cn/mobile-2.0/app/android/app-release-2.2.1.apk",
7
+ "release_note_en_us": "- Optimize video&audio playback experience.\n- Modify pages style of courses list.\n- Fix bugs and improve system performance.",
8
+ "release_note_zh_hans": "- 隐私政策与用户协议更新\n- 优化音视频教材视频及音频播放体验\n- 调整课程列表页样式\n- 已知问题修复和性能优化",
9
+ "release_note_zh_hant": "- 優化影音教材影片播放體驗\n- 調整課程列表樣式\n- 已知問題修復和性能優化"
10
10
  }
@@ -1,9 +1,9 @@
1
1
  {
2
- "version": "2.1.9",
2
+ "version": "2.2.1",
3
3
  "update_type": 1,
4
4
  "allow_lowest_version": "2.1.7",
5
5
  "app_store_url": "https://apps.apple.com/app/scratch/id973028199",
6
- "release_note_en_us": "- Students can upload document attachments when answering quizzes.\n- Modify teacher's test correcting page, add \"Answer sheet\" function.\n- Optimize student's submission test page style.\n- Optimize custom performance item display.\n- Fixed problem that some teacher can not see the number of students on Race page.\n- Fixed errors in the statistics of the completion of learning activities.",
7
- "release_note_zh_hans": "- 支持测验答题时上传文档附件\n- 调整教师测验批改页面样式,新增“答题卡”批改功能\n- 优化学生提交测验页面样式\n- 优化自定义成绩项展示规则\n- 修复部分用户抢答页面不显示学生人数的问题\n- 修复部分用户学习活动完成度统计错误的问题",
8
- "release_note_zh_hant": "- 新增線上測驗答題時上傳檔案附件\n- 調整教師線上測驗批改頁面樣式,新增「答題卡」批改功能\n- 優化學生提交測驗頁面樣式\n- 優化自定義成績項展示規則\n- 修復部分使用者搶答頁面不顯示學生人數的問題\n- 修復部分使用者學習活動完成度統計錯誤的問題"
6
+ "release_note_en_us": "- Optimize video&audio playback experience.\n- Modify pages style of courses list.\n- Fix bugs and improve system performance.",
7
+ "release_note_zh_hans": "- 隐私政策与用户协议更新\n- 优化音视频教材视频及音频播放体验\n- 调整课程列表页样式\n- 已知问题修复和性能优化",
8
+ "release_note_zh_hant": "- 優化影音教材影片播放體驗\n- 調整課程列表樣式\n- 已知問題修復和性能優化"
9
9
  }