Research
Security News
Quasar RAT Disguised as an npm Package for Detecting Vulnerabilities in Ethereum Smart Contracts
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
cobrowse-sdk-react-native
Advanced tools
With Cobrowse.io's screen sharing technology for mobile apps you can see exactly what your customer sees on their mobile device, and provide realtime annotations to help solve customer support queries quickly.
You can try the Cobrowse.io service for free and without signing up for an account. Just follow the installation instructions below, then head to https://cobrowse.io/trial to use the trial dashboard.
npm install --save cobrowse-sdk-react-native
react-native link
Note: For iOS you need to be using Pods to manage dependencies for react-native link
to work out of the box. If you're not using pods you'll need to manually add the Frameworks for CobrowseIO, SocketIO (and it's dependencies) to your Xcode project.
We've provided a view that will do all the session creation and management for you. All you need to do is include this somewhere in your react native view hierarchy. It's not a requirement to use this UI, continue reading to learn about creating your own interface (it's easy!).
import { CobrowseView } from 'cobrowse-sdk-react-native';
export default class App extends Component {
render() {
return (
<View>
<CobrowseView license='trial' />
</View>
);
}
}
It's likely you'll want to customise the UI for starting or managing an active session. We've provided an API as a part of this SDK that allows you to bypass the default UI we provide and create your own:
CobrowseIO.createSession(callback)
CobrowseIO.loadSession(code, callback)
CobrowseIO.currentSession(callback)
CobrowseIO.activateSession(callback)
CobrowseIO.endSession(callback)
CobrowseIO.addListener(event, callback)
CobrowseIO.license
CobrowseIO.SESSION_UPDATED
CobrowseIO.SESSION_ENDED
See the CobrowseView code for an example of how to use these APIs.
Once you've signed up for a free account at cobrowse.io, you'll be able to find your license key at https://cobrowse.io/dashboard/settings. Add this to your SDK setup:
CobrowseIO.license = "<your license key here>";
Alternatively, you can pass this as the license
prop to the CobrowseView
if you're using the default UI.
Issue: Could not find any matches for io.cobrowse:cobrowse-sdk-android:0.+ as no versions of io.cobrowse:cobrowse-sdk-android are available.
Cobrowse uses a maven distribution on Android. Add these lines to your Project gradle.build file:
In your project build.gradle Esnure that JCenter is added to your list of repositories:
repositories {
jcenter()
}
FAQs
Cobrowse SDK for React Native
The npm package cobrowse-sdk-react-native receives a total of 501 weekly downloads. As such, cobrowse-sdk-react-native popularity was classified as not popular.
We found that cobrowse-sdk-react-native demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 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.
Research
Security News
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
Security News
Research
A supply chain attack on Rspack's npm packages injected cryptomining malware, potentially impacting thousands of developers.
Research
Security News
Socket researchers discovered a malware campaign on npm delivering the Skuld infostealer via typosquatted packages, exposing sensitive data.