import * as utils from '@notifee/react-native/src/utils' ; export const setPlatform = ( platform ) : void => { Object . defineProperty ( utils , 'isIOS' , { value : platform === 'ios' } ) ; Object . defineProperty ( utils , 'isAndroid' , { value : platform === 'android' } ) ; } ;