Novu Expo is a mobile application built with Expo and @novu/react-native
package, showcasing the integration of Novu's notification inbox (in-app) within a mobile app.
- The main tab (
HomeScreen.tsx
) fetches Novu's Changelog. - The updates tab (
UpdatesScreen.tsx
) is a fully functional custom mobile notification in-app (inbox) feed.
Before you begin, ensure you have met the following requirements:
- Node.js (v14 or later)
- npm or yarn
- Expo CLI (
npm install -g expo-cli
)
-
Clone the repository:
git clone https://github.com/yourusername/novu-expo.git
-
Navigate to the project directory:
cd novu-expo
-
Install dependencies:
npm install
or
yarn install
-
Start the Expo development server:
npx expo start
-
Use the Expo Go app on your mobile device to scan the QR code displayed in the terminal or in the browser window that opens.
-
Alternatively, press 'a' in the terminal to run the app on an Android emulator, or 'i' for iOS simulator (if you're using macOS).
To configure the Novu integration, you'll need to set up your Novu Application Identifier and Subscriber ID.
In this file: UpdatesScreen.tsx
return (
<SafeAreaView style={styles.container}>
<StatusBar barStyle="dark-content" backgroundColor="#F5F5F5" />
<NovuProvider
subscriberId="<Subscriber ID>"
applicationIdentifier="<Application ID>"
>
<UpdatesList />
</NovuProvider>
</SafeAreaView>
);
If you have any questions or feedback, please open an issue in this repository.