How to get device token in iOS 13 with Xamarin?

前端 未结 7 1984
悲&欢浪女
悲&欢浪女 2020-12-11 03:31

Our RegisteredForRemoteNotifications code broke because the token was retrieved with:

deviceToken.ToString().Trim(\'<\').Trim(\'>\').Replace(\" \", \"\         


        
7条回答
  •  难免孤独
    2020-12-11 04:11

    I´m having the same problem and was trying to implement based on this post: https://onesignal.com/blog/ios-13-introduces-4-breaking-changes-to-notifications/

    I´m going to test your solution the first chance I get but have you tested to see if it maintains compatibility with previous iOS builds?

提交回复
热议问题