Skip to content
A React Native library for Snapchat's SnapSDK
Objective-C Swift Java C Other
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
RNSnapSDK.xcworkspace Test Nov 7, 2019
android Things Aug 30, 2019
ios Listeners Dec 26, 2019
.gitattributes Things Aug 30, 2019
.watchmanconfig Test Nov 7, 2019
README.md Things Aug 30, 2019
index.js Listeners Dec 26, 2019
package.json Podspec fix 1. Dec 16, 2019
react-native-snapchat.podspec Include swift files in compilation Dec 16, 2019

README.md

RNSnapSDK

Getting started

Not Available

Mostly automatic installation

Not Available

Manual installation

iOS

  1. In XCode, in the project navigator, right click LibrariesAdd Files to [your project's name]
  2. Go to node_modulesreact-native-snapchat and add RNSnapSDK.xcodeproj
  3. In XCode, in the project navigator, select your project. Add libRNSnapSDK.a to your project's Build PhasesLink Binary With Libraries
  4. Run your project (Cmd+R)<

Android

Not Available

Windows

Not Available

Usage

import RNSnapSDK from 'react-native-snapchat';

// TODO: What to do with the module?
RNSnapchat.shareSticker(uri, {
    //All are optional - see Snapkit Docs for more information.
	  attachment: "https://geh.li",
    caption: "Test Caption"
	  posX: 0.5,
	  posY: 0.7,
	  width: 250,
	  height: 150,
	  rotation: 6.1
});
You can’t perform that action at this time.