This warning message appears after updating the Pushwoosh .NET MAUI SDK to version 1.6 or newer. This version requires you to add a Device API Token to your iOS project's Info.plist file.
Follow these steps to resolve the issue:
Find your Device API Token:
- Log in to your Pushwoosh Control Panel.
- Navigate to the Settings section of your application, then select the API Access tab.
- Locate or create a token of the Device API Token type. Note: Do not use a Server API Token.
- Copy the token value.
Add the Token to Info.plist:
- Open the
Info.plistfile located in your .NET MAUI project's iOS platform directory (e.g.,Platforms/iOS/Info.plist). - Add a new key-value pair with the key
Pushwoosh_API_TOKENand the token you copied as the string value.
It should look like this:
<key>Pushwoosh_API_TOKEN</key> <string>YOUR_DEVICE_API_TOKEN</string>- Remember to replace
YOUR_DEVICE_API_TOKENwith the actual token from your Pushwoosh Control Panel.
- Open the
Rebuild Your Project:
- After adding the token, clean and rebuild your project to apply the changes. The warning should no longer appear.
Comments
0 comments
Please sign in to leave a comment.