flutter_uxcam 1.1.1

  • Readme
  • Changelog
  • Installing
  • 80

flutter_uxcam #

UXCam plugin for Flutter.

Installation #

Open the pubspec.yaml file located inside your app folder and add flutter_uxcam: under dependencies.

Usage #

Inside your dart file import flutter_uxcam like this

import 'package:flutter_uxcam/flutter_uxcam.dart';

Then inside the first method that gets called add the following code snippets; most likely inside the class of lib/main.dart file that's getting called by this void main() => runApp(MyApp()); where MyApp is the name of your class. FlutterUxcam.startWithKey("UXCAM_APP_KEY");

UXCAM_APP_KEY is available at https://uxcam.com

Example #

import 'package:flutter_uxcam/flutter_uxcam.dart';
void main() => runApp(MyApp());

class MyApp extends StatelessWidget {
  // This widget is the root of your application.
  @override
  Widget build(BuildContext context) {
    FlutterUxcam.optIntoSchematicRecordings(); // Confirm that you have user permission for screen recording
    FlutterUxcam.startWithKey("UXCAM_APP_KEY");
    return MaterialApp(
      title: 'Flutter Demo',
      theme: ThemeData(
        primarySwatch: Colors.blue,
      ),
      home: MyHomePage(title: 'Flutter Demo Home Page'),
    );
  }
}

If you get this error while running in iOS

Error output from CocoaPods: ↳

[!] Automatically assigning platform ios with version 8.0 on target Runner because no platform was specified. Please specify a platform for this target in your > > Podfile. See https://guides.cocoapods.org/syntax/podfile.html#platform.

Then inside ios folder in pod file uncomment this line # platform :ios, '9.0' that means removing #

Changelog #

VersionChanges
1.1.1Android SDK updated to 3.2.0, iOS to 3.1.15
1.1.0-beta.6Android SDK updated to 3.1.13-beta.7 which solves issue with screen video recording on release build of the app.
1.1.0-beta.5Missing frame on Android screen recording bug fixed.
1.1.0-beta.4optIntoSchematicRecordings APIs added as optIntoVideoRecording APIs were not present on iOS SDK.
1.1.0-beta.3Screen recording issue on latest Flutter SDK version 1.12.13 fixed
1.1.0-beta.2Ignored unwanted build files that were included in previous package
1.1.0-beta.1Native Android SDK updated to 3.1.13-beta.1 which supports screen recording on Android.
1.0.0This is the first version of UXCam package for Flutter.

Use this package as a library

1. Depend on it

Add this to your package's pubspec.yaml file:


dependencies:
  flutter_uxcam: ^1.1.1

2. Install it

You can install packages from the command line:

with Flutter:


$ flutter pub get

Alternatively, your editor might support flutter pub get. Check the docs for your editor to learn more.

3. Import it

Now in your Dart code, you can use:


import 'package:flutter_uxcam/flutter_uxcam.dart';
  
Popularity:
Describes how popular the package is relative to other packages. [more]
73
Health:
Code health derived from static analysis. [more]
99
Maintenance:
Reflects how tidy and up-to-date the package is. [more]
70
Overall:
Weighted score of the above. [more]
80
Learn more about scoring.

We analyzed this package on Apr 7, 2020, and provided a score, details, and suggestions below. Analysis was completed with status completed using:

  • Dart: 2.7.1
  • pana: 0.13.6
  • Flutter: 1.12.13+hotfix.8

Health issues and suggestions

Document public APIs. (-1 points)

44 out of 44 API elements have no dartdoc comment.Providing good documentation for libraries, classes, functions, and other API elements improves code readability and helps developers find and use your API.

Format lib/flutter_uxcam.dart.

Run flutter format to format lib/flutter_uxcam.dart.

Maintenance suggestions

The package description is too short. (-20 points)

Add more detail to the description field of pubspec.yaml. Use 60 to 180 characters to describe the package, what it does, and its target use case.

Maintain an example. (-10 points)

Create a short demo in the example/ directory to show how to use this package.

Common filename patterns include main.dart, example.dart, and flutter_uxcam.dart. Packages with multiple examples should provide example/README.md.

For more information see the pub package layout conventions.

Dependencies

Package Constraint Resolved Available
Direct dependencies
Dart SDK >=2.0.0-dev.68.0 <3.0.0
flutter 0.0.0
flutter_driver 0.0.0
Transitive dependencies
archive 2.0.11 2.0.13
args 1.5.2 1.6.0
async 2.4.0 2.4.1
boolean_selector 1.0.5 2.0.0
charcode 1.1.2 1.1.3
collection 1.14.11 1.14.12
convert 2.1.1
crypto 2.1.3 2.1.4
file 5.1.0
flutter_test 0.0.0
fuchsia_remote_debug_protocol 0.0.0
image 2.1.4 2.1.12
intl 0.16.0 0.16.1
json_rpc_2 2.1.0
matcher 0.12.6
meta 1.1.8
path 1.6.4
pedantic 1.8.0+1 1.9.0
petitparser 2.4.0 3.0.2
platform 2.2.1
process 3.0.12
pub_semver 1.4.2 1.4.4
quiver 2.0.5 2.1.3
sky_engine 0.0.99
source_span 1.5.5 1.7.0
stack_trace 1.9.3
stream_channel 2.0.0
string_scanner 1.0.5
term_glyph 1.1.0
test_api 0.2.11 0.2.15
typed_data 1.1.6
vector_math 2.0.8
vm_service_client 0.2.6+2 0.2.6+3
web_socket_channel 1.1.0
xml 3.5.0 4.1.0