Questions
Keep screen on functionality throwing an error on Android
We're using median.screen.keepScreenOn() and median.screen.keepScreenNormal() to control the screen backlight (doc) and on iOS it works fine, however on Android when calling these functions via the JS bridge, it throws an error:
Uncaught TypeError: median.screen.keepScreenOn is not a function
Payment Page on seperate domain not taking visitor to thank you page after payment made
Website Platform - WordPress
Payment Gateway - CashFlow
Location Service Documentation Discrepancy
Should I use median.android.geoLocation.promptLocationServices() or median.android.geoLocation.promptAndroidLocationServices()?
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.
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});
}
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.
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!
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?
Get current permissions enabled
Is there a way to know if the user enabled notifications permission with the median library?
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.