Skip to content

Commit

Permalink
fix import in readme.md
Browse files Browse the repository at this point in the history
  • Loading branch information
a777med authored Oct 5, 2023
1 parent 1fb1899 commit 62c4a32
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 62c4a32

Please sign in to comment.