react-native-legal
Version:
Acknowledge OSS libraries used in your React Native app
20 lines (19 loc) • 738 B
JavaScript
;
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.ReactNativeLegal = void 0;
var _NativeReactNativeLegal = _interopRequireDefault(require("./NativeReactNativeLegal"));
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
const ReactNativeLegal = exports.ReactNativeLegal = {
getLibrariesAsync: () => {
return _NativeReactNativeLegal.default.getLibrariesAsync();
},
launchLicenseListScreen: licenseHeaderText => {
/**
* On Android, the licenses list is displayed as a custom activity
*/
_NativeReactNativeLegal.default.launchLicenseListScreen(licenseHeaderText ?? 'OSS Licenses');
}
};
//# sourceMappingURL=ReactNativeLegal.android.js.map