bug: Firestore arrayUnion #458
Labels
bug/fix
Something isn't working
duplicate
This issue or pull request already exists
package: firestore
Plugin(s)
Did you test the latest version?
Platform(s)
Current behavior
When I use
![Screenshot 2023-10-15 at 05 25 52](https://private-user-images.githubusercontent.com/12111716/275297668-dded2791-e14a-4457-ba64-b4448c8a854e.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzk2MTQwOTgsIm5iZiI6MTczOTYxMzc5OCwicGF0aCI6Ii8xMjExMTcxNi8yNzUyOTc2NjgtZGRlZDI3OTEtZTE0YS00NDU3LWJhNjQtYjQ0NDhjOGE4NTRlLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMTUlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjE1VDEwMDMxOFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWNmZjgwMzExNmYxNzExMjNjMDk4ZjYyZTY3OGU2NTBhYmIzODRiNDE5MTY1NzcwNzY5NjQwYWNiNTAyMjY4NzgmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.jc4YbPiy_YRRH_kzM9Zhv8PTeqL5loefjJBtniYcikA)
arrayUnion
insetDocument
on the web this is what I getThe result is perfect and I tested extensively and I'm happy with the result.
But when used on iOS this is the result
![Screenshot 2023-10-15 at 05 25 30](https://private-user-images.githubusercontent.com/12111716/275297681-739fa6be-40a0-4fac-a2f7-9fe17428fa3f.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzk2MTQwOTgsIm5iZiI6MTczOTYxMzc5OCwicGF0aCI6Ii8xMjExMTcxNi8yNzUyOTc2ODEtNzM5ZmE2YmUtNDBhMC00ZmFjLWEyZjctOWZlMTc0MjhmYTNmLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMTUlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjE1VDEwMDMxOFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTQ5OWI5NDgyZDlmZjIxYTAwYjM3NDVmM2JhZDkyNjIyM2Y0YmQxMDcwY2IyZTRhMjIzOTQzOTk5N2FlYWYzNWEmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.m4y-NrYe1gOB2KiLGgWX6Ti2flLOi6Ph08Xp6-BtDkY)
_methodName
&wu
are added and I'm not sure why...My code is fairly simple, maybe because
arrayUnion
is imported fromfirebase/firestore
Expected behavior
I'd would expect the web & native result to match
Reproduction
n/a
Steps to reproduce
Other information
No response
Capacitor doctor
Before submitting
The text was updated successfully, but these errors were encountered: