
Security News
OpenCode User Hit with Hostile Backlash After Reporting Free AI Loophole
An OpenCode user faced harassment after reporting a free AI usage loophole, drawing a bitter backlash in a GitHub thread that has since been deleted.
@litemetrics/react-native
Advanced tools
React Native / Expo bindings for Litemetrics analytics. Provider, hooks, and automatic navigation tracking.
npm install @litemetrics/react-native
The site must be typed
app. Create it withlitemetrics sites create -n "My App" --type apporPOST /api/sites{"type":"app"}(existing site:PUT /api/sites/:siteId {"type":"app"}). The server's bot filter treats awebsite's traffic as browser traffic; React Native on Android sends OkHttp's defaultokhttp/<version>User-Agent, which that filter drops, so on awebsite every Android event is silently lost. The SDK also sends its ownUser-Agent: litemetrics-react-native/<version> (<platform>)on every request.
import { LitemetricsProvider } from '@litemetrics/react-native';
function App() {
return (
<LitemetricsProvider
siteId="your-site-id"
endpoint="https://your-server.com/api/collect"
>
<YourApp />
</LitemetricsProvider>
);
}
Automatically track screen views with React Navigation:
import { useNavigationTracking } from '@litemetrics/react-native';
import { NavigationContainer } from '@react-navigation/native';
function AppNavigator() {
const navigationRef = useNavigationTracking();
return (
<NavigationContainer ref={navigationRef}>
{/* Your screens */}
</NavigationContainer>
);
}
useLitemetricsAccess the tracker instance for custom events and identification:
import { useLitemetrics } from '@litemetrics/react-native';
function PurchaseButton({ product }) {
const tracker = useLitemetrics();
return (
<Button
title="Buy"
onPress={() => tracker.track('Purchase', { product: product.name })}
/>
);
}
useAppStateTrackingTrack app foreground/background transitions:
import { useAppStateTracking } from '@litemetrics/react-native';
function App() {
useAppStateTracking();
return <YourApp />;
}
MIT
FAQs
React Native / Expo bindings for Litemetrics analytics
The npm package @litemetrics/react-native receives a total of 1 weekly downloads. As such, @litemetrics/react-native popularity was classified as not popular.
We found that @litemetrics/react-native demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.

Security News
An OpenCode user faced harassment after reporting a free AI usage loophole, drawing a bitter backlash in a GitHub thread that has since been deleted.

Threat Research
/Security News
319 browser extensions installed by 13.4 million users hijack searches, capture queries, and collect referral payments from Yahoo and Bing.

Threat Research
Malicious Firefox extensions mimic Phantom, Jupiter, and Bitget wallets to steal recovery phrases and private keys, with one fetching its payload remotely.