[英]Switching between Web and Native iOS Firebase SDK
I am developing an hybrid app and for the moment only using the web Firebase SDK. 我正在开发一个混合应用程序,目前仅使用Web Firebase SDK。
I am now realising that I might have to skip javascript for certains things like when the app is in the background and JS execution is not always possible. 我现在意识到,在某些情况下(例如当应用程序在后台且并非总是可以执行JS时),可能不得不跳过javascript。 At such, I might have to do certain things in native. 在这种情况下,我可能必须做一些本机的事情。 Hence my question: 因此,我的问题是:
If my user is logged using the Javascript SDK, what will happen when switching to the native SDK within the same app ? 如果我的用户使用Javascript SDK登录,则在同一应用程序中切换到本机SDK会发生什么? More specifically, what about authentication ? 更具体地说,身份验证如何?
Authentication state is not shared between web and native application. Web和本机应用程序之间不共享身份验证状态。 The user will have to authenticate with both in this scenario. 在这种情况下,用户将必须同时通过两种方式进行身份验证。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.