🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
Sign inDemoInstall
Socket

@exodus/react-native-nft-viewer

Package Overview
Dependencies
Maintainers
0
Versions
15
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@exodus/react-native-nft-viewer

A webview for displaying an NFT in a safe container.

1.0.1
latest
Source
npm
Version published
Weekly downloads
1.4K
-52.18%
Maintainers
0
Weekly downloads
 
Created
Source

@exodus/react-native-nft-viewer

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

Content

  • Installation
  • Usage

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:

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

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

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

  • 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

Keywords

react-native

FAQs

Package last updated on 23 Dec 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts