We created a package that uses chatter functionality. One of our users is not using chatter and disabled in their org so our package is throwing an error "Missing Organization Feature: Chatter". User is not willing to enable chatter.
Is there a way that we can write some condition if chatter is enabled do this and if not do this.
I am already checking id the chatter is enabled using the below snippet
Schema.DescribeSObjectResult R = CSTest__c.SObjectType.getDescribe();
return R.isFeedEnabled();
In visualforce page
<chatter:feedWithFollowers entityId="{!testIdChatter}" id="chatterId" />
Is there away that we can write the functionality if the chatter is not enabled do some other stuff.