Skip to content
This repository has been archived by the owner on Oct 29, 2024. It is now read-only.

Commit

Permalink
fix: android does not send application tags (#164)
Browse files Browse the repository at this point in the history
On Android, the react native sdk has a bug that erroneously looks at the
root config node for the applicationTag properties. The iOS counterpart
is working, this is only affecting Android.
  • Loading branch information
yusinto authored Aug 15, 2023
1 parent 54fdfda commit 6efbdea
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -311,10 +311,10 @@ private void configureApplicationInfo(ReadableMap config, LDConfig.Builder build
ReadableMap application = config.getMap("application");
ApplicationInfoBuilder b = Components.applicationInfo();

if (validateConfig("id", config, ReadableType.String)) {
if (validateConfig("id", application, ReadableType.String)) {
b.applicationId(application.getString("id"));
}
if (validateConfig("version", config, ReadableType.String)) {
if (validateConfig("version", application, ReadableType.String)) {
b.applicationVersion(application.getString("version"));
}

Expand Down

0 comments on commit 6efbdea

Please sign in to comment.