0.3.0 • Published 6 months ago

@macellan/react-native-android-signature-helper v0.3.0

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

@macellan/react-native-android-signature-helper

React Native package for Android app signature helper.

Installation

yarn add @macellan/react-native-android-signature-helper

Usage

import * as React from 'react'
import { Platform, View, Text } from 'react-native'

import { getSignatureHash } from '@macellan/react-native-android-signature-helper'

const App: React.FC = () => {
    const [hash, setHash] = React.useState<string>('')

    React.useEffect(() => {
        if (Platform.OS !== 'android') return
        getSignatureHash().then(hash => {
            setHash(hash)
        })
    }, [])

    return (
        <View>
            <Text>App Hash: {hash}</Text>
        </View>
    )
}

export default App

Contributing

See the contributing guide to learn how to contribute to the repository and the development workflow.

License

MIT


Made with create-react-native-library

0.3.0

6 months ago

0.2.2

6 months ago

0.2.1

6 months ago

0.2.0

6 months ago

0.1.1

6 months ago

0.1.0

6 months ago