Initialize FirebaseApp without google-services.json
<!-- DO NOT DELETE validate_template=true template_path=.github/ISSUE_TEMPLATE/bug.md --> * Android Studio version: _3.2_ * Firebase Component: Core/Analytics(Database, Firestore, Storage, Functions, etc) * Component version: 16.0.4 ### [REQUIRED] Step 3: Describe the problem I am trying to initialize the FirebaseApp, only by using the FirebaseOptions builder, like this, first thing in my application (I use only applicationId and ApiKey, since I only want the analytics for start) : ```java FirebaseOptions options = new FirebaseOptions.Builder() .setApplicationId(applicationID) // Required for Analytics. .setApiKey(apiKey) // Required for Auth. .build(); FirebaseApp.initializeApp(context, options); ``` I do not have a google-services.json file in my project, I have removed the FirebaseInitProvider, like this, in my AndroidManifest.xml: ```xml <provider android:name="com.google.firebase.provider.FirebaseInitProvider" android:authorities="${applicationId}.firebaseinitprovider" tools:node="remove"/>. ``` When starting the application, while trying to View events in the Android Studio debug log, like this: adb shell setprop log.tag.FA VERBOSE adb shell setprop log.tag.FA-SVC VERBOSE adb logcat -v time -s FA FA-SVC I get Missing google_app_id. Firebase Analytics disabled. See https://goo.gl/NAOOOI .
Posted by paularius on Oct 9, 2018, 3:01 PM
Tags
Related issues
- [Meta] Feedback on granular control over Copilot changes
- unexpected status 401 Unauthorized issue
- [MODEL] Measurable quality regression in Claude generation 5 (Fable 5 / Opus 5 / Sonnet 5): worse nonsense detection, ~2x verbosity, under-disclosed model fallb
- [CRITICAL] Subagent spawning and subagent pattern bugs trigger infinite recursion, infinite token usage, grossly inefficient token usage, and lost accumulated s
- Video stops playing after some minutes
- [MODEL] Claude verbose code comments by default — ignores instructions to stop.
Raise real-world problems, find people facing the same issue, and discuss solutions.4,000 issues0 comments
github (Software)
[Meta] Feedback on granular control over Copilot changes
unexpected status 401 Unauthorized issue
[MODEL] Measurable quality regression in Claude generation 5 (Fable 5 / Opus 5 / Sonnet 5): worse nonsense detection, ~2x verbosity, under-disclosed model fallb
[CRITICAL] Subagent spawning and subagent pattern bugs trigger infinite recursion, infinite token usage, grossly inefficient token usage, and lost accumulated s
Video stops playing after some minutes
[MODEL] Claude verbose code comments by default — ignores instructions to stop.
Scope Codex VS Code chats to the current workspace/project
Update on "Co-authored-by: Copilot" in commit messages
Initialize FirebaseApp without google-services.json
<!-- DO NOT DELETE validate_template=true template_path=.github/ISSUE_TEMPLATE/bug.md --> * Android Studio version: _3.2_ * Firebase Component: Core/Analytics(Database, Firestore, Storage, Functions, etc) * Component version: 16.0.4 ### [REQUIRED] Step 3: Describe the problem I am trying to initialize the FirebaseApp, only by using the FirebaseOptions builder, like this, first thing in my application (I use only applicationId and ApiKey, since I only want the analytics for start) : ```java FirebaseOptions options = new FirebaseOptions.Builder() .setApplicationId(applicationID) // Required for Analytics. .setApiKey(apiKey) // Required for Auth. .build(); FirebaseApp.initializeApp(context, options); ``` I do not have a google-services.json file in my project, I have removed the FirebaseInitProvider, like this, in my AndroidManifest.xml: ```xml <provider android:name="com.google.firebase.provider.FirebaseInitProvider" android:authorities="${applicationId}.firebaseinitprovider" tools:node="remove"/>. ``` When starting the application, while trying to View events in the Android Studio debug log, like this: adb shell setprop log.tag.FA VERBOSE adb shell setprop log.tag.FA-SVC VERBOSE adb logcat -v time -s FA FA-SVC I get Missing google_app_id. Firebase Analytics disabled. See https://goo.gl/NAOOOI .
Comments (0)
No comments yet. Start the discussion.