我们正在使用Ionic / Cordova构建混合应用程序。
我有一个iOS版本的问题,在该版本中Google登录名只会崩溃并关闭该应用,而Firebase身份验证则什么也不做,但是在Android版本上可以正常使用,因此该问题仅针对iOS。
我正在使用(cordova-plugin-googleplus)进行Google登录,并使用(cordova-plugin-firebase-authentication)进行Firebase身份验证。
我唯一遇到的错误是来自Google登录名:-[__ NSDictionaryI gtm_httpArgumentsString]:无法识别的选择器已发送到实例0x600002f2c340
我们为了解决此问题而尝试过的项目:更新了两个插件检查info.plist文件是否全部正确“ REVERSED_CLIENT_ID”和“ WEB_APPLICATION_CLIENT_ID”已添加到cordova-plugin-googleplus插件中CocoaPods已全部更新清理XCode删除并重新添加IOS平台IOS证书是最新的
离子信息:
Ionic:
Ionic CLI : 5.4.1 (/usr/local/lib/node_modules/ionic)
Ionic Framework : @ionic/angular 4.9.1
@angular-devkit/build-angular : 0.13.9
@angular-devkit/schematics : 7.3.9
@angular/cli : 7.3.9
@ionic/angular-toolkit : 1.5.1
Cordova:
Cordova CLI : 9.0.0 ([email protected])
Cordova Platforms : ios 5.0.1
Cordova Plugins : cordova-plugin-ionic-keyboard 2.2.0, cordova-plugin-ionic-webview 4.1.2, (and 16 other plugins)
Utility:
cordova-res : 0.6.0
native-run : 0.2.8
System:
ios-deploy : 1.9.4
ios-sim : 8.0.2
NodeJS : v10.16.0 (/usr/local/bin/node)
npm : 6.11.3
OS : macOS Mojave
Xcode : Xcode 10.3 Build version 10G8
> cordova plugin ls
cordova-plugin-advanced-http 2.1.1 "Advanced HTTP plugin"
cordova-plugin-androidx 1.0.2 "cordova-plugin-androidx"
cordova-plugin-androidx-adapter 1.1.0 "cordova-plugin-androidx-adapter"
cordova-plugin-camera 4.1.0 "Camera"
cordova-plugin-device 2.0.3 "Device"
cordova-plugin-file 6.0.2 "File"
cordova-plugin-firebase-authentication 3.0.0 "cordova-plugin-firebase-authentication"
cordova-plugin-firebasex 6.1.0 "Google Firebase Plugin"
cordova-plugin-geolocation 4.0.2 "Geolocation"
cordova-plugin-googleplus 7.0.2 "Google SignIn"
cordova-plugin-ionic-keyboard 2.2.0 "cordova-plugin-ionic-keyboard"
cordova-plugin-ionic-webview 4.1.2 "cordova-plugin-ionic-webview"
cordova-plugin-network-information 2.0.2 "Network Information"
cordova-plugin-splashscreen 5.0.3 "Splashscreen"
cordova-plugin-statusbar 2.4.3 "StatusBar"
cordova-plugin-whitelist 1.3.4 "Whitelist"
cordova-plugin-x-socialsharing 5.6.0 "SocialSharing"
es6-promise-plugin 4.2.2 "Promise"
phonegap-plugin-barcodescanner 8.1.0 "BarcodeScanner"
如果您有任何帮助/指针或技巧,请提供帮助。预先谢谢你。
有人可以帮我使用Firebase为用户创建登录和注册屏幕