Android 无互联网的对讲机用户注册
我分别在和上调用registerUserWithUserId和registerIdentifiedUser来注册用户 如果我在手机没有internet(即无法连接intercom.io服务器)的情况下尝试注册用户,库是否会在返回internet时重试注册用户?或者,当internet返回我自己时,我应该重试注册用户吗 在观察网络流量时,它看起来像是图书馆试图在互联网恢复时重新注册用户(这太棒了)。但是很难确定,因为这个用例没有明确的文档 iOS: 安卓:Android 无互联网的对讲机用户注册,android,ios,intercom,Android,Ios,Intercom,我分别在和上调用registerUserWithUserId和registerIdentifiedUser来注册用户 如果我在手机没有internet(即无法连接intercom.io服务器)的情况下尝试注册用户,库是否会在返回internet时重试注册用户?或者,当internet返回我自己时,我应该重试注册用户吗 在观察网络流量时,它看起来像是图书馆试图在互联网恢复时重新注册用户(这太棒了)。但是很难确定,因为这个用例没有明确的文档 iOS: 安卓: Intercom.client().re
Intercom.client().registerIdentifiedUser(new Registration().withUserId(userId).withEmail(email));
是的,当您恢复internet连接时,图书馆将与对讲机联系。在使用对讲机时,不需要考虑网络状态 注册用户所做的最重要的事情是持久化用户ID和电子邮件。这样可以确保即使您完全没有连接,用户也会在下一次机会被发送到对讲机 我希望这能回答你的问题
Intercom.client().registerIdentifiedUser(new Registration().withUserId(userId).withEmail(email));