-
-
Notifications
You must be signed in to change notification settings - Fork 107
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
feat(performance): add missing methods (e. g. setAttribute(...), getAttribute(...)) #770
base: main
Are you sure you want to change the base?
Conversation
Add method definitions.
Implement all method definitions on the web.
Update definitions.
Change return of getAttributes on the web.
Implement all methods on ios.
@capacitor-firebase/analytics
@capacitor-firebase/app
@capacitor-firebase/app-check
@capacitor-firebase/authentication
@capacitor-firebase/crashlytics
@capacitor-firebase/firestore
@capacitor-firebase/functions
@capacitor-firebase/messaging
@capacitor-firebase/performance
@capacitor-firebase/remote-config
@capacitor-firebase/storage
commit: |
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.
Looks good already!
packages/performance/ios/Plugin/FirebasePerformancePlugin.swift
Outdated
Show resolved
Hide resolved
Add since attribute to definitions.
Implement new methods on android.
Add changeset
packages/performance/ios/Plugin/FirebasePerformancePlugin.swift
Outdated
Show resolved
Hide resolved
.../io/capawesome/capacitorjs/plugins/firebase/performance/classes/results/GetMetricResult.java
Outdated
Show resolved
Hide resolved
packages/performance/ios/Plugin/FirebasePerformancePlugin.swift
Outdated
Show resolved
Hide resolved
Remove classes and update types.
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.
Please test the changes using the https://github.com/robingenz/capacitor-firebase-plugin-demo project. You just need to add your own Firebase configuration files. I will soon create a separate sample project for each plugin for testing, so that this will be easier in the future.
...n/java/io/capawesome/capacitorjs/plugins/firebase/performance/FirebasePerformancePlugin.java
Outdated
Show resolved
Hide resolved
Refactor helper methods into separate class.
Remove record implementation from android.
Remove record implementation from ios.
Update method definitions.ts for record.
Pull request checklist
Please check if your PR fulfills the following requirements:
npm run changeset
).Close #505