Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Stupid requests generates stupid libraries. Be careful! THIS LIB JUST FOR FUN!!!

Notifications You must be signed in to change notification settings

Baskerville42/react-native-camera-position

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 

Repository files navigation

react-native-camera-position

This library was created in order to guess where the camera is. 🧌

Install

yarn add react-native-camera-position

Usage

import { dudeWhereIsMyCamera, APPLE_ALWAYS_LEFT } from 'react-native-camera-position';

const App: React.FC = () => {
    if (dudeWhereIsMyCamera() === APPLE_ALWAYS_LEFT) {
        return (
            <Text>The camera is left</Text>
        )
    }
    
    return (
        <Text>The camera is not left</Text>
    );
}

About

Stupid requests generates stupid libraries. Be careful! THIS LIB JUST FOR FUN!!!

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published