segmentio / analytics-react-native

The hassle-free way to add analytics to your React-Native app.
https://segment.com/docs/sources/mobile/react-native/
MIT License
367 stars 191 forks source link

fix: Prevent potential crash in Android SDK 35 by handling nullable versionName #1017

Closed dmitry-blackwave closed 1 week ago

dmitry-blackwave commented 1 month ago

Overview

image

This PR fixes a potential crash in Android SDK 35 by ensuring that versionName, which is now nullable, is safely converted to a string. This prevents crashes when versionName is null during app initialization.

seg-atlantis-prod[bot] commented 1 month ago

Atlantis commands can't be run on fork pull requests. To enable, set --allow-fork-prs or, to disable this message, set --silence-fork-pr-errors

seg-atlantis-prod[bot] commented 1 month ago
Error parsing command: EOF found when expecting closing quote
alanjcharles commented 1 month ago

thank you @dmitry-blackwave