Closed wththd closed 5 years ago
at postPushNotification method (start 404 line) add
try {
title = URLDecoder.decode(title, StandardCharsets.UTF_8.name());
text = URLDecoder.decode(text, StandardCharsets.UTF_8.name());
}
catch(Exception e){
Log.d("Errors", "Error while decoding " + e.getMessage());
}
at the end. Dont know why it didnot decode before
@wththd ,
Best regards, Yuriy, Universal Tools team.
@yuriy-universal-ivanov ty for answer. But i imported last version of google play games, i think they know what they are doing :) As a suggetion may be you can add some settings for encoding, because rebuilding plugin is not a good idea
@wththd Are you really using the official plugin from Google? Can you please send the link to it so we could test our asset in the same project with it?
@yuriy-universal-ivanov https://github.com/playgameservices/play-games-plugin-for-unity/tree/master/current-build
@wththd Clean project, importing UTNotifications and GPG (the one you referenced): only me.leolin.ShortcutBadger-1.1.22.aar, everything uses Play Services Resolver, everything is fine. I guess you got the other ShortcutBadger not from GPG (probably Unity failed to delete an old version of ShortcutBadger when updating UTNotifications). Feel free to delete the old one, it has nothing to do with either UTNotifications 1.8.* or GPG.