react-native-macos/Libraries/Components/Touchable
Andrew Kriger 722f88ca90 Adds Android click sound to Touchables
Summary:
Android apps play a touch sound on press, as long as you have "Touch sounds" enabled in the settings. As and Android user, when building my app using React Native, one of the first things I noticed was that there were not any touch sounds. This is missing from React Native and there have been multiple PRs to have this implemented, but no success.

This PR iterates over [#6825](https://github.com/facebook/react-native/pull/6825) and [#11136](https://github.com/facebook/react-native/pull/11136)

This PR keeps it simple by only implementing the enhancement for Android, as iOS apps typically do not use touch sounds, and follows the users' system settings for whether or not the sound is played.

I have manually tested this on multiple devices and emulators with zero problems

[ANDROID] [ENHANCEMENT] [UIManagerModule.java]- Adds Android click sound to touchables

[ANDROID] [ENHANCEMENT] [Touchable] - Adds Android click sound to touchables
Closes https://github.com/facebook/react-native/pull/17183

Differential Revision: D7560327

Pulled By: hramos

fbshipit-source-id: ce1094c437541bc677c7d64b0dba343dd9574422
2018-04-09 17:01:57 -07:00
..
__mocks__ Update license headers for MIT license 2018-02-16 18:31:53 -08:00
__tests__ Update license headers for MIT license 2018-02-16 18:31:53 -08:00
BoundingDimensions.js Converting Libraries/Components to not use var 2018-03-03 15:38:18 -08:00
PooledClass.js Converting Libraries/Components to not use var 2018-03-03 15:38:18 -08:00
Position.js Converting Libraries/Components to not use var 2018-03-03 15:38:18 -08:00
Touchable.js Adds Android click sound to Touchables 2018-04-09 17:01:57 -07:00
TouchableBounce.js Converting Libraries/Components to not use var 2018-03-03 15:38:18 -08:00
TouchableHighlight.js onPress animation with magnification 2018-02-27 13:10:02 -08:00
TouchableNativeFeedback.android.js Add support for Android TV devices 2018-03-06 10:47:02 -08:00
TouchableNativeFeedback.ios.js Converting Libraries/Components to not use var 2018-03-03 15:38:18 -08:00
TouchableOpacity.js Add support for Android TV devices 2018-03-06 10:47:02 -08:00
TouchableWithoutFeedback.js Update license headers for MIT license 2018-02-16 18:31:53 -08:00
ensureComponentIsNative.js Converting Libraries/Components to not use var 2018-03-03 15:38:18 -08:00
ensurePositiveDelayProps.js Converting Libraries/Components to not use var 2018-03-03 15:38:18 -08:00