I'm trying to use firebase for first time but the console isn't opening through my google chrome or firefox. I tried to open console through my mobile it opens but not from laptop.
Open firebase site in chrome, then click to inspect option and switch to mobile emulator, and reload the webpage, now you will able to see firebase home page...!
Exit the mobile emulator to see full page.
see this image for mobile emulator option
Make sure you haven't logged in on another device.
Related
I am using Firebase Dynamic Link in my app and am seeing issues when they are opened from iOS Safari as an URL.
-Expected behavior: The link leads to the app preview page, where the user can click on the link that will redirect to the app.
-Actual behavior: The link tries to open the preview page initially but loads the website even when the app is installed.
-The issue happens for both actual devices and simulators.
-The link works fine when opened from iOS Chrome as an URL, other iOS apps, and for all scenarios in Android devices/emulators.
I did my research but could find the exact same case as mine. Can someone tell me what might be the issue here so that I can investigate further?
Here is the Firebase Dynamic Link debugger result:
Here are the apple-app-site-association parameters:
{"applinks":{"apps":[],"details":[{"appID":"####.***.****","paths":["NOT /_/*","/*"]}]}}
Can someone help out? Thanks!
For those who might run into a similar issue, I resolved this by disabling forced redirects in the link parameter. Somehow mobile Safari was force redirecting to the website, not the app.
Initial load renders all content perfectly and then on the 2nd or 3rd reload (this is random - I've tested this numerous times) it won't display anything on the page except for the nav bar but all the source code loads fine when checking with dev tools and also does not show any errors.
Works fine in Chrome desktop browsers and Firefox desktop browsers - in media view and desktop view.
Doesn't reload on Safari desktop.
Doesn't reload on the following media devices: Android phones, iphone, ipad with Chrome incognito browser and Safari browser.
I am debugging remotely with one of my android devices and I don't see any errors in dev tools and all the source code loads on each reload.
This is hosted on an AWS ec2 instance.
I cannot figure out how and where I need to debug. Any tips/advice is much appreciated!!
Sorry I can't upload image of code or url because this webpage includes info for a live product feature that has not been released to the public yet.
Thank you!!
I am in trouble with the operation of Progressive Web Apps.
First, I pressed "Add to Home Screen" on the web, added the application to the home screen, and gave permission for push notification.
After that, I uninstalled Progressive Web Apps from the home screen, I expected that the notification will not arrive, but in fact it gets notified.
Can I detect uninstallation and reject push notifications?
I tried searching including the following site.
For example, but there is nothing expected of event or status.
Although it is an attachment of the home screen after uninstallation,
A Google Chrome icon is displayed in the notification bar.
home screen image
Based on your comment in response to the other answer, I figure you are building a progressive web app and want to implement this feature (turning off notifications on removal from the home screen) in your own PWA?
Currently (October 2017) there is no way for a PWA to detect if a user has removed it from their home screen. There is a way for the PWA to detect if it is uninstalled (as in the service worker is removed from the browser all together) but that is something totally different. You aren't uninstalling the PWA when you remove it from the home screen, you're just removing a shortcut. The PWA is still installed in the user's browser. They could still manually visit the site and your PWA would still be working.
Maybe this will become a feature in the future. For right now there isn't even a way to create a hack that would help.
If you navigate to the web app in question using Chrome for Android, either directly or by tapping on a notification, you can manually adjust its permissions by tapping on the "Lock" icon next to the location bar, then choosing "SITE SETTINGS", and then making changes there.
The specific steps to do this would vary if you're using a browser other than Chrome.
A friend has two google accounts and one chromebook. Neither google account will display the app page on the chromebook. Prolly not helpful, but included is a screen capture of the message.
screen capture showing the app page error message
Logging into any other computer properly displays the app page. Logging out and in on the chromebook doesn't change things. Clearing cache on the chromebook doesn't help. No joy.
I've asked him to check his proxy settings, and to have a friend try yet a different google account.
I have a problem with the firebase.auth().signInWithPopup() function it works perfectly in the browser but on a real mobile device its not working at all. The popup opens for a quick second but then quickly closes. I think the problem might be with the OAuth redirect domains settings, because a device dosen't have a domain name. Does any of you have a solution for this ?
Currently Firebase v3 dosen't support firebase.auth().signInWithPopup() and firebase.auth().signInWithRedirect() on mobile devices until then the solution is to use firebase.auth().signInWithCredential().