-
Notifications
You must be signed in to change notification settings - Fork 4k
[firebase_admob] Added note about GoogleService-list.plist #2125
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Added note about GoogleService-list.plist which is not required in order to use Admob's latest version. Without this file, the app will crash on startup.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for adding more documentation for this! I left a comment.
packages/firebase_admob/README.md
Outdated
@@ -73,6 +73,8 @@ Starting in version 7.42.0, you are required to add your AdMob app ID in your ** | |||
|
|||
Failure to add this tag will result in the app crashing at app launch with a message including *"GADVerifyApplicationID."* | |||
|
|||
You are also required to create an "App" in firebase and generate a GoogleService-info.plist file. This file needs to be embedded in the projects "Runner/Runner" folder using Xcode. If this step isn't done, the app will crash on startup. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Since this is required for Android and iOS, I think it would be better to create a section for "Configuring a Firebase Project". It would also be beneficial to point to documentation from Firebase about how to create an "App". Some documentation I found for Android:
https://firebase.google.com/docs/android/setup#create-firebase-project -> Steps 1-3.1
for iOS:
https://firebase.google.com/docs/ios/setup#create-firebase-project -> Steps 1-3
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good point. I will add a section for each.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
I added the version bump and will merge and publish once analyze tests pass.
Added note about GoogleService-list.plist which is not required in order to use Admob's latest version. Without this file, the app will crash on startup.
Description
Replace this paragraph with a description of what this PR is doing. If you're modifying existing behavior, describe the existing behavior, how this PR is changing it, and what motivated the change.
Related Issues
Replace this paragraph with a list of issues related to this PR from the issue database. Indicate, which of these issues are resolved or fixed by this PR. Note that you'll have to prefix the issue numbers with flutter/flutter#.
Checklist
Before you create this PR confirm that it meets all requirements listed below by checking the relevant checkboxes (
[x]
). This will ensure a smooth and quick review process.///
).flutter analyze
) does not report any problems on my PR.Breaking Change
Does your PR require plugin users to manually update their apps to accommodate your change?