Skip to content

Commit

Permalink
Merge pull request #204 from a777med/patch-1
Browse files Browse the repository at this point in the history
fix import in readme.md
  • Loading branch information
rgomezp authored Oct 23, 2023
2 parents fea3c05 + 62c4a32 commit b8a6632
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ Add your OneSignal App ID to your [Expo constants via the `extra` param](https:/
You can then access the value to pass to the `initialize` function:

```js
import OneSignal from 'react-native-onesignal';
import { OneSignal } from 'react-native-onesignal';
import Constants from "expo-constants";
OneSignal.initialize(Constants.expoConfig.extra.oneSignalAppId);
```
Expand Down

0 comments on commit b8a6632

Please sign in to comment.