diff --git a/Unity5OneSignalExample/Assets/OneSignal/src/OneSignalWPWNS.cs b/Unity5OneSignalExample/Assets/OneSignal/src/OneSignalWPWNS.cs index 2475699eb..534cba901 100755 --- a/Unity5OneSignalExample/Assets/OneSignal/src/OneSignalWPWNS.cs +++ b/Unity5OneSignalExample/Assets/OneSignal/src/OneSignalWPWNS.cs @@ -36,9 +36,9 @@ public class OneSignalWPWNS : OneSignalPlatform { public OneSignalWPWNS(string appId) { OneSignalSDK_WP_WNS.ExternalInitUnity.Init(appId, (message, inAdditionalData, isActive) => { if (OneSignal.builder != null && OneSignal.builder.notificationOpenedDelegate != null) { - Dictionary additionalData = null; + Dictionary additionalData = null; if (inAdditionalData != null) - additionalData = inAdditionalData.ToDictionary(pair => pair.Key, pair => (string)pair.Value); + additionalData = inAdditionalData.ToDictionary(pair => pair.Key, pair => (object)pair.Value); OSNotificationOpenedResult result = new OSNotificationOpenedResult(); result.action = new OSNotificationAction();