stream-chat-react-native icon indicating copy to clipboard operation
stream-chat-react-native copied to clipboard

Make react-native-share and react-native-haptic-feedback optional dependencies

Open madsroskar opened this issue 2 years ago • 0 comments

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

madsroskar avatar Aug 11 '22 13:08 madsroskar