Files
react-native/Libraries/Components/Sound/SoundManager.js
T
David Vacca a4ebd87a81 Fix TM SoundManager not found in iOS apps
Summary:
This diff fixes an error affecting of loading of Ads Manager iOS app

Changelog: [Internal]

Reviewed By: fkgozali

Differential Revision: D17958919

fbshipit-source-id: d87f169954d891ee2fcb1143f1985ea3811b949c
2019-10-16 14:51:24 -07:00

23 lines
462 B
JavaScript

/**
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*
* @format
* @flow
*/
'use strict';
import NativeSoundManager from './NativeSoundManager';
const SoundManager = {
playTouchSound: function(): void {
if (NativeSoundManager) {
NativeSoundManager.playTouchSound();
}
},
};
module.exports = SoundManager;