stream-chat-react-native
stream-chat-react-native copied to clipboard
Make react-native-share and react-native-haptic-feedback optional dependencies
Motivation
These dependencies aren't necessarily providing value to all apps using the SDK. If we make them optional, users can make the choice as to whether they want to include it in their applications or not.
Proposed solution
Make the dependencies optional to install when installing our SDK
Acceptance Criteria
- The dependencies are optional
- The value the dependencies could add if installed is documented for users to make a choice about it
- Any button/interaction with the dependencies is removed/hidden if the dependency has not been installed