简体   繁体   English

使用testflight进行测试时,Facebook和Google OAuth可以正常工作,但是当应用程序经过审核以便发布时,它们就不能正常工作

[英]Facebook and Google OAuth work fine when tested using testflight but they don't when the app is been reviewed for publication

I've just finished developing an Ionic app and I submitted the app for review, but it got rejected for a bug I cannot reproduce. 我刚刚完成了一个Ionic应用程序的开发,我提交了应用程序进行审核,但是因为我无法重现的错误而被拒绝了。 It uses Google and Facebook OAuth. 它使用Google和Facebook OAuth。 Tested in my iPhone both work fine. 在我的iPhone测试都工作正常。 I also made the app available for testing using Testflight and the three people who I ask for help with this issue could log in successfully using either of those two methods. 我还使用Testflight使应用程序可用于测试,我请求帮助解决此问题的三个人可以使用这两种方法中的任何一种成功登录。 The reviewer, however, could not, and my app got rejected twice. 然而,审稿人不能,我的应用程序被拒绝了两次。 They don't have any logs about it and everything is working fine server side. 他们没有关于它的任何日志,一切都在服务器端工作正常。

I thought at fist that it had to do with my server configuration, so I changed everything to support https calls. 我一想到它与我的服务器配置有关,所以我改变了所有内容以支持https调用。 I also tried to look for some configuration I missed about using both APIs but to no avail. 我也试图寻找一些我错过了使用这两种API的配置,但无济于事。 I talked to the reviewer but the answer was the same as before with only the steps to reproduce the problem, which are the same ones that work in every one of my tests. 我和评论员谈过,但答案和以前一样只有重现问题的步骤,这些步骤与我的每一个测试都相同。

These are the versions I'm using: 这些是我正在使用的版本:

{
    "dependencies": {
        "@ionic-native/core": "~4.12.0",
        "@ionic-native/facebook": "^4.20.0",
        "@ionic-native/google-plus": "^4.20.0",
        "cordova-ios": "4.5.5",
        "cordova-plugin-facebook4": "^4.2.1",
        "cordova-plugin-googleplus": "7.0.0",
    }
    "cordova": {
        "plugins": {
            "cordova-plugin-facebook4": {
                "FACEBOOK_ANDROID_SDK_VERSION": "4.40.0"
            },
            "cordova-plugin-googleplus": {
                "PLAY_SERVICES_VERSION": "15.+"
            },
        }
    }
}

Is there something I am missing? 有什么我想念的吗?

The problem was very specific but I'm posting it here for everyone with the same issue: 问题是非常具体的,但我在这里发布它给每个人都有同样的问题:

The tester disabled push notifications from his iPad. 测试人员禁用了iPad上的推送通知。 After login, I would ask the device for credentials for push notifications, but because it was disabled, the error occurred. 登录后,我会要求设备提供推送通知的凭据,但由于它已被禁用,因此发生了错误。

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 Flutter Firebase 应用程序在模拟器中运行良好,但在 testflight 中测试时崩溃 - Flutter Firebase app runs fine in simulator but crashes when tested in testflight 从TestFlight打开应用时崩溃,否则可以正常工作 - App crashes when opened from TestFlight but works fine otherwise 从AppStore或TestFlight启动时,应用崩溃 - App crashing when launching from AppStore or TestFlight but working fine elseways 使用testflight应用程序时读取日志? - Read logs when using testflight app? 从Testflight下载应用程序时,我的JSON方法不起作用 - My JSON method doesn't work when download app from Testflight 应用程序的实时版本和应用程序的开发版本之间不会发生iCloud Sync(通过Diawi,Testflight或ipa复制进行测试时) - iCloud Sync does not happen between Live Version of App And Development Version of App (When tested via Diawi, Testflight or ipa copy) 下载应用程序时出现Testflight错误 - Testflight Error when downloading app 当应用程序在后台运行时,推送通知不起作用 - Push notifications don't work when app is in background iOS 应用内购买不适用于 TestFlight 中的非沙盒帐户 - iOS In-App-Purchases don't work for non-sandbox accounts in TestFlight 如果通过 Xcode 安装,iOS 应用程序运行良好,但通过 TestFlight 安装时在一个特定的视图控制器上崩溃 - iOS app runs fine if installed through Xcode, but crashes on one particular view controller when installed through TestFlight
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM