NativeScript / NativeScript/nativescript-cli

[FEATURE] TNS command for screen recording on-device

未关闭
#3,839 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

feature
主要语言
JavaScript
星标
1.1k
派生
204
平均合并
1 天 9 小时
30 天内合并 PR
8

描述

Hey Nativescript team,

As always thanks for all the hard work -- using Nativescript Vue and enjoying it immensely!

After being thoroughly impressed by the tns resources splashes generate command, I thought it would be great to have a tns subcommand that started/stopped/extracted screen recordings from a device. It's not hard to do with recent versions of android (adb shell screenrecording /sdcard/whatever.mp4), but it might be even more convenient to use a tns command to do it (and pull out the file afterwards).

(I hope I'm filing this feature request properly -- none of the template instructions seemed to deal with feature requests, it was all about what to put for but reports...)

贡献指南

打开贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

调研方向

首先检查现有的 tns resources splashes generate 命令,以及 CLI 如何调用 Android 设备命令。将该流程与 adb shell screenrecording /sdcard/whatever.mp4 进行比较,包括获取生成的文件。完成标准是:一个 tns 子命令可以启动、停止并提取设备上的录制内容。

由索引模型根据 Issue 内容生成。

评估

技术栈
android, javascript
领域
cli, mobile
Issue 类型
功能
难度
4/5
预计耗时
3-5 天
活跃度
停滞
描述清晰度
基本清楚
新手友好度
35/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。