In case you notice presence related transactions in your admin portal usage page, but you do not use Presence in your project, check your client side configuration.
To completely disable Presence usage, there are a few things you need to do apart from turning the feature off in the admin portal.
When you initialize the PubNub client instance, be sure to:
- Remove presenceTimeout and heartbeatInterval parameters
- Add supressLeaveEvents parameter
Javascript SDK example:
var pubnub = new PubNub({ publishKey: "myPublishKey", subscribeKey: "mySubscribeKey", userId: "myUniqueUserId", presenceTimeout: 120, <-- Remove this heartbeatInterval: 59, <-- Remove this suppressLeaveEvents: true <-- Add this entry });
To check the parameters specific to your SDK language, please refer to our official SDK documentation.
In case of any questions contact us at support@pubnub.com.