-
-
Notifications
You must be signed in to change notification settings - Fork 337
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
Using React-native-sentry with Schemes #473
Comments
I'm also hitting this issue. I've looked into how I might get some more information about why this is happening and the error itself is coming from here https://github.com/getsentry/sentry-cli/blob/master/src/commands/react_native_xcode.rs#L211-L214 I looked into what was inside the
This should mean that the As this is Rust, I'm not certain how I would debug this and see more about what is going on in this command. Do you have any tips? |
Just to note that I am doing My full build script is:
|
I found the issue with this. The report file is being created successfully, however, there is a timing issue where it is being deleted before it can be read by the Sentry cli script. This is especially an issue when using It is possible, however, for the timing issue to be a problem even without the change to the WorkaroundFor now, this can be worked around by modifying the react-native-schemes-manager script to not perform the additional task after bundling. Correct fixhowever, as I said this timing issue can be a problem for all users. The correct fix is to ensure that the report file is not deleted until after the entire wrapper script has been run. |
Thank you for investigating! Maybe someone from sentry could help with this 😄 ? |
@Titozzz but do you get a new release on Sentry? Because I don't even get a release to appear on my project. |
No i don't |
Hi, we also still have this issue. Can somebody from sentry help? |
Same here. @matt-oakes have you seen any negative side-effects after remove that line in |
Feel free to provide a PR for this, it's unlikely we will add support for this since this is one of the unlimited plugins that ppl use. I am closing all old issues, please if this is still a problem feel free to revive it. |
When configuring schemes manager, these settings allowed it to work with no error:
The |
OS:
Platform:
I have following issue:
Hello, I'm trying to get this react-native-sentry to work with https://github.com/thekevinbrown/react-native-schemes-manager to be able to use multiples schemes (Dev / Staging / Prod, with debug and release mode for each). But I can get react-native-sentry to upload the js file during the build with XCode.
The Bundle react native step looks like this:
I've used --force-foreground to see what's happening a bit more, and I get this
I have 2 theories, either sentry cannot understand the custom build script, or because the build is not in Debug folder , but rather inside something like this :
Do you have an idea ?
Thank you :)
The text was updated successfully, but these errors were encountered: