7.1.2。 iOS Safariでのみ発生するようです。は、私はこのエラーが表示サファリ
私はCordovaの問題を報告している他の人たちを見ていますが、答えは見当たりません。私はWebとFirebaseだけを使っています。コルドバやイオンなどではありません。
匿名ログインはiOS上で動作しますが、これはテストに過ぎず、使用するものではありません。
あなたはそれをテストしたい場合は、返却の約束からのエラーオブジェクトの例ダンプがあるのiOS
上のSafariからhttps://meetup-reporter.firebaseapp.com/を使用することができます。
{"code": "auth/operation-not-supported-in-this-environment", "constructor": function (a, b) {this.code="auth/"+a;this.message=b||Xf[a]||"";}, "F": function() {return{code:this.code,message:this.message}}, "line": 44, "message": "This operation is not supported in the environment this application is running on. \"location.protocol\" must be http, https or chrome-extension and web storage must be enabled.", "sourceURL": " https://meetup-reporter.firebaseapp.com//firebase/4.1.2/firebase-auth.js ", "stack": " https://meetup-reporter.firebaseapp.com//firebase/4.1.2/firebase-auth.js:44:638 \nhttps://meetup-reporter.firebaseapp.com//firebase/4.1.2/firebase-auth.js:45:258\[email protected]https://meetup-reporter.firebaseapp.com//firebase/4.1.2/firebase-auth.js:44:545 \[email protected]https://meetup-reporter.firebaseapp.com//firebase/4.1.2/firebase-auth.js:45:242 \[email protected]https://meetup-reporter.firebaseapp.com//firebase/4.1.2/firebase-auth.js:241:48 \[email protected]https://meetup-reporter.firebaseapp.com/__/firebase/4.1.2/firebase-auth.js:260:432 \nhttps://meetup-reporter.firebaseapp.com/scripts/main.js:430:36", "toJSON": function() {var a=Array.prototype.slice.call(arguments);a:{var e=Array.prototype.slice.call(a);var l=0;for(var n=!1,C=0;Cl||l>=fk.length)throw new N("internal-error","Argument validator received an unsupported number of arguments.");e=fk[l]+" argument "+(e.name?'"'+e.name+'" ':"")+"must be "+e.N+".";break a}e=null}}if(e)throw new N("argument-error",d+" failed: "+e);return b.apply(this,a);}}
ありがとう@bojeil私はテストしたので、firebase signInWithPopupまたはsignInWithRedirect経由でモバイルサファリを動作させることができませんでした。しかし、GoogleのサインインJS SDKは古いiPhone/Safari /などで動作します。ありがとう!そのようにしたい場合は、https://firebase.google.com/docs/auth/web/google-signin#advanced-handle-the-sign-in-flow-manuallyをご覧ください。 –