capawesome-team / capacitor-firebase

⚡️ Firebase plugins for Capacitor. Supports Android, iOS and the Web.

Home Page:https://capawesome.io/plugins/firebase/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

bug: firebase collections not returning timestamps on ios

Tsquared86 opened this issue · comments

Plugin(s)

  • Analytics
  • App
  • App Check
  • Authentication
  • Crashlytics
  • Cloud Firestore
  • Cloud Messaging
  • Cloud Storage
  • Performance
  • Remote Config

Version

5.2.0

Platform(s)

  • Android
  • iOS
  • Web

Current behavior

capacitor does not return values for a firebase timestamp. when I loop over the collection results it just shows as undefined. I tried using the regular firebase sdk in the web and it returns the same data as it should with all values.

Expected behavior

It should return a firebase time stamp value.

Reproduction

GitHub.com/tsquared86

Steps to reproduce

nvm 16, get a collection with a document that has a time stamp value

Other information

No response

Capacitor doctor

💊 Capacitor Doctor 💊

Latest Dependencies:

@capacitor/cli: 5.6.0
@capacitor/core: 5.6.0
@capacitor/android: 5.6.0
@capacitor/ios: 5.6.0

Installed Dependencies:

@capacitor/cli: 5.0.4
@capacitor/core: 5.0.4
@capacitor/android: 5.0.4
@capacitor/ios: 5.0.4

[success] iOS looking great! 👌

Before submitting

  • I have read and followed the bug report guidelines.
  • I have attached links to possibly related issues and discussions.
  • I understand that incomplete issues (e.g. without reproduction) are closed.

I close this as duplicate of #474.