-
Notifications
You must be signed in to change notification settings - Fork 4.1k
[firebase_performance] support v2 android embedding #266
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
[firebase_performance] support v2 android embedding #266
Conversation
|
||
public static void registerWith(Registrar registrar) { | ||
final MethodChannel channel = new MethodChannel(registrar.messenger(), CHANNEL_NAME); | ||
channel.setMethodCallHandler(new io.flutter.plugins.firebaseperformance.FirebasePerformancePlugin()); |
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.
Any reason to not import the package for this class?
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.
This was just a placeholder until we decided how we wanted to handle the new embedding packages. I switched to just use the MethodCallHandler
.
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
@@ -17,6 +17,17 @@ | |||
<meta-data | |||
android:name="io.flutter.app.android.SplashScreenUntilFirstFrame" | |||
android:value="true" /> | |||
<!--<intent-filter>--> |
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.
nits: This doesn't seem to be necessary.
LGTM |
Related Issues
Fixes flutter/flutter#41858
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?