Skip to content

Commit

Permalink
Fixed WP8.1 build error.
Browse files Browse the repository at this point in the history
  • Loading branch information
jkasten2 committed Dec 6, 2016
1 parent 56728e2 commit d2a567d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Unity5OneSignalExample/Assets/OneSignal/src/OneSignalWPWNS.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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<string, string> additionalData = null;
Dictionary<string, object> 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();
Expand Down

0 comments on commit d2a567d

Please sign in to comment.