在Outsystem InAppBrowser中不支持MisFit API集成

问题描述 投票:1回答:1

我在我的跨平台Android应用程序中使用MisFit API,该应用程序是在OutSystem中开发的。我正在使用InAppBrowser进行登录过程。但由于Google的限制,我收到错误“disallowed_useragent”。

我试过了cordova插件版本5.0.1,5.3.3,7.0.0。问题没有解决

我希望通过单击Google登录按钮可以登录Misfit应用程序

cordova google-authentication inappbrowser outsystems misfit
1个回答
0
投票

在config.xml中添加以下首选项行

<preference name="OverrideUserAgent" value="Mozilla/5.0 Google" />

请注意,它通过inappbrowser中的google问题解决了我的登录问题。谢谢

© www.soinside.com 2019 - 2024. All rights reserved.