Skip to content

X-SLAYER/camera-android

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Camera Plugin

A modified Flutter plugin (for Android only) allowing access to the device cameras on foreground.

DISCLAMER

This version of the camera plugin can be crashed in some functionalities because I just edited some files to make it fit my purpose of making the Livestream method works in the foreground

Installation

add camera_bg

camera_bg:
  git:
    url: https://github.com/X-SLAYER/camera-android.git

use permission_handler plugin to request camera permission before starting it on background permission_handler

Android

Change the minimum Android sdk version to 21 (or higher) in your android/app/build.gradle file.

minSdkVersion 21

Foreground Exemple

Check the working exemple here