
Security News
vlt Launches "reproduce": A New Tool Challenging the Limits of Package Provenance
vlt's new "reproduce" tool verifies npm packages against their source code, outperforming traditional provenance adoption in the JavaScript ecosystem.
@datacamp/react-native-survicate
Advanced tools
This package provides React Native bindings for the Survicate Mobile SDK.
Install the native Survicate Mobile SDK in your project by following the official instructions.
Then add the NPM package:
$ yarn add @datacamp/react-native-survicate
$ react-native link @datacamp/react-native-survicate
Libraries
➜ Add Files to [your project's name]
node_modules
➜ @datacamp/react-native-survicate
and add RNSurvicate.xcodeproj
libRNSurvicate.a
to your project's Build Phases
➜ Link Binary With Libraries
Cmd+R
)<android/app/src/main/java/[...]/MainActivity.java
import com.reactlibrary.RNSurvicatePackage;
to the imports at the top of the filenew RNSurvicatePackage()
to the list returned by the getPackages()
methodandroid/settings.gradle
:
include ':@datacamp_react-native-survicate'
project(':@datacamp_react-native-survicate').projectDir = new File(rootProject.projectDir, '../node_modules/@datacamp/react-native-survicate/android')
android/app/build.gradle
:
implementation project(':@datacamp_react-native-survicate')
The package provides lightweight bindings around some of the common Survicate Mobile SDK API methods:
import Survicate from '@datacamp/react-native-survicate'
// Log events
Survicate.invokeEvent("My Event")
// Log screen views
Survicate.enterScreen("My Screen")
Survicate.leaveScreen("My Screen")
// Set user traits
Survicate.setUserId("12345")
Survicate.setUserTrait("Eye Color", "Green")
FAQs
React Native Survicate bindings
The npm package @datacamp/react-native-survicate receives a total of 9 weekly downloads. As such, @datacamp/react-native-survicate popularity was classified as not popular.
We found that @datacamp/react-native-survicate demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 48 open source maintainers collaborating on the project.
Did you know?
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.
Security News
vlt's new "reproduce" tool verifies npm packages against their source code, outperforming traditional provenance adoption in the JavaScript ecosystem.
Research
Security News
Socket researchers uncovered a malicious PyPI package exploiting Deezer’s API to enable coordinated music piracy through API abuse and C2 server control.
Research
The Socket Research Team discovered a malicious npm package, '@ton-wallet/create', stealing cryptocurrency wallet keys from developers and users in the TON ecosystem.