Skip to content
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

Open
wants to merge 14 commits into
base: main
Choose a base branch
from

Conversation

ebarooni
Copy link
Contributor

@ebarooni ebarooni commented Dec 7, 2024

Pull request checklist

Please check if your PR fulfills the following requirements:

  • The changes have been tested successfully.
  • A changeset has been created (npm run changeset).
  • I have read and followed the pull request guidelines.

Close #505

Implement all method definitions on the web.
Change return of getAttributes on the web.
Implement all methods on ios.
Copy link

pkg-pr-new bot commented Dec 7, 2024

Open in Stackblitz

@capacitor-firebase/analytics

npm i https://pkg.pr.new/capawesome-team/capacitor-firebase/@capacitor-firebase/analytics@770

@capacitor-firebase/app

npm i https://pkg.pr.new/capawesome-team/capacitor-firebase/@capacitor-firebase/app@770

@capacitor-firebase/app-check

npm i https://pkg.pr.new/capawesome-team/capacitor-firebase/@capacitor-firebase/app-check@770

@capacitor-firebase/authentication

npm i https://pkg.pr.new/capawesome-team/capacitor-firebase/@capacitor-firebase/authentication@770

@capacitor-firebase/crashlytics

npm i https://pkg.pr.new/capawesome-team/capacitor-firebase/@capacitor-firebase/crashlytics@770

@capacitor-firebase/firestore

npm i https://pkg.pr.new/capawesome-team/capacitor-firebase/@capacitor-firebase/firestore@770

@capacitor-firebase/functions

npm i https://pkg.pr.new/capawesome-team/capacitor-firebase/@capacitor-firebase/functions@770

@capacitor-firebase/messaging

npm i https://pkg.pr.new/capawesome-team/capacitor-firebase/@capacitor-firebase/messaging@770

@capacitor-firebase/performance

npm i https://pkg.pr.new/capawesome-team/capacitor-firebase/@capacitor-firebase/performance@770

@capacitor-firebase/remote-config

npm i https://pkg.pr.new/capawesome-team/capacitor-firebase/@capacitor-firebase/remote-config@770

@capacitor-firebase/storage

npm i https://pkg.pr.new/capawesome-team/capacitor-firebase/@capacitor-firebase/storage@770

commit: 04e3298

@ebarooni ebarooni requested a review from robingenz December 7, 2024 23:31
Copy link
Member

@robingenz robingenz left a 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/src/definitions.ts Outdated Show resolved Hide resolved
packages/performance/src/definitions.ts Show resolved Hide resolved
packages/performance/src/definitions.ts Outdated Show resolved Hide resolved
packages/performance/src/definitions.ts Show resolved Hide resolved
packages/performance/src/definitions.ts Show resolved Hide resolved
@ebarooni ebarooni marked this pull request as ready for review December 9, 2024 23:17
@ebarooni ebarooni requested a review from robingenz December 9, 2024 23:35
.changeset/chilly-seahorses-design.md Outdated Show resolved Hide resolved
packages/performance/src/web.ts Outdated Show resolved Hide resolved
packages/performance/src/web.ts Outdated Show resolved Hide resolved
packages/performance/src/web.ts Outdated Show resolved Hide resolved
packages/performance/src/web.ts Outdated Show resolved Hide resolved
packages/performance/ios/Plugin/FirebasePerformance.swift Outdated Show resolved Hide resolved
packages/performance/src/definitions.ts Outdated Show resolved Hide resolved
Remove classes and update types.
@ebarooni ebarooni requested a review from robingenz December 10, 2024 18:20
Copy link
Member

@robingenz robingenz left a 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.

robingenz and others added 5 commits December 11, 2024 20:44
Refactor helper methods into separate class.
Remove record implementation from android.
Remove record implementation from ios.
Update method definitions.ts for record.
@ebarooni ebarooni requested a review from robingenz December 11, 2024 20:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

feat(performance): add missing methods (e. g. setAttribute(...), getAttribute(...))
2 participants