polymerfire
polymerfire copied to clipboard
Polymerfire on iPhone iOS
Description
Are iPhone browsers supported, safari and chrome?
I'm having trouble getting my app working on my phone or in a iPhone emulator. Im just trying to display the [[user.uid]] and nothing's appearing.
Not sure if this is a issue or just not supported.
I can't get the auth to login or create a new user.
When just using the standard web SDK I can't get any method to work.
signOut: function()
{
firebase.auth().signOut();
},
signInAnon: function()
{
firebase.auth().signInAnonymously().then(function(user) {
console.log('loggedin');
});
},
ready: function()
{
// Initialize Firebase
var config = {
apiKey: "<firebase value>",
authDomain: "etc",
databaseURL: "etc",
storageBucket: "etc",
};
firebase.initializeApp(config);
var that = this;
firebase.auth().onAuthStateChanged(function(user) {
console.log(user);
alert('hello' + user);
if (user) {
// User is signed in.
that.set('user', user);
} else {
// No user is signed in.
}
});
}
I am actually experiencing the same issues, even the resulting website of the codelab is not working as expected on iOS Safari. For testing use this link, it is the reference link from the codelab.
Is anybody aware whether this is a gerneral Safari issue or is it just occuring on the iOS version?
PolymerFire should be supported everywhere Polymer is, which includes iOS Safari. If it's not working, there may be a bug either in Polymer or PolymerFire.
On Mon, Jul 25, 2016 at 1:59 PM stemuk [email protected] wrote:
I am actually experiencing the same issues, even the resulting website of the codelab https://codelabs.developers.google.com/codelabs/polymer-firebase-pwa/index.html is not working as expected on iOS Safari. For testing use this http://note-app-firebase-3a483.firebaseapp.com link, it is the reference link from the codelab.
Is anybody aware whether this is a gerneral Safari issue or is it just occuring on the iOS version?
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/firebase/polymerfire/issues/90#issuecomment-235083256, or mute the thread https://github.com/notifications/unsubscribe-auth/AAAD_gXMe__6eDzV_5RadoxaaNFKow-Qks5qZSOlgaJpZM4JTok0 .
I would expect the bug to be in Polymerfire, scince the demo app itself (paper-fab, cards, toolbar) is working, creating a new note however isn't. This probably points at an issue on the databinding in firebase-query, but a more in-depth testing might be helpful there. With the rollout of Safari 10 and webcomponent v1 support those bugs will hopefully belong to the past ;)
Same here
The codelab doesnt fully work for Safari 9 on mac Showing some errors on Inspect Elements
Having the same issue. The project renders differently between polymer serve and firebase serve. With firebase serve generating more issues.
same issue. I use signInWithEmailAndPassword and auth.createUserWithEmailAndPassword on one project. My project doesn't work on IOS safari.
Same problem here. Both on IOS safari and IOS chrome. Sign in with Google or Facebook doesn't work either.
This may be the iOS 10 javascript core issue described here: https://github.com/webcomponents/webcomponentsjs/issues/617
What's the status of this?