To launch and utilize a sample with Pushwoosh iOS SDK integration, clone or download the repository archive.
1. In this project, we use the Pushwoosh iOS SDK as a submodule. To fetch the dependency, follow these steps:
1.1 Navigate to the sample folder via the terminal and enter the following command:
git submodule update --init --recursive
1.2 You can check the status of the submodules to ensure they have been successfully fetched:
git submodule status
1.3 If you have already cloned the repository and want to update the submodules to the latest commits, you can use:
git submodule update --recursive --remote
If you don't want to use a submodule, you can add the Pushwoosh iOS SDK as a dependency via Swift Package Manager.
1.1 Add Dependencies via Swift Package Manager. Use this link https://github.com/Pushwoosh/Pushwoosh-XCFramework
2. Replace the Bundle Identifier in the main target and in the Notification Service Extension with yours.
3. Add your Group Name to App Groups (Main Target and Notification Service Extension Target), tied to your Bundle ID.
...
<key>PW_APP_GROUPS_NAME</key>
<string>group.com.example.demo_group</string>
...
...
<key>Pushwoosh_APPID</key>
<string>XXXXX-XXXXX</string>
...
The guide for SDK integration is available on Pushwoosh website.
Documentation: https://github.com/Pushwoosh/pushwoosh-ios-sdk/tree/master/Documentation
Pushwoosh team http://www.pushwoosh.com