-
-
Notifications
You must be signed in to change notification settings - Fork 596
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
Expo RN and ParseLiveQuery EventEmitter error #2082
Comments
Thanks for opening this issue!
|
I'm closing as it does not seem to be a Parse JS SDK issue given the current information.
Feel free to comment if you have any new information and we can re-open this issue. |
Hi @mtrezza, clearly a Parse problem with expo. I have a spin up a new app using Ignite CLI and I don't use LiveQuery but just the fact of having Parse initialization I am having the exact error above. If I comment parse code no errors. |
@andre-sonect Could you please add a detailed description of the issue and a sample code to reproduce this? The example from @manufunk seems to involve more code and LiveQuery, but it seems you could provide a more simple example? Also, which prior version of the Parse JS SDK works without issue and from which version onwards does the issue occur for you? |
Hi @mtrezza, sure to be honest just create a new project using ignite cli and install parse. Then just initialize it on app.tsx and run it. It will show the error above. If you need an actual repo with the code I can also provide it. |
So @Jakub-Plan-d-k you were able to use Parse 4.2.0 successfully with RN 0.72.5? No errors like the one above? |
@andresteves that's right. |
@Jakub-Plan-d-k it can also be a Typescript issue since from one version to the other the version went from 4.8.4 to 5.0.4 of Typescript and Parse types is written using "typeScriptVersion": "4.5". Not too sure if that can be the problem since I am not a expert on that. |
@andresteves neither am I, but could be. There was something about react native types in the migration guide. |
Can confirm that downgrading typescript to "typescript": "^4.8.4" works with latest Parse 4.2.0 and also RN 0.73.4. |
upgrading to 5.1.0 seem to solve the issue. Thanks a lot guys! |
New Issue Checklist
Issue Description
I updated a lot of dependencies in the last weeks and now I cannot get my application into a working state.
The problem seems to be related to the React Native Parse Live Queries but I did not find anything that could help me to debug this in a good way. I did not change anything in the config regarding Parse however I think it is due to the latest updates.
Actual Outcome
Environment
Server
Client
This is how my config is setup:
And I do subscribe to the queries by:
The text was updated successfully, but these errors were encountered: