Skip to content

Commit 5285736

Browse files
committed
m
1 parent 2adc169 commit 5285736

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

  • src/init/features/dataconnect

src/init/features/dataconnect/sdk.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -184,10 +184,10 @@ export function initAppCounters(info: SdkRequiredInfo): { [key: string]: number
184184
{} as Record<string, number>,
185185
);
186186
return {
187-
num_web_apps: platformCounts["web"] || 0,
188-
num_android_apps: platformCounts["android"] || 0,
189-
num_ios_apps: platformCounts["ios"] || 0,
190-
num_flutter_apps: platformCounts["flutter"] || 0,
187+
num_web_apps: platformCounts[Platform.WEB.toLowerCase()] || 0,
188+
num_android_apps: platformCounts[Platform.ANDROID.toLowerCase()] || 0,
189+
num_ios_apps: platformCounts[Platform.IOS.toLowerCase()] || 0,
190+
num_flutter_apps: platformCounts[Platform.FLUTTER.toLowerCase()] || 0,
191191
};
192192
}
193193

0 commit comments

Comments
 (0)