I'm trying to set up background and foreround push notifications for a website using Firebase Cloud Messaging, but it doesn't appear to be working on mobile browsers.
I've tested it and it works fine on Firefox and Chromium on macOS, but it doesn't on Firefox and Chrome on Android, and Safari on iOS.
I tried debugging with remote devtools on Chrome and the console says the browser doesn't have the APIs necessary for Firebase Cloud Messaging. I'd understand Firefox and Safari but Chrome is developed by Google so I assumed it'd work with Firebase, so I was wondering if mobile browsers really are unsupported or if I was doing something wrong?
Thanks!
According to the documentation:
The FCM JavaScript API lets you receive notification messages in web
apps running in browsers that support the Push API. This includes the
browser versions listed in this support matrix.
Click the support matrix link to find out which browsers support the Push API.
Related
I'm developing an simples website using html, css/bootstrap and JS. I received feedback by Iphone user that some features not working in IOS mobile. Some Images not loading and counter-up not working too. In windows and android is working fine (chrome and Firefox). The question is, how I create a environment for simulate a IOS mobile for check how safari browser load my site? I tried install safari in windows but it not show equals execution in IOS. I think that browsershots not is a good ideia, because it works only with static content, and in the moment return 500 internal server error.
Microsoft BrowserStack provides a full test environment, however beyond the complimentary trial period it is not free. For errors related to pageload or reference, I would suggest you use device emulation and network throttling in a browser: Safari, Firefox, Chrome.
Some browsers are more forgiving of errors, so you may even have a typo. Is your trustworthy friend using an outdated browser while you require modern feature support? The scope of the problem seems undeserving of a bill for membership or tech support.
I am working on a english learning website. One part of our service are voice recording and grading. We use getUserMedia API to get users voice, and it works fine on PC browsers and iOS safari, however, it couldn't work on iOS Chrome.
In caniuse compatible table, there is no iOS chrome item so I'm not sure is it possible to use this API on iOS chrome. Is there any other methods or APIs to get users voice on iOS chrome?
Unfortunately, you're probably out of luck. iOS keeps very strict limitations on what alternative browsers can do. This means that other iOS browsers like Chrome, Opera, etc. don't have access to many of the native features that Safari has.
Looking for information on compatibility for off-site push notifications on browsers, the following picture emerges:
Most desktop browsers support it, as long as they're somehow open or running in the background
Except Edge, which has Service Workers still under development apparently
Except Safari, of which, so far, there are only rumors that some day Service Worker implementation might be considered (or you can pay USD 100 for the privilege of using their completely non-standard implementation of push notification that has nothing to do with Service Workers)
On Android, Chrome and Firefox support it
On iOS, Safari definitively doesn't support it (same as for Desktop Safari, only worse since it's for "OS X only. Notifications for websites do not appear on iOS.")
However, there are iOS versions of Chrome and Firefox, but they don't seem to be the same codebase as their Desktop/Android browsers.
Firefox for iOS, in particular, According to MDN:
Because of Apple's App Store restrictions, [...] uses the built in
iOS UIWebView on iOS, which is based on WebKit
However, being restricted to using WebKit as rendering engine doesn't necessarily mean it's unable to implement service workers, or Push notification.
In particular, in the Push Notifications page of the Mozilla/Firefox wiki, there is this sentence:
Mobile is targeting Fx45+ to for initial support. Android and iOS will
leverage Google Cloud Messaging (GCM) and Apple Push Notification
Services (APNS) respectively.
Which, of course, sounds more like a declaration of intent or possibility, than of actual implementation.
So, does Push Notification using Service Workers work on Chrome or Firefox for iOS?
Are there plans to make it work on those iOS browsers, even while it doesn't on Safari?
I have developed an Chrome installable app as an extension in Google Chrome and published it on the Chrome Web store.
The app is developed using Html5, AngularJS and Ionic framework . It works well as an extension but does not work on Chrome OS.
Can you please let me know if i am missing something or do i need to do any extra coding for the chrome installable app(extension) to work on a Chrome OS.
A Chrome app and a Chrome extension are different things. Check out this article. A general explanation is that extensions are part of your Chrome browser, hence having fewer UI elements, while a Chrome app is a standalone app that can be independent from your browser (still runs on Chrome though). I don't think it being on a Chromebook makes a difference here.
I'm writing a webpage that's supposed to encourage my users to install my Chrome extension if they haven't already. I have access to the chrome object when the JavaScript runs in Chrome, but not in other browsers like Safari or Internet Explorer. That's all well and good, but I was wondering whether the chrome object exists in mobile Chrome (Chrome for Android or iOS) and whether there is a separate API for those browsers. Thanks!
no, extensions or the .extension apis are currently not supported on mobile chrome.