diff --git a/packages/core/android/src/main/java/com/segmentanalyticsreactnative/AnalyticsReactNativeModule.kt b/packages/core/android/src/main/java/com/segmentanalyticsreactnative/AnalyticsReactNativeModule.kt index a6769bba..589ca782 100644 --- a/packages/core/android/src/main/java/com/segmentanalyticsreactnative/AnalyticsReactNativeModule.kt +++ b/packages/core/android/src/main/java/com/segmentanalyticsreactnative/AnalyticsReactNativeModule.kt @@ -125,7 +125,7 @@ class AnalyticsReactNativeModule : ReactContextBaseJavaModule, ActivityEventList @ReactMethod fun getContextInfo(config: ReadableMap, promise: Promise) { val appName: String = reactApplicationContext.applicationInfo.loadLabel(reactApplicationContext.packageManager).toString() - val appVersion: String = pInfo.versionName + val appVersion: String = pInfo.versionName.toString() val buildNumber = getBuildNumber() val bundleId = reactApplicationContext.packageName