Last Updated: Nov 12, 2024
Overview
The application throws the below error about no browser compatible or installed:
a0.browser_not_available: No compatible Browser application is installed… Error thrown null.
Depending on the SDK, there could be other symptoms.
Flutter complete error log:
Non-fatal Exception: io.flutter.plugins.firebase.crashlytics.FlutterError
a0.browser_not_available: No compatible Browser application is installed… Error thrown null.
MethodChannelAuth0FlutterWebAuth.invokeRequest (method_channel_auth0_flutter_web_auth.dart:45)
MethodChannelAuth0FlutterWebAuth.login (method_channel_auth0_flutter_web_auth.dart:21)
WebAuthentication.login (web_authentication.dart:61)
Auth0ServiceNew.performSignIn (auth0_service_new.dart:50)
Applies To
- Android SDK
Cause
When the user tries to log in or out, the SDK opens a browser tab to call the Auth0 login/logout API endpoint (a URL). If the SDK can’t find a browser to open the URL, the “a0.browser_not_available” error is thrown.
We do not have visibility to this information because the error occurs on the user’s device, and the SDK does not report errors to Auth0. We can only investigate the errors on the Auth0 server side (for example, an API call to Auth0 that fails).
Solution
These errors are far from our reach because they require some action taken by end-users. To fix this, the user must ensure they have a browser installed on their Android device and that the app has access to it.
We could suggest our customer this helpful guideline to share with their users to help them troubleshoot the issue:
To resolve this issue, try the following steps:
- Check to see if a compatible browser application is installed on the device. If not, install one such as Google Chrome, Mozilla Firefox, or Microsoft Edge.
- If a compatible browser has already been installed, try clearing the cache and data of the browser application.
- Try restarting the device to clear any temporary system files that could be causing the issue.
- If the issue persists, try uninstalling and reinstalling the application, making sure to grant any necessary permissions during the installation process.
- If none of the above steps work, contact us for further assistance.