-
Notifications
You must be signed in to change notification settings - Fork 6
Filter subscriptions on iOS crashes simulator #14
Comments
Thanks for reporting! |
Here is the crash report https://gist.github.com/bricestacey/20d74b22b6654a79e9f77bf7ff8f7b95 I'm not too familiar with iOS development so not sure how to get anything better. |
I was able to run it on Android and got much better error reporting
Note that the logging shows the go-waku lib is built from your PR #403. So using that commit, it looks like a null dereference here https://github.com/waku-org/go-waku/blob/3ef88b3b9a9df871468a66bc68f39cf5609f0b38/waku/v2/protocol/filter/waku_filter.go#L235 |
This one from android is very useful. Thank you! I'll attempt to fix it today |
As I was saying, I was using an old commit -- so I bumped to the latest and I got it working! The build instructions were confusing, but I eventually figured it out. I'll try and document some of those for you later today. |
Alright -- First issue was if you run
This can be solved by adding a
At this point, if you try to run the example with
This can be solved by running the After downloading gowaku in the node modules folder, it's still complaining about no such module. To solve this we re run the pod install
At this point you can run |
Thank you! I'll update the README this week with these instructions |
I am using commit 0c2ab3d as the subsequent commits have broken the iOS simulator for me.
When I try to use a filter subscription, using the example app, the entire simulator crashes.
I followed the instructions in App.tsx and updated where I create a new node
I also commented out the relay subscription:
And then I uncommented the filter subscription part
Once
filterSubscribe
is called, the simulator crashes (the actual Simulator app). I am on an M1 mac if that matters.The text was updated successfully, but these errors were encountered: