ANSWERED

Location Service Documentation Discrepancy

Should I use median.android.geoLocation.promptLocationServices() or median.android.geoLocation.promptAndroidLocationServices()? According to the documentation found at <https://median.co/docs/location-services>, it specifies median.android.geoLocation.promptLocationServices(). However, in the NPM package, I see median.android.geoLocation.promptAndroidLocationServices(). Which function should I utilize?
ANSWERED

Location Service not working in Android when user select - Ask Every Time

In the realm of Android, when attempting to retrieve the location, upon granting permission with the option "Ask Every Time" selected, the permission dialog fails to reappear subsequently; it functions only once. Still changes or not reflacted in the NPM package Ref - <https://median.readme.io/discuss/65fb25acd46f1300181984c8>
ANSWERED

Sidebar menu blank

``` function median_library_ready() { let sidebarItems = [{ label: "Google", url: "https://google.com", icon: "fas fa-cog" }]; alert('library ready called'); // To prove code runs window.median.sidebar.setItems({"items": sidebarItems, "enabled": true}); } ``` I use the above code based on the sample to try to set the sidebar menu items at runtime. I can see from the alert() that the code runs when page is loaded. But the side-menu is always blank - it shows the app icon, but none of the menu item(s). The design-time menu list is blank. If I add design-time menu items, they show up fine. But it is like the setItems() call is ignored. Whatever is set for the design time list is always displayed for the menu, with setItems() having no apparent effect at all. Is there something else I need to do to set the sidebar menu items?
ANSWERED

Location Service not working in Android when user select - Ask Every Time

In the realm of Android, when attempting to retrieve the location, upon granting permission with the option "Ask Every Time" selected, the permission dialog fails to reappear subsequently; it functions only once.
ANSWERED

Location Services on iOS

Some users refuse to grant access to their location. After denial, the call to 'navigator.geolocation.getCurrentPosition' hang, even when a timeout is configured. Xcode displays the following error: Domain=kCLErrorDomain Code=1. Is there a way to avoid this hang? Thanks!
ANSWERED

It does not appear in the Google Sign in Configuration application

Hello, I created an application and the application is now in the Play Store I created a login via Google Sign in Configuration and it works perfectly on the site But Google Sign-in Configuration In the application, it does not appear at all. For your information, I signed the application and it was verified What is the problem? Is it yours or do I have to wait after signing the application for it to appear?
ANSWERED

Get current permissions enabled

Is there a way to know if the user enabled notifications permission with the median library?
ANSWERED

console.log not working

According to documentation here <https://median.co/docs/development-tools>, the simulator should display console.log message. However console.logs are not being displayed in the "appetize" debug logs on the simulator in your app studio. We're trying to debug an issue with downloading files using the median-js-bridge, but it's making it very hard without any real debugging capabilities. Also, when running this example page here <https://median.co/docs/development-tools>, the same occurs on both IOS and Android.
ANSWERED

CSS on Android slow

Hi there I currently have the issue with the CSS on Android loading really slow hence the elements are not hidden fast enough and I will still see the Navbar and footer. I've read the docs and previous questions and also tried to include a JS right at the top of the page to hide elements with JS if they match the user agent. This still seems to be to slow. How could we improve it? Is there something we missing? Or for what should we look after on our page to speed up the loading, any improvements with blocking / delaying certain parts? Thank you
ANSWERED

Native App Install Prompt

Does median support the Native App Install Prompt? Is there an example or do I need to do this myself in Javascript? <https://developer.chrome.com/blog/app-install-banners-native/> If a user opens my website on their phone, and the app is not installed, it has a native dialog prompt to "Open MyApp in..." Like this: <https://imgur.com/a/U9zBnyW>