cyranomini
TypeScript icon, indicating that this package has built-in type declarations

0.0.1 • Public • Published

cyranomini

This minimises the Cyrano App, starts the screencast and record the screenshot in 30sec interval to pictures directory.

Install

npm install cyranomini
npx cap sync

Integrate to your app

update the app manifest with the following permissions:
 <!-- Permissions -->
  <uses-permission
    android:name="android.permission.WRITE_EXTERNAL_STORAGE"
    android:maxSdkVersion="28" />
  <uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE"/>
    <uses-permission android:name="android.permission.INTERNET" />
  <uses-permission android:name="android.permission.SYSTEM_ALERT_WINDOW"/>
  <uses-permission android:name="android.permission.FOREGROUND_SERVICE"/>
  <uses-permission android:name="android.permission.POST_NOTIFICATIONS"/>

declare the service in your android application:


      <service android:name="com.company.cyranomini.FloatingButtonService"
        android:foregroundServiceType="mediaProjection"/>

API

echo(...)

echo(options: { value: string; }) => Promise<{ value: string; }>
Param Type
options { value: string; }

Returns: Promise<{ value: string; }>


minimize()

minimize() => Promise<any>

Returns: Promise<any>


/cyranomini/

    Package Sidebar

    Install

    npm i cyranomini

    Weekly Downloads

    0

    Version

    0.0.1

    License

    MIT

    Unpacked Size

    72.2 kB

    Total Files

    48

    Last publish

    Collaborators

    • shah_saadi