0.0.1 • Published 9 months ago

cyranomini v0.0.1

Weekly downloads
-
License
MIT
Repository
github
Last release
9 months ago

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; }>
ParamType
options{ value: string; }

Returns: Promise<{ value: string; }>


minimize()

minimize() => Promise<any>

Returns: Promise<any>


0.0.1

9 months ago