hi !
Thanks for flagging this.
Here is what happened, it’s quite an edge case but can be easily avoided moving forward:
While rebuilding the app locally during testing (common with React/Flutter), Apple assigns a new vendor ID for the same device.
Each new vendor ID looked like a new connection to Terra API (even though the reference ID was the same). That’s why you saw multiple active connections.
How to avoid this:
Use Terra’s testing/staging environment during app builds → capped at 50 connections, so you’ll never get overcharged :)