Blueprint
How to integrate Pushwoosh SDK into your Unreal Engine project
Supports iOS, Android
Download Plugin Download Sample Plugin API Docs
To integrate Pushwoosh with your Unreal Engine project::
1. Download Pushwoosh Plugin and put it in your Plugins folder.
2. Enable Pushwoosh module in YourProjectName.uproject:
3. Configure your project in Firebase Console.
4. Locate the google-services.json file to the Config
folder in your project directory.
google-services.json
You should've gotten the google-services.json
file while creating the app in Firebase console. If you haven't, please consult this thread (section Get a config file for your Android app).
5. Add Pushwoosh module to the dependency list of your project:
6. Recompile your project
7. Specify Pushwoosh Application Id and FCM Project Number in Project Settings...-> Plugins -> Pushwoosh. These settings are saved in DefaultPushwoosh.ini
8. Add Pushwoosh actor component to an actor in your scene:
![](https://docs.pushwoosh.com/~gitbook/image?url=https%3A%2F%2Ffiles.readme.io%2F11de5a3-Screen_Shot_2016-09-15_at_10.32.11.png&width=768&dpr=4&quality=100&sign=b1c1d645&sv=1)
10. Open Event Graph tab in Blueprint editor. Locate Register for Push Notifications action under Pushwoosh category. Add it to your graph and attach to an appropriate execution chain (this will result in iOS popup asking for push notification permissions).
![](https://docs.pushwoosh.com/~gitbook/image?url=https%3A%2F%2Ffiles.readme.io%2Fdcd726e-Screen_Shot_2016-09-15_at_10.51.44.png&width=768&dpr=4&quality=100&sign=96e93e1b&sv=1)
11. (Optional) Add Pushwoosh Push Registration and Push Accepted event handlers. These events can be found in Details tab of the Pushwoosh component.
![](https://docs.pushwoosh.com/~gitbook/image?url=https%3A%2F%2Ffiles.readme.io%2F2d3b3b6-Screen_Shot_2016-09-15_at_10.54.51.png&width=768&dpr=4&quality=100&sign=3aa9c925&sv=1)
12. For iOS add Push Notifications Capability to your project. This can be done by adding following key-value pair in Intermediate/ProjectFilesIOS/build/${YourProject}.build/${Configuration}-iphoneos/${YourProject}.build/${YourProject}.app.xcent:
13. For Android make sure Unreal Engine and Pushwoosh Plugin does not have conflicting libraries.
Share your feedback with us
Your feedback helps us create a better experience, so we would love to hear from you if you have any issues during the SDK integration process. If you face any difficulties, please do not hesitate to share your thoughts with us via this form.
Last updated