NativeScript / NativeScript/nativescript-cli

[FEATURE] TNS command for screen recording on-device

Open
#3,839 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

feature
Dominant language
JavaScript
Stars
1.1k
Forks
204
Avg merge
1d 9h
Merged PRs (30d)
8

Description

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...)

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by examining the existing tns resources splashes generate command and how the CLI invokes Android device commands. Compare that flow with adb shell screenrecording /sdcard/whatever.mp4, including retrieving the resulting file. Done means a tns subcommand can start, stop, and extract an on-device recording.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, javascript
Domain
cli, mobile
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.