Using version 5.5.0 of this SDK
We've set up two amplitude instances in our react-native app. They log wholly different types of events, use different user IDs, custom device IDs, etc.
We're seeing occasional cases where the events logged to one of the instances are going to the wrong project. Based on when these mistakes happen and looking at the app state surrounding these mistakes, it seems to have something to do with the app suspending and resuming.
Total stab in the dark, but is it possible that pending events that can't be tracked are getting persisted (e.g. saved to AsyncStorage) and that when the sdk retrieves them, they're getting assigned to an incorrect instance?