Feature Request
Describe the feature
When using @react-native-firebase/ai SDK to make AI requests (e.g., generateContent, generateContentStream), the Firebase AI Logic monitoring panel in Firebase Console shows "unknown" for the "App version" field in the Traces section.
Why is this feature needed?
- Track AI usage across different app versions
- Debug issues specific to certain app versions
- Analyze AI performance metrics by app version
Describe the solution you'd like
The SDK should automatically include the app version in the API request headers by adding X-Firebase-App-Version header in the getHeaders function (lib/requests/request.ts).
The X-Firebase-Appid header is already being sent, so adding app version should follow the same pattern.
Platforms affected
Related module
@react-native-firebase/ai
Feature Request
Describe the feature
When using
@react-native-firebase/aiSDK to make AI requests (e.g.,generateContent,generateContentStream), the Firebase AI Logic monitoring panel in Firebase Console shows "unknown" for the "App version" field in the Traces section.Why is this feature needed?
Describe the solution you'd like
The SDK should automatically include the app version in the API request headers by adding
X-Firebase-App-Versionheader in thegetHeadersfunction (lib/requests/request.ts).The
X-Firebase-Appidheader is already being sent, so adding app version should follow the same pattern.Platforms affected
Related module
@react-native-firebase/ai