Security News
pnpm 10.0.0 Blocks Lifecycle Scripts by Default
pnpm 10 blocks lifecycle scripts by default to improve security, addressing supply chain attack risks but sparking debate over compatibility and workflow changes.
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. If you're not using pods you'll need to manually add the Frameworks for CobrowseIO and SocketIO.
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.
FAQs
Cobrowse SDK for React Native
The npm package cobrowse-sdk-react-native receives a total of 586 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.
Security News
pnpm 10 blocks lifecycle scripts by default to improve security, addressing supply chain attack risks but sparking debate over compatibility and workflow changes.
Product
Socket now supports uv.lock files to ensure consistent, secure dependency resolution for Python projects and enhance supply chain security.
Research
Security News
Socket researchers have discovered multiple malicious npm packages targeting Solana private keys, abusing Gmail to exfiltrate the data and drain Solana wallets.