This repository has been archived on 2022-03-12. You can view files and clone it, but cannot push or open issues or pull requests.
2021-04-02 02:24:13 +03:00

18 lines
866 B
JavaScript

import deprecatedModule from './deprecatedModule';
Object.defineProperties(module.exports, {
Linking: {
enumerable: true,
get() {
deprecatedModule(`import { Linking } from 'expo' -> import * as Linking from 'expo-linking'\n`, 'Linking', 'expo-linking');
return require('expo-linking');
},
},
Notifications: {
enumerable: true,
get() {
deprecatedModule(`import { Notifications } from 'expo' -> import * as Notifications from 'expo-notifications'\n`, 'Notifications', 'expo-notifications', 'Note the breaking changes in the new Notifications API: https://docs.expo.io/versions/latest/sdk/notifications/ . This legacy API will be removed in SDK 40.');
return require('./Notifications/Notifications').default;
},
},
});
//# sourceMappingURL=deprecated.js.map