I used it in a typescript project and found that there were no Typings file available to me I've found similar problems elsewhere: https://github.com/OneSignal/react-native-onesignal/issues/453