Mappedin SDK for React Native v6.0.0 has just been released, which marks the first production v6 release of this SDK.
Breaking Changes
Blue Dot Moved to Separate Package
Blue Dot functionality is now exclusively available through @mappedin/blue-dot
. The temporary mapView.__BlueDot
accessor has been removed.
Migration:
import { MapView } from '@mappedin/react-native-sdk';
import { useBlueDot } from '@mappedin/blue-dot/rn';
function MyComponent() {
const { enable, isReady } = useBlueDot()
React.useEffect(() => {
if (isReady) {
enable();
}
}, [isReady]);
}
Bug Fixes
- Fixed
baseUrl
configuration issue where web view was blocking access token retrieval - Updated React Native SDK readme