-
Hey team, I've integrated Sentry for Crash monitoring into my Android Library using Hub. This ensures that the logs from the Main Application don't clutter up the system. However, I'm facing an issue where I'm unable to log ANRs or enable Performance Monitoring. I've looked for documentation on how to maintain two instances of Sentry within an application but couldn't find any. Can you please help me with this? Thank you. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
hi @amrita019, officially we do not support the usecase of using our SDKs in another third-party library/SDK, see the note here https://docs.sentry.io/platforms/ However, since you're using your own instance of Hub, this is possible, but you will have to manually register available integrations and other things, pretty much what is done here to achieve the same functionality. It's still not recommended though, as some of those integrations might clash with the Main Application in one or another way. |
Beta Was this translation helpful? Give feedback.
hi @amrita019, officially we do not support the usecase of using our SDKs in another third-party library/SDK, see the note here https://docs.sentry.io/platforms/
However, since you're using your own instance of Hub, this is possible, but you will have to manually register available integrations and other things, pretty much what is done here to achieve the same functionality. It's still not recommended though, as some of those integrations might clash with the Main Application in one or another way.