-
Notifications
You must be signed in to change notification settings - Fork 2.3k
Open
Labels
Needs Attentionplatform: allplugin: aiFirebase AIFirebase AItype: enhancementImplements a new FeatureImplements a new Feature
Description
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
- iOS
- Android
Related module
@react-native-firebase/ai
Metadata
Metadata
Assignees
Labels
Needs Attentionplatform: allplugin: aiFirebase AIFirebase AItype: enhancementImplements a new FeatureImplements a new Feature