We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
NaN
5.4.0
The following works on iOS, but not on Android:
await FirebaseFirestore.setDocument({ reference: `samples/1`, data: { nan: NaN, }, });
iOS:
Android:
It should be possible to set an value to NaN on Android.
The reason for this behavior is that Capacitor converts NaN to null on Android.
null
💊 Capacitor Doctor 💊 Latest Dependencies: @capacitor/cli: 5.7.0 @capacitor/core: 5.7.0 @capacitor/android: 5.7.0 @capacitor/ios: 5.7.0 Installed Dependencies: @capacitor/cli: 5.4.2 @capacitor/android: 5.4.2 @capacitor/core: 5.4.2 @capacitor/ios: 5.4.2 [success] iOS looking great! 👌 [success] Android looking great! 👌
The text was updated successfully, but these errors were encountered:
Waiting for ionic-team/capacitor#7251
Sorry, something went wrong.
See ionic-team/capacitor#7265 (comment)
No branches or pull requests
Plugin(s)
Version
5.4.0
Platform(s)
Current behavior
The following works on iOS, but not on Android:
iOS:
Android:
Expected behavior
It should be possible to set an value to
NaN
on Android.Reproduction
Steps to reproduce
Other information
The reason for this behavior is that Capacitor converts
NaN
tonull
on Android.Capacitor doctor
Before submitting
The text was updated successfully, but these errors were encountered: