### Example Full Configuration in app.json Source: https://github.com/pushwoosh/pushwoosh-expo-plugin/blob/main/README.md A comprehensive example of configuring the pushwoosh-expo-plugin in app.json, including iOS and Android specific properties like API tokens and log levels. ```json { "expo": { "plugins": [ [ "pushwoosh-expo-plugin", { "mode": "development", "ios": { "PW_API_TOKEN": "YOUR_API_TOKEN", "Pushwoosh_LOG_LEVEL": "DEBUG" }, "android": { "apiToken": "YOUR_API_TOKEN", "logLevel": "DEBUG", "icon": "./assets/notification-icon.png" } } ] ] } } ``` -------------------------------- ### Install Pushwoosh Expo Plugin Source: https://github.com/pushwoosh/pushwoosh-expo-plugin/blob/main/README.md Command to install the pushwoosh-expo-plugin using npx expo install. It also shows how to install the pushwoosh-react-native-plugin using npm. ```bash npx expo install pushwoosh-expo-plugin # npm npm install pushwoosh-react-native-plugin ``` -------------------------------- ### Configure Plugin in app.json / app.config.js Source: https://github.com/pushwoosh/pushwoosh-expo-plugin/blob/main/README.md Example of how to add the pushwoosh-expo-plugin to the plugins array in your app.json or app.config.js file. It demonstrates setting the 'mode' property. ```javascript { "plugins": [ [ "pushwoosh-expo-plugin", { "mode": "development", } ] ] } ``` -------------------------------- ### Initialize Pushwoosh SDK Source: https://github.com/pushwoosh/pushwoosh-expo-plugin/blob/main/README.md JavaScript code snippet to import the Pushwoosh module and initialize the SDK with your project's App ID and GCM Project Number, followed by registering the device. ```javascript import Pushwoosh from 'pushwoosh-react-native-plugin'; Pushwoosh.init({ "pw_appid" : "YOUR_PUSHWOOSH_PROJECT_ID" , "project_number" : "YOUR_GCM_PROJECT_NUMBER" }); Pushwoosh.register(); ``` -------------------------------- ### Prebuild Expo Project Source: https://github.com/pushwoosh/pushwoosh-expo-plugin/blob/main/README.md Command to prebuild the Expo project, which generates native runtime code for iOS and Android, linking native modules and configuring plugins. ```bash npx expo prebuild ``` -------------------------------- ### Build and Run Native iOS Project with Expo Source: https://github.com/pushwoosh/pushwoosh-expo-plugin/blob/main/README.md Executes the command to build and run the native iOS project within an Expo environment. This command is specific to Expo projects and utilizes the Expo CLI to manage native build processes for iOS. ```bash npx expo run:ios ``` -------------------------------- ### Build and Run Native Android Project with Expo Source: https://github.com/pushwoosh/pushwoosh-expo-plugin/blob/main/README.md Executes the command to build and run the native Android project within an Expo environment. This command is specific to Expo projects and utilizes the Expo CLI to manage native build processes for Android. ```bash npx expo run:android ``` === COMPLETE CONTENT === This response contains all available snippets from this library. No additional content exists. Do not make further requests.