TPNS iOS SDK ReleaseNote
1.新增:自建通道新增对relevanceScore字段的支持。 2.修复:修复已知问题。
1.New: tpns channel add relevanceScore support. 2.Fix: Fixed known issues.
- 优化:优化极端场景下上报组件初始化失败的问题。
- 修复:修复已知问题。
- Optimization: Optimize the problem of mta initialization failure in bad case.
- Fix: Fixed known issues.
- 新增:注册流程支持业务侧自定义。
- New: The registration interface supports customization on the business side.
- 新增:xcframework新增隐私清单文件。
- 优化:优化部分日志链路。
- New: xcframework add privacy file.
- Optimization: Optimize some log links.
- 优化:缩短注册链路,提升注册成功率。
- 优化:账号绑定接口添加短链策略。
- 修复:修复已知问题。
- Optimization: Shorten register links and improve the register success rate.
- Optimization: Account api add http strategy.
- Fix: Fixed known issues.
- 新增:新增SDK渠道字段。
- 修复:修复已知问题。
- New: Added the SDK channel field.
- Fix: Fixed known issues.
- 新增:新增xcframework库类型。
- 优化:优化自建通道对新系统特性的支持。
- 修复:修复已知问题。
- New: Added xcframework library types.
- Optimization: Optimize the support of tpns channels for new system features.
- Fix: Fixed known issues.
- 修复:修复手机型号多次采集的潜在风险。
- 优化:优化头部卡顿问题。
- Fix: Fixed potential risk of multiple phone model collection.
- Optimization: Optimized the head anr problem.
- 修复:修复已知问题。
- 新增:新增实时活动接口。
- Fix: Fixed known issues.
- New: Added a interface for live activity.
- 修复:修复已知问题。
- 新增:新增采集字段自定义接口。
- Fix: Fixed known issues.
- New: Added a custom interface for collecting fields.
- 修复:修复已知问题。
- Fix: Fixed known issues.
- 修复:修复已知问题。
- 优化:分离厂商通道和自建通道注册依赖,缩短注册流程。
- Fix: Fixed known issues.
- Optimization: Separate the registration dependence between the apns channel and the tpns channel, shortening the registration process.
- 修复:修复已知问题。
- 优化:替换上报域名,减少上报带宽消耗。
- Fix: Fixed known issues.
- Optimization: Replace the reporting domain name to reduce the reporting bandwidth consumption.
- 修复已知问题。
- 优化:提升业务接口性能。
- Fix: Fixed known issues.
- Optimization: Improve performance for some API interface.
- 修复:修复了点击通知栏的自建通道消息,冷启动App,并且TPNS SDK延迟启动的情况下,偶现的上报点击事件失败的问题。
- 优化:提升缓存文件IO性能。
- 新增:新增VoIP能力(只支持海外用户)。
- Fix: Fixed the occasional failure to report click events when clicking the self-built channel message in the notification bar, cold-starting the app, and delaying the startup of the TPNS SDK.
- Optimization: Improve IO performance for cache file.
- New: Added VoIP capability (only supports overseas users).
- 优化:优化注册流程日志,方便问题排查。
- 优化:优化抵达插件上报策略。
- Optimization: Optimize the registration process log to facilitate troubleshooting.
- Optimization: Optimize the arrival plugin reporting strategy.
- 修复:修复冷启动模式下,SDK启动方法调用延后导致的点击数据无法上报问题。
- 优化:更新数据上报策略,提升统计数据准确性。
- 优化:优化SDK鉴权机制,提高安全性。
- 增加:支持使用原生通知中心代理方法(UNUserNotificationCenterDelegate)。
- Fix: Fix the problem that click data cannot be reported due to delay in calling the SDK start method under cold start mode.
- Optimization: Update the data reporting strategy to improve the accuracy of statistical data.
- Optimization: Optimize the SDK authentication mechanism to improve security.
- Added: Support the use of native UNUserNotificationCenterDelegate method.
- 优化:增加数据上报的超时时间,5s->15s。
- 优化:优化了SDK的鉴权机制,提高了安全性。
- Optimization: Increase the timeout time of data reporting from 5s to15s.
- Optimization: Optimize the authentication mechanism of SDK to improve security.
- 优化:提升了通知栏状态的准确性。
- 增加:修改了应用内消息API接口
- Optimization:Improved the accuracy of notification bar status.
- Added:Modified the in-app messaging API interface.
- 修复:修复了长链接多次重连后,网络连接偶尔失效的问题。
- 修复:修复了App跳转导致TPNS在线状态偶尔不准确的问题。
- 增加:增加了使用应用内消息作为补推的能力。
- Fix: Fixed an issue where network connections occasionally failed after tcp connecton was reconnected multiple times.
- Fix: Fixed an issue where App deeplink caused TPNS online status to be occasionally inaccurate.
- Added: Added ability to use in-app messages for push message.
- 修复:修复了集群切换没有实时生效的问题。
- 修复:修复了tag接口频繁调用时,绑定不准确的问题。
- 优化:升级 SDK deployment target 到 9.0。
- 优化:提升了"账号绑定"和"注册回调"的性能。
- 新增:新增了对RestApi的show_type字段的支持,app前台时可以不展示通知。
- 新增:新增了长连接可支持SSL的能力。
- 新增:对App启动类型,能区分是由"点击通知"拉起。
- Fix: Fixed issue the switch of cluster does not take effect in real time.
- Fix: Fixed inaccurate binding issue when the API of tag is called frequently.
- Optimization: Upgraded the SDK deployment target to 9.0.
- Optimization: Improved The performance of "Account Binding" and "Registration Callback".
- Added: Added show_type property in RestApi, which can make the app do not display notifications in the foreground.
- Added: Added SSL support for TCP connection.
- Added: Added "click on notification" enum for app startup type.
- 修复:Xcode 12.5下, 引用TPNSInAppMessage.framework的兼容性问题。
- 修复:用户iCloud备份还原,两台设备具有同样TPNS Token问题。
- 优化:切换了新集群环境的话,旧集群产生的日志不上报。
- 增加:手机号码绑定接口,用于普通短信及智能短信发送。
- 增加:账号绑定接口升级,新增多种预设账号类型。
- 增加:Demo演示了"用户允许协议"后才进行Push通知弹窗的方法。
- 增加:对startXGWithAccessID接口的错误调用,进行了日志提示。
- 增加:对第三方SDK对appdelegate的hook冲突,进行了日志提示。
- 删除:若干在生产环境下,不必要的日志提示。
- FIX: The compatibility issue of ‘TPNSInAppMessage.framework’ under Xcode 12.5
- FIX: The same TPNS Token problem on two different devices when user backup and restore in iCloud.
- IMPROVEMENT: The logs generated by the old cluster will not report after we switch to a new cluster environment.
- NEW FEATURE: Mobile phone number binding interface for ordinary SMS and smart SMS send.
- NEW FEATURE: Account binding interface upgrade, new multiple preset account types.
- NEW FEATURE: The way to setup “pop-up Push notification window only after ‘User Allowed Agreement’ ” is demonstrated in demo app.
- NEW FEATURE: Log prompts for wrong call of startXGWithAccessID interface.
- NEW FEATURE: Log prompts for conflicts of AppDelegate hook between TPNS and the third-party SDK.
- DELETED FEATURE: Unnecessary log prompts in the production environment.
- 修复:GCDAsync库可能导致的编译冲突。
- FIX:Possible compilation conflicts caused by the GCDAsync library.
- 修复:TPNS自建通道和APNs通道的播放声音规则不一致问题。
- 修复:切换集群时,云控下发加密字段失效的问题。
- 修复:偶现的统计日志上报失败问题。
- 修复:覆盖消息功能,带thread-id的通知可能覆盖失败的问题。
- 优化:部分错误日志的提示文案。
- 优化:提高终端对TPNS Token的环境校验的准确性。
- 优化:自动补发在TPNS网络连接失败时设置的角标数。
- 优化:"静默消息"的抵达上报更及时。
- 增加:查询标签功能。
- 增加:申请通知权限的回调。
- 增加:TPNS通道支持thread_id消息分组。
- 增加:Demo新增全球集群切换的示例代码。
- 增加:TPNS网络连接的建连成功和断开回调。
- FIX:Inconsistent rules of playing sound between TPNS channel and APNs channel.
- FIX:Invalid Encrypted Info delivered by Cloud Control when we change cluster.
- FIX:Occasional statistical log report failure problem.
- FIX:Override message function, notification with thread-id may override failed issue.
- IMPROVEMENT:Some error log tips.
- IMPROVEMENT:Check TPNS Token environment more accurately
- IMPROVEMENT:Automatically resend the badge number failed to set that caused by TPNS network issues.
- IMPROVEMENT:The arrival of "silent push notification" is reported more promptly
- NEW FEATURE:Query tags.
- NEW FEATURE:Callback for request notification permission.
- NEW FEATURE:TPNS channel supports thread_id message grouping.
- NEW FEATURE:Add sample code for global cluster switching in demo app.
- NEW FEATURE:Connected and disconnected callbacks for TPNS network connections.
- 修复:多线程时和低内存下的小概率crash的问题
- 优化:减少不必要的MQTT网络超时检测
- 优化:"抵达"的上报支持更高性能的方式
- 优化:减少"应用内消息"插件包体积
- 优化:对获取TPNS token的请求进行加密
- 增加:账号、标签、用户属性接口的参数检查逻辑和错误回调
- 删除:账号类型枚举,由业务自己定义
- FIX:Small probability of crash under multithreading or low memory
- IMPROVEMENT:Reduce the count of detection for unnecessary MQTT network timeout
- IMPROVEMENT:Take a higher performance approach for the "arrival" report
- IMPROVEMENT:Reduce the size of the "In-App Messaging" plugin package
- IMPROVEMENT:Encrypt the request to obtain TPNS token
- NEW FEATURE:Add parameter check logic and error callback for account, tag, and user-attribute interfaces
- DELETED FEATURE:Delete account type enumeration, let the business define itself
- 修复:富媒体通知可能下载图片失败的问题。
- 修复:在App后台时,TPNS通道可能在线的问题。
- 修复:1.2.5.2以前版本,可能出现TPNS token重复的问题。
- 修复:可能建立长连接失败的问题。
- 修复:"应用内消息"和个别SDK命名冲突的问题。
- 优化:本地缓存的性能。
- 优化:App通知开关状态的上报时机。
- 优化:弱网下的长连接处理机制。
- 优化:账号相关接口。
- 优化:TPNS Demo的代码示例
- 增加:本地通知功能。
- 增加:对ipv6的支持。
- 删除:对免费版的兼容代码。
- FIX:Rich media notification may fail to download pictures.
- FIX:The TPNS channel may be online while the App is background.
- FIX:If sdk version is less than 1.2.5.2, TPNS token duplication may occur.
- FIX:It may fail to establish a long connection.
- FIX:"In-Application Messages" and some individual SDK naming conflicts.
- IMPROVEMENT:Local cache performance.
- IMPROVEMENT:Reporting timing when app notification status switch.
- IMPROVEMENT:Long connection processing mechanism in weak network.
- IMPROVEMENT:Account related interface.
- IMPROVEMENT:TPNS Demo's code example.
- NEW FEATURE:Local notification function.
- NEW FEATURE:Ipv6 support.
- DELETED FEATURE: Compatible code for the XinGe's free version.
- 修复已知问题
- Fixed known issues
- Added "user attributes" for personalized push
- Added "in-app messaging" , we provide several templates
- Fixed known issues
- 新增「用户属性」相关接口,用于个性化推送
- 新增「应用内消息」功能,以及若干应用内消息模板
- 修复已知问题
- Added custom event reporting
- Increased the success rate of reporting "arrivals"
- Fixed known issues
- 增加自定义事件上报功能
- 增加"抵达数"上报的成功率
- 修复已知问题
- Reduced SDK startup time
- Added new callback interface in case of registration failure
- Optimized account and label interface
- Fixed known issues
- 减少 SDK 启动耗时
- 新增注册失败的回调接口
- 优化账号、标签接口
- 修复已知问题
- Improve stability, fix known issues caused by SDK
- 提升稳定性,修复已知问题
- Optimize access by adding a new registration callback
- Added TPNS channel to send messages
- Optimize data statistics
- Fixed known issues
- 优化接入,新增注册回调方法
- 新增自建通道,支持TPNS通道下发消息
- 优化数据统计
- 修复已知问题
- Improve stability, fix known issues caused by SDK
- 提升稳定性,修复已知问题
- Support unregistration tokens for free clusters to prevent repeated pushes
- Support replacing duplicate messages in notification extensions
- 支持对信鸽免费集群进行反注册token,防止重复推送
- 新增支持在通知扩展中对重复的消息进行替换
- Improve accurate push, add enumeration of account types
- Improve stability, optimize log IO exception and iOS10 receive message callback exception
- 提升精准推送,新增账号类型的枚举
- 提升稳定性,优化日志IO异常和iOS10接收消息回调异常的问题
- Simplified SDK access, delete reporting API, SDK handles it automatically
- Improve stability, fix crash caused by SDK Cache
- 简化接入,删除上报接口,SDK自动处理
- 提升稳定性,修复缓存模块引发的Crash问题
- Improve stability, fix crash caused by message statistics and a memory leak
- Optimize SDK compatibility
- 提升稳定性,修复消息统计触发的崩溃问题和一处内存泄露问题
- 优化提升SDK兼容性
- Improve stability, fix crash caused by message statistics 版本 1.2.4.8
- 提升稳定性,修复消息统计触发的崩溃问题
- Improve stability, fix crash caused by message statistics and log statistics 版本 1.2.4.7
- 提升稳定性,修复消息统计和日志记录触发的崩溃问题
- Optimize SDK registration process and improve registration success rate
- Optimize rich media push, support resources without suffix
- Fix other known issues
- 优化SDK注册流程,提升注册成功率
- 优化富媒体推送,支持无后缀名的资源
- 修复其他已知问题
- Add SDK crash monitor
- Optimize message arrival statistics
- Optimize device count statistics
- Optimize SDK I/O performance
- Optimize and improve SDK stability
- SDK增加Crash监控
- 优化抵达数据统计
- 优化累计设备量统计
- 优化SDK I/O性能
- 优化提升SDK稳定性
- Optimize the SDK registration process and improve the reach of notification messages
- 优化SDK注册流程,提升通知消息触达
- Optimize SDK compatibility
- 优化提升SDK兼容性
- fix a bug about obtaining the TPNS Token
- 修复SDK获取TPNS Token的Bug
- Add a log upload API
- Optimize and improve SDK stability
- Optimize SDK compatibility
- 新增日志上传接口
- 优化提升SDK稳定性
- 优化提升SDK兼容性
- Fix the problem of single account binding callback
- Improve SDK compatibility with third parties Notification Plugin
- Newly differentiated device push environment to optimize statistics
- Optimize the cache logic for replacing App information
- Improve SDK registration success rate
- 修复单账号绑定回调的问题
- 提升SDK与第三方的兼容性
- 新增区分设备推送环境,从而优化统计数据
- 优化更换App信息的缓存逻辑
- 提升SDK注册成功率
- Fix a bug about DeviceToken changed
- 修复一个当设备Token变化时出现的bug
- Fix a bug about network connecting when other apis are called before SDK starting
- 修复一个当SDK未启动完成就调用其他接口而产生的网络连接的Bug
- Fix a bug about registering device to the TPNS server on iOS13
- Fix a bug about network connecting when the App status changed
- 修复iOS13上无法注册的问题
- 修复App状态切换时的网络连接的问题
- Fix a bug about clicking message statistics
- 修复点击数据统计bug
- 修复标签绑定接口在网络连接状态变化时存在的bug
- 新增查询信鸽服务生成的Token接口
- 修复单账号绑定失败的问题
- 新增独立上报数据SDK
- 优化终端注册服务
- 更新DeviceToken解析逻辑
- 修复用户名和密码认证逻辑
- 修复动态加载SDK的缺陷
- 增加PushKit插件
- 优化SDK启动耗时
- 增加长连接的推送
- 增加对PushKit的插件化支持,目前功能仅限注册,注销,上报
- 初始版本