-
Notifications
You must be signed in to change notification settings - Fork 938
Android mobile terminal H5 error... #6456
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
I couldn't figure out how to label this issue, so I've labeled it for a human to triage. Hang tight. |
Hi @HChen318, please follow the issue template including the needed information so we can have a better understanding of the issue. Thanks. |
[REQUIRED] Describe your environment [REQUIRED] Describe the problem |
|
I can't reproduce it on my android phone. |
If we can't reproduce this error, it will be difficult to find the actual cause and fix it. The best we can do is guess. The first error is caused by a failed IndexedDB transaction, probably in the upgrade callback in the core app package, here:
I can try wrapping the only statement in there, the |
I can't reproduce it on my end after messing around with various db versions and trying to force it into an odd state. Can you share anything about your code? How are you importing and initializing app and performance? Are you using performance standalone? Edit: My best guess is that perhaps you have a situation where you're somehow loading 2 versions of firebase/app and they're both trying to open idb at the same time and there's a race condition perhaps? |
ok import { initializeApp } from 'firebase/app' const firebaseConfig = { // Initialize Firebase |
Everything looks correct and I can't reproduce it with a similar setup. I can try to wrap |
ok, I am following |
Hey @HChen318. We need more information to resolve this issue but there hasn't been an update in 5 weekdays. I'm marking the issue as stale and if there are no new updates in the next 5 days I will close it automatically. If you have more information that will help us get to the bottom of this, just add a comment! |
Since there haven't been any recent updates here, I am going to close this issue. @HChen318 if you're still experiencing this problem and want to continue the discussion just leave a comment here and we are happy to re-open this. |
Error 1
FirebaseError
Firebase: Error thrown when reading from storage. Original error: Firebase: Error thrown when opening storage. Original error: Version change transaction was aborted in upgradeneeded event handler.. (app/storage-open).. (app/storage-get).
error code:
throw ERROR_FACTORY.create(AppError.STORAGE_GET, {
originalErrorMessage: (e as Error)?.message
});
Error 2
FirebaseError
Installations: Could not process request. Application offline. (installations/app-offline).
error code:
const registrationPromiseWithError = Promise.reject(
ERROR_FACTORY.create(ErrorCode.APP_OFFLINE)
);
Error 3
FirebaseError
Installations: Could not process request. Application offline. (installations/app-offline).
Error 4
ReferenceError
fetch is not defined
error code:
requiredApisAvailable(): boolean {
if (!fetch || !Promise || !areCookiesEnabled()) {
consoleLogger.info(
'Firebase Performance cannot start if browser does not support fetch and Promise or cookie is disabled.'
);
return false;
}
The text was updated successfully, but these errors were encountered: