Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add allow background instruction for oppo/vivo/huawei/samsung #4

Merged
merged 2 commits into from
Jan 7, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
export const meta = {
title: "华为设备允许 Cuto 后台运行方法说明",
};

# 华为 设备允许 Cuto 后台运行方法说明

请参照华为官方教程进行设置。
官网链接:https://consumer.huawei.com/cn/support/content/zh-cn00428704/
19 changes: 19 additions & 0 deletions app/[locale]/(page)/article/android/background/huawei/page.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
import { Metadata } from "next";

type Props = {
params: { locale: string };
};

export async function generateMetadata({ params }: Props): Promise<Metadata> {
const locale = "zh";
const { meta } = await import(`./article.${locale}.mdx`);
return {
title: meta.title,
description: meta.description,
};
}

export default async function Faq({ params }: Props) {
const { default: Content } = await import(`./article.zh.mdx`);
return <Content />;
}
17 changes: 17 additions & 0 deletions app/[locale]/(page)/article/android/background/oppo/article.zh.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
export const meta = {
title: "OPPO 设备允许 Cuto 后台运行方法说明",
};

# OPPO 设备允许 Cuto 后台运行方法说明

1. 长按 Cuto 图标,选择**应用详情**。

![OPPO 后台运行说明 1](/assets/article/oppobackground1.webp)

2. 选择**耗电管理**。

![OPPO 后台运行说明 2](/assets/article/oppobackground2.webp)

3. 开启**允许完全后台行为**、**允许应用自启动**和**允许应用关联启动**。

![OPPO 后台运行说明 3](/assets/article/oppobackground3.webp)
19 changes: 19 additions & 0 deletions app/[locale]/(page)/article/android/background/oppo/page.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
import { Metadata } from "next";

type Props = {
params: { locale: string };
};

export async function generateMetadata({ params }: Props): Promise<Metadata> {
const locale = "zh";
const { meta } = await import(`./article.${locale}.mdx`);
return {
title: meta.title,
description: meta.description,
};
}

export default async function Faq({ params }: Props) {
const { default: Content } = await import(`./article.zh.mdx`);
return <Content />;
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
export const meta = {
title: "三星设备允许 Cuto 后台运行方法说明",
};

# 三星设备允许 Cuto 后台运行方法说明

1. 长按 Cuto 图标,点击 ⓘ 。

![三星后台运行说明 1](/assets/article/samsungbackground1.webp)

2. 选择**电池**。

![三星后台运行说明 2](/assets/article/samsungbackground2.webp)

3. 选择**不受限制**。

![三星后台运行说明 3](/assets/article/samsungbackground3.webp)
19 changes: 19 additions & 0 deletions app/[locale]/(page)/article/android/background/samsung/page.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
import { Metadata } from "next";

type Props = {
params: { locale: string };
};

export async function generateMetadata({ params }: Props): Promise<Metadata> {
const locale = "zh";
const { meta } = await import(`./article.${locale}.mdx`);
return {
title: meta.title,
description: meta.description,
};
}

export default async function Faq({ params }: Props) {
const { default: Content } = await import(`./article.zh.mdx`);
return <Content />;
}
25 changes: 25 additions & 0 deletions app/[locale]/(page)/article/android/background/vivo/article.zh.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
export const meta = {
title: "Vivo 设备允许 Cuto 后台运行方法说明",
};

# Vivo 设备允许 Cuto 后台运行方法说明

1. 打开**系统设置** - **电池** - **后台耗电管理**。

2. 在列表里找到 Cuto , 更改该选项为**允许后台高耗电**。

![Vivo 后台运行说明 1](/assets/article/vivobackground1.webp)

2. 打开**系统设置** - **隐私** - **权限管理** - **权限** - **自启动**, 选择全部后找到 Cuto, 将选项开启。

![Vivo 后台运行说明 2](/assets/article/vivobackground2.webp)

3. 返回上一级的**权限**设置,选择**修改壁纸**, 找到 Cuto 并设为允许。

![Vivo 后台运行说明 3](/assets/article/vivobackground3.webp)

4. 返回上一级的**权限**设置, 选择**联网管理**, 允许 Cuto 使用**数据网络**和**WLAN**。

![Vivo 后台运行说明 4](/assets/article/vivobackground4.webp)

![Vivo 后台运行说明 5](/assets/article/vivobackground5.webp)
19 changes: 19 additions & 0 deletions app/[locale]/(page)/article/android/background/vivo/page.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
import { Metadata } from "next";

type Props = {
params: { locale: string };
};

export async function generateMetadata({ params }: Props): Promise<Metadata> {
const locale = "zh";
const { meta } = await import(`./article.${locale}.mdx`);
return {
title: meta.title,
description: meta.description,
};
}

export default async function Faq({ params }: Props) {
const { default: Content } = await import(`./article.zh.mdx`);
return <Content />;
}
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@ export const meta = {

# 小米设备允许 Cuto 后台运行方法说明

1. 长按 Cuto 图标,选择应用信息
1. 长按 Cuto 图标,选择**应用信息**

![Xiaomi 后台运行说明 1](/assets/article/xiaomibackground1.webp)

2. 打开自启动,联网控制勾选 WLAN 和数据,省电策略改为无限制
2. 打开**自启动**,**联网控制**勾选 **WLAN** 和**数据**,**省电策略**改为**无限制**

![Xiaomi 后台运行说明 2](/assets/article/xiaomibackground2.webp)
Binary file added public/assets/article/oppobackground1.webp
Binary file not shown.
Binary file added public/assets/article/oppobackground2.webp
Binary file not shown.
Binary file added public/assets/article/oppobackground3.webp
Binary file not shown.
Binary file added public/assets/article/samsungbackground1.webp
Binary file not shown.
Binary file added public/assets/article/samsungbackground2.webp
Binary file not shown.
Binary file added public/assets/article/samsungbackground3.webp
Binary file not shown.
Binary file added public/assets/article/vivobackground1.webp
Binary file not shown.
Binary file added public/assets/article/vivobackground2.webp
Binary file not shown.
Binary file added public/assets/article/vivobackground3.webp
Binary file not shown.
Binary file added public/assets/article/vivobackground4.webp
Binary file not shown.
Binary file added public/assets/article/vivobackground5.webp
Binary file not shown.