Skip to content

Commit

Permalink
Revert "fix: type mismatch inferred type is String? but String was ex…
Browse files Browse the repository at this point in the history
…pected"

This reverts commit 2b1e1fc.
  • Loading branch information
Sunita Prajapati committed Nov 13, 2024
1 parent 2b1e1fc commit 9ea4e94
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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.toString()
val appVersion: String = pInfo.versionName
val buildNumber = getBuildNumber()
val bundleId = reactApplicationContext.packageName

Expand Down

0 comments on commit 9ea4e94

Please sign in to comment.