This package has been deprecated

Author message:

The '@bloomprotocol/share-kit-reactnative' package is deprecated.

@bloomprotocol/share-kit-reactnative
TypeScript icon, indicating that this package has built-in type declarations

1.1.1 • Public • Published

Share Kit React Native

Share Kit React Native

React Native wrapper for Share Kit

Installation

npm install --save @bloomprotocol/share-kit-reactnative

You may need to also link these dependencies

react-native link react-native-svg
react-native link react-native-linear-gradient

Usage

RequestButton will render a button that opens the Bloom app to share specified data.

import React from 'react'
import {RequestButton, Action, RequestData} from '@bloomprotocol/share-kit-reactnative'

const requestData: RequestData = {...}

const buttonCallbackUrl = 'https://mysite.com/bloom-callback'
<RequestButton
  requestData={requestData}
  callbackUrl={callbackUrl}
  size="lg"
  type="log-in"
/>

More

For more information and documentation see Share Kit

Storyboard Demo

Build Libary

  1. Build the library
npm run build
  1. Run the storybook
cd example
  • On android
react-native run-andoird
  • On ios
react-native run-ios

Readme

Keywords

none

Package Sidebar

Install

npm i @bloomprotocol/share-kit-reactnative

Weekly Downloads

1

Version

1.1.1

License

Apache-2.0

Unpacked Size

366 kB

Total Files

18

Last publish

Collaborators

  • djvs