-
Notifications
You must be signed in to change notification settings - Fork 113
Description
I am facing an issue whenever I create a new NDKEvent and try to publish it. I am creating an event of type GiftWrap (for a NIP17). Whenever I call the .publish() method, the method itself works, but something inside this method is failing and returning the error TypeError: undefined is not a function.
This error only happens when I create a production build and I run the app via TestFlight. If I try to run it via a development build and/or via expo, the error never shows and the event is published correctly.
The target production build is for iOS. I yet have to try on android to see if the issue is related to iOS only.
I’ve added sentry with the hope of finding more information about the error, but, due to minification, the error and stack trace can’t be read properly.
Any ideas on what could be the issue?