@exodus/react-native-nft-viewer

1.0.1 • Public • Published

@exodus/react-native-nft-viewer

A react-native webview for displaying an NFT in a safe container.

Content

Installation

First step(Download)

Run yarn add @exodus/react-native-nft-viewer

Second step(Plugin Installation)

Automatic installation

react-native link @exodus/react-native-nft-viewer

Manual installation

iOS:

  1. In Xcode, in the project navigator, right click LibrariesAdd Files to [your project's name]

  2. Go to node_modules@exodus/react-native-nft-viewer and add RNNFTViewer.xcodeproj

  3. In Xcode, in the project navigator, select your project. Add libRNNFTViewer.a to your project's Build PhasesLink Binary With Libraries

  4. To fix 'RNNFTViewerView.h' file not found, you have to select your project → Build Settings → Search Paths → Header Search Paths and add:

    $(SRCROOT)/../node_modules/@exodus/react-native-nft-viewer/ios

Usage

import NFTViewer from "@exodus/react-native-nft-viewer";

const () => (
  <NFTViewer
    html={`<h1>hello</h1>`}
  />
)

MIT Licensed

Package Sidebar

Install

npm i @exodus/react-native-nft-viewer

Weekly Downloads

1,389

Version

1.0.1

License

MIT

Unpacked Size

33.2 kB

Total Files

18

Last publish

Collaborators

  • juraex
  • kevva
  • doguhan
  • ps.mcnally
  • janwe
  • yevhenii_molodyk
  • javiexodus
  • ismamz
  • exojo
  • feri42
  • jprichardson
  • farisissa
  • ryanzim
  • headfire
  • gutenye
  • mosesbot
  • roccomuso
  • dcastagnoli
  • sonaye
  • ves
  • tenaciousmv
  • asyakost
  • bulgakovk
  • chalker
  • andrejb
  • jaydp17
  • olistic
  • joepie91
  • merlz
  • vbonini
  • mol0d
  • devopsrobot
  • jenish-sojitra
  • markoexodus
  • nachoalvarez
  • giovannirco
  • filipexodus
  • cryptosgr
  • andrescarreon
  • diegomura
  • lanre-mark
  • sunilagrawal
  • guillecura
  • mariosvlad
  • federico-po
  • akinncar
  • fboucquez
  • lanahizzle
  • kwwood
  • umito
  • mzndako
  • joshuabot
  • iaacek
  • meniem
  • skapala
  • awilson-rs
  • ezenwankwogabriel
  • ggabarrin-rs
  • ralph.ba
  • danh.t.vo
  • voltagebots
  • ryansquared-npm
  • alexandrbbm
  • sergii_bo
  • florianmathieu
  • angelloz
  • exodus-justin.za
  • alex.alexandrius
  • rec
  • rg911
  • jamiemaw
  • james-gre
  • shehryar6
  • geoffreyrousset
  • clarkexo
  • tunguyennnnn
  • jschopen
  • cawfree
  • marcos.kichel
  • andrewtoth-exodus
  • cdotta-exodus
  • exorich
  • mmehta-10
  • kryptkeep
  • 633kh4ck
  • mbaraniak-exodus
  • jeehahn
  • hasakura
  • awesomeniko
  • davidexodus
  • r4vn
  • nantoaqui
  • exoleo
  • ale-exo
  • frankliexodus
  • bekatd
  • ronaldcrb
  • muratso
  • metasal