FG

Google

75 verified issues

๐Ÿ“ฑ Mobile & Cross-PlatformGoogle
Freshabout 20 hours ago

Android crash: Fatal Exception: java.lang.RuntimeException java.util.concurrent.ExecutionException: java.lang.UnsatisfiedLinkError: dalvik.system.PathClassLoader[DexPathList[[zip file "/system/framework/android.test.runner.jar", zip file "/system/framewor

2024 Overview: The root of this issue for most all flutter customers is that your app is running on physical android hardware that flutter does not support. The "fix" is to not ship your app to devices where flutter cannot run. For most users this means using gradle to indicate to Google Play that your app can run on a subset of all android supported hardware architectures. Flutter did not include abi filtering in `flutter create` until https://github.com/flutter/flutter/pull/135529/. Add to app flutter customers may not want to add abi filtering and instead may choose to check the hardware before exposing screens using flutter. Original issue: We have seen this crash a number of times in the wild from crashlytics. [code block] [code block] [code block] [code block] Steps to Reproduce I'm unsure exactly how to reproduce as it seems to happen randomly to some users at startup. The only device reported affected in crashlytics: Model:GCE x86 phone - Android 9 Expected results: Actual results: <details> <summary>Logs</summary> [code block] [code block] [code block] </details>

Confidence95%
95%
Candidate Fix
2 fixes
๐Ÿ“ฑ Mobile & Cross-PlatformGoogle
Freshabout 20 hours ago

Google native ads integrated into a Flutter widget tree

This comment discusses the different ways we are considering addressing this issue, and provides links to more specific issues that cover specific steps towards this issue: https://github.com/flutter/flutter/issues/12114#issuecomment-505633342 We are working on some of these today. Please see the individual bugs for details. ---- Both Firebase (AdMob) and Facebook support a "Native Ads" format: https://developers.google.com/admob/android/native https://developers.facebook.com/docs/audience-network/native-ads/ Native ads are rendered inline with the app's content, with rendering and formatting (colors, fonts) controlled by the app itself.

Confidence95%
95%
Candidate Fix
1 fix
๐Ÿ”Œ APIs & SDKsGoogle
Freshabout 19 hours ago

FR: Firestore OR operator in WHERE query

[REQUIRED] Describe your environment Operating System version: N/A Firebase SDK version: 4.6.2 * Firebase Product: firestore [REQUIRED] Describe the problem Rather than having to make several separate queries I would like to see an OR operator for the WHERE query in Firestore. This is something that is currently available in MongoDB or with the $or operator here. Relevant Code: The query could look something like this: [code block] or better yet [code block]

Confidence95%
95%
Candidate Fix
1 fix
๐Ÿ”Œ APIs & SDKsGoogle
Freshabout 20 hours ago

Firebase Auth is no longer working in incognito mode

[REQUIRED] Describe your environment Operating System version: Windows 10 Browser version: Version 81.0.4044.129 (Official Build) (64-bit) Firebase SDK version: 7.13.1 Firebase Product: auth [REQUIRED] Describe the problem Multiple of our users has reported, they are no longer able to login and use our product... After some investigation, it seems to happen for all the users, which accesses our platform in incognito mode. It seems to no longer be possible to use the firebase auth SDK in Google Incognito mode. The exact same users can log in with the exact same credentials or SSO integrations through firebase in non-incognito. Steps to reproduce: If users try to use firebase authentication on our platform in incognito mode, the error: `{code: "auth/web-storage-unsupported", message: "This browser is not supported or 3rd party cookies and data may be disabled.", a: null}` is thrown from the SDK. I believe it potentially can be an issue in a newer Chrome update, as I know Google has been experimenting with having Chrome block 3rd Party Cookies (I believe they experimented with it in version 83 of Chrome, which I am not using though).

Confidence95%
95%
Candidate Fix
1 fix
๐Ÿ“ฑ Mobile & Cross-PlatformGoogle
Freshabout 20 hours ago

Enable "hot reload" (not just "hot restart") for Flutter Web

Latest update: https://github.com/flutter/flutter/issues/53041#issuecomment-1367615679 ---- Hello! Trying the web development currently in beta version. actually quite satisfied as the browser reloads very quick. Only annoying thing is that the hot restart doesn't work properly, imho. Please check on this. Best Regards, Jakob P.S.: Hope this is enough information - First time opening an issue here :) Steps to Reproduce 1. Setup flutter project for web development 2. Run `flutter run -d Chrome` 3. Navigate to a view != main view 4. hot restart (small 'r') without browser refresh (like it should do with capital 'R') Expected results: Browser should reload, but stay on the same view Actual results: Browser fully restarts the app --> Again at the main view

Confidence95%
95%
Candidate Fix
2 fixes
๐Ÿ“ฑ Mobile & Cross-PlatformGoogle
Freshabout 20 hours ago

[image_picker] losing connection with device

I am trying to use image_picker^0.6.1+11 to capture images from camera as the source it works fine for the first time but when I try to retake the image the app crashes with a log lost connection to the device without any exception or error. UseCase: I want to capture three images from camera and view them in an imageview. I have tested the app on the latest flutter master and stable channels but has same issue here's my [code block] output [code block] Steps to Reproduce pubspec.yaml [code block] 1. example from image_picker:https://pub.dev/packages/image_picker 2. capture a image 3. re capture the image it crashes Logs [code block]

Confidence95%
95%
Candidate Fix
1 fix
๐Ÿ”Œ APIs & SDKsGoogle
Freshabout 20 hours ago

Login to Firebase does not work on Safari 16.1+

Describe your environment Operating System version: Mac OS 12.6 Browser version: Safari 16.1 Firebase SDK version: 9.10.0 Firebase Product: auth Describe the problem Steps to reproduce: Try logging in to a site using `signInWithRedirect`. Notably it redirects back to the site without an error, and does not log the user in. Checking `getRedirectResult` returns a null user. This seems like a severe issue as iOS 16.1 will be released next week and presumably this issue will affect all those iOS users. Notably there seems to be a workaround of using `signInWithPopup`. It seems to work for us, though it is unclear why. Relevant Code: [code block]

Confidence95%
95%
Candidate Fix
1 fix
๐Ÿ“ฑ Mobile & Cross-PlatformGoogle
Freshabout 19 hours ago

Inline Google Maps support

<a href="https://github.com/Hixie"><img src="https://avatars.githubusercontent.com/u/551196?v=3" align="left" width="96" height="96" hspace="10"></img></a> Issue by Hixie _Thursday Jul 16, 2015 at 22:26 GMT_ _Originally opened as https://github.com/flutter/engine/issues/30_ --- _From @collinjackson on July 8, 2015 20:23_ We are going to want to have support for maps in Sky. There are a few ways we might go about doing this: 1. Use native maps widget for each platform to render the map 2. Use maps widget for each platform to render to a texture and draw the map ourselves 3. Develop a custom maps SDK for Sky The second option would be ideal but may not be possible. We should investigate which approach is best and build a demo app. _Copied from original issue: domokit/mojo#310_

Confidence95%
95%
Candidate Fix
1 fix
๐Ÿ“ฑ Mobile & Cross-PlatformGoogle
Freshabout 19 hours ago

Embedded Android views can't bring up the keyboard

To make sure that Flutter can always bring up the keyboard I made the window of virtual display's presentation non focusable. As a result the embedded Android views cannot bring up the keyboard. We should figure out if there's some window trickery we can do to let the unfocused window bring up the keyboard. Alternatively see if it's possible to dynamically select the focused window when delivering input events.

Confidence95%
95%
Candidate Fix
1 fix
๐Ÿ“ฑ Mobile & Cross-PlatformGoogle
Freshabout 20 hours ago

Observatory port timeout on iOS

I'm unable to debug a freshly created app on physical iOS devices when pubspec dependencies reach a certain size, because it causes the "waiting for observatory port" step to timeout after 30 seconds. Devices tested: iPhone 8 iPhone 12 iPhone 12 Pro iOS versions tested: 14.2 14.2.1 14.3 Xcode versions tested: 12.2 12.3 Tests run using MacOS Catalina 10.15.7 on a late 2019 MBP 16". Simply commenting out random pubspec dependencies from the below, cleaning and rebuilding allows debugging to attach - sometimes just barely, at the 28 second or 29 second mark. Here's a triggering pubspec: [code block]

Confidence95%
95%
Candidate Fix
1 fix
๐Ÿ”Œ APIs & SDKsGoogle
Freshabout 20 hours ago

Firestore import - Bundle size is huge

import firebase from '@firebase/app'; import '@firebase/firestore'; // this one is very very huge. I am using only firestore in my app. How to reduce the bundle size of firestore?

Confidence95%
95%
Candidate Fix
1 fix
๐Ÿ“ฑ Mobile & Cross-PlatformGoogle
Freshabout 19 hours ago

Support app bundles with 32-bit and 64-bit binaries within them

>Warning > >This release is not compliant with the Play 64-bit requirement. > >The following APKs or App Bundles are available to 64-bit devices, but they have only 32-bit native code: {version code}. > >From August 1, 2019 all releases must be compliant with the Play 64-bit requirement. > >Include 64-bit native code in addition to 32-bit native code in your app. Use the Android App Bundle publishing format to automatically ensure that each device architecture receives just the native code it needs. Learn More This warning appears when trying to publish an `aab` created by `flutter build appbundle` to the Play Store since today. Is this something that I need to worry about or will Flutter automatically resolve this, i.e. is this already planned to be resolved in time?

Confidence95%
95%
Candidate Fix
1 fix
๐Ÿ”Œ APIs & SDKsGoogle
Freshabout 19 hours ago

Typescript definition file

Could you include the d.ts file in this client distribution?

Confidence95%
95%
Candidate Fix
1 fix
๐Ÿ”Œ APIs & SDKsGoogle
Freshabout 19 hours ago

Setting a timer for a long period of time, i.e. multiple minutes

I want to use firebase auth with react native for Login and Signup but I got a yellow error: Setting a timer for a long period of time, i.e. multiple minutes, is a performance and correctness issue on Android as it keeps the timer module awake, and timers can only be called when the app is in the foreground. See (https://github.com/facebook/react-native/issues/12981) for more info. (Saw setTimeout with duration 111862ms) How Can I Fix That? I don't want to ignore that, I want to understand this error and solve that with the best and Standard way. And This is my Code: [code block] I Asked From Stackoverflow too, Link

Confidence95%
95%
Candidate Fix
1 fix
๐Ÿ“ฑ Mobile & Cross-PlatformGoogle
Freshabout 19 hours ago

Consider JSX-like as React Native

For code that builds a UI has to be readable. I understand that Dart is kind of like a simple version of Java, but it is not really a programming language for building a UI. For example, it doesn't have a closing tag. As a result, It is very hard to build a picture in mind with this unreadable code. Moreover, Flutter was inspired by React. How can Flutter doesn't have JSX but has this kind of unreadable code? I am very scared that Flutter is going to die very soon as the early days of AnglurJs. I understand people who work in Google are smart, but we also have some people who are not really smart choose React instead of Dart, and this is one of the reasons why Dart was dead in the past.

Confidence95%
95%
Candidate Fix
1 fix
๐Ÿ“ฑ Mobile & Cross-PlatformGoogle
Freshabout 20 hours ago

Design a new vector file format

Latest update: https://github.com/flutter/flutter/issues/1831#issuecomment-1012654670 ---- From earlier discussion, some important considerations are: - We don't want full SVG support. There is too much in the spec that is expensive, heavyweight, and/or duplicates what we already have in Flutter. - We should emphasize in our supported format those operations are effective/efficient/optimized in our graphics engine (Skia). - We may want to process the format at build time rather than support a full run-time interpreter.

Confidence95%
95%
Candidate Fix
1 fix
๐Ÿ“ฑ Mobile & Cross-PlatformGoogle
Freshabout 19 hours ago

Need to restart or flutter clean too often

--- --- --- The following note was added by @tvolkert on Oct 16, 2018 If you are affected by this bug, please fill out the following form! https://goo.gl/forms/eFPT6A3jAD8clU4o2 (Survey to gather information about this bug) --- --- --- Steps to Reproduce When I (or one of my teammates) run flutter `flutter run` (or with the run/debug button on IntelliJ and VSCode) on an AVD or on real devices, the installed version is always behind the newest one and I always need to restart the app or even sometimes `flutter clean`. This is a problem especially when the build on the AVD/real device crashes, and the only solution here is to `flutter clean`, even when I stop the app running and do `flutter run` again. The same happens when building and installing production APKs: When I run `flutter build` and `flutter install`, the installed APK isn't updated. If I run flutter clean, and next, again, `flutter build` and `flutter install`, the installed APK is up-to-date. Flutter Doctor: [code block]

Confidence95%
95%
Candidate Fix
1 fix
๐Ÿ”Œ APIs & SDKsGoogle
Freshabout 19 hours ago

Google as an Auth provider doesn't work on iOS saved to homescreen

[REQUIRED] Describe your environment Operating System version: iOS 10 Firebase SDK version: 4.1.3 Firebase Product: auth [REQUIRED] Describe the problem Steps to reproduce: 0. Save the app on the homescreen on iOS 1. make a redirect or popup login with google Auth provider 2. if redirect: - webview is not a "valid user agent" 3. if popup: - gets stuck in Safari about:blank, doesn't open the app again to pass on the token Relevant Code: [code block]

Confidence91%
91%
Candidate Fix
1 fix
๐Ÿ”Œ APIs & SDKsGoogle
Freshover 6 years ago

AsyncQueue is already failed: The transaction was aborted, so the request cannot be fulfilled.

Describe your environment Operating System version: Android, so the version varies Browser version: Usually latest Chrome (73.0.3683.90) Firebase SDK version: 5.9.3 Firebase Product: Firestore Describe the problem We're seeing the following error more and more lately (via our error reporting service): [code block] This error is of a critical nature, as it entirely breaks the DB layer. ~~Data stops getting written to the database, and it can be somewhat difficult to detect when the DB gets into this state, as the error is only thrown once. You can then call all the DB functions, and everything appears to work as normal, except no data ends up in the cloud (nor the persistence layer).~~ (This was incorrect. Our error collection service just aggregated the data) Steps to reproduce: Apologies, but it's entirely periodic. It could be related to IndexedDB reaching a certain size, as clearing it out seems to postpone the problem for a few weeks. I have no theories as to what causes the "transaction to be aborted". We were hoping the new garbage collection feature would take care of the problem, but so far it doesn't seem like it. The devices running this are of the model "Samsung T580". Any other info you need, let me know.

Confidence89%
89%
Candidate Fix
1 fixโœ“ 1 verified
๐Ÿ”Œ APIs & SDKsGoogle
Freshalmost 6 years ago

Error when uploading Youtube video using Electron : Invalid multipart request with 0 mime parts.

This is related to https://github.com/googleapis/google-api-nodejs-client/issues/1083 It seems with the latest versions of googleapis the package switched from using axios to gaxios - this has caused this error to resurface when using the example code on an Electron app. How should this be handled? Environment details - OS: osx - Node.js version: v12.12.0 - npm version: 6.13.0 - `googleapis` version: "googleapis": "^45.0.0", Steps to reproduce 1. Use code from samples/youtube/upload.js inside Electron app 2. Receive `Invalid multipart request with 0 mime parts.` error upon request

Confidence88%
88%
Candidate Fix
1 fixโœ“ 1 verified
๐Ÿ”Œ APIs & SDKsGoogle
Freshover 11 years ago

Promise support

Suggested by this tweet by @rayshan. Starting the conversation here about promise support.

Confidence87%
87%
โœ“ Verified Fix Available
1 fixโœ“ 3 verified
๐Ÿ”Œ APIs & SDKsGoogle
Freshover 9 years ago

Failed to export a file using drive API

I am using: - googleapis@12.3.0 - node@4.3.2 I was trying to download a spreadsheet using Drive API v3 like this: [code block] Resulting file was corrupted. Same situation with 'application/pdf' - I could not open them. After some investigation, I noticed that node-request module downloads data as string (decoded as utf8) by default unless you specify encoding option set to `null`. (what I am downloading here are binary files!) [code block] By adding a line in drive.files.export() function like below, I was able to download the file successfully: [code block] I am aware this file is generated with swig, and probably other methods (like drive.files.get with "alt" set to "media" for binary data) are suffering from the same problem, I do not have sufficient knowledge to propose most effective solution to this. I hope some one could come up with a good idea to this problem.

Confidence86%
86%
Candidate Fix
1 fixโœ“ 1 verified
๐Ÿ“ฑ Mobile & Cross-PlatformGoogle
Freshover 2 years ago

Automatic/scalable shader warm-up

Current status: https://github.com/flutter/flutter/issues/32170#issuecomment-1016927129 ---- Although Flutter's current [shader warm-up][1] process is theoretically able to eliminate all shader compilation jank, it requires too much expertise and time to find all draw operations for such process. We shall find a more automatic and scalable way of finding those draw operations to compose a custom warm-up process. That should allow average developers without much Skia knowledge to eliminate the shader compilation on their own. That should also save Flutter engineers a lot of time as they'll no longer have to manually analyze the janky frame. Note that this issue affects iOS devices more significantly than Android devices because Android has binary shader persistent cache while iOS doesn't. We have a staged plan to roll this out, and we're actively working on it. - [x] SkSL-based shader warmup - [ ] Test-based shader warmup - [ ] In the long term, we'd like to create a solution that requires 0 extra effort from developers, and handles all cases that may have never been encountered during any tests or warmups. For example, use the CPU backend when GPU backend needs warm-up. Related issue: flutter/flutter#813, flutter/flutter#31881 [1]: https://api.flutter.dev/flutter/painting/ShaderWarmUp-class.html

Confidence86%
86%
Candidate Fix
1 fixโœ“ 1 verified
๐Ÿ”Œ APIs & SDKsGoogle
Freshalmost 12 years ago

Server key authentication

How can I authenticate providing a server key?

Confidence86%
86%
Candidate Fix
1 fixโœ“ 1 verified
๐Ÿ“ฑ Mobile & Cross-PlatformGoogle
Fresh6 months ago

[shared_preferences] Android exception: `Unable to establish connection on channel: "dev.flutter.pigeon.shared_preferences_android.SharedPreferencesApi.getAll"`

Long explanation of what is happening https://github.com/flutter/flutter/issues/153075#issuecomment-3313363609 TLDR: Update your Android Gradle Plugin version to 8.9.1 or higher and ensure that all of your android plugins are using at least AGP 8.9.1 or higher. If you have a reproduction that is using AGP 8.9.1 and higher for an app and all of its plugins please add a comment with your reproduction. Steps to reproduce 1. Use old api of shared preferences. 2. Build the app. Expected results It should work with old api of shared preferences. Actual results Getting exception as below Unhandled Exception: PlatformException(channel-error, Unable to establish connection on channel: "dev.flutter.pigeon.shared_preferences_android.SharedPreferencesApi.getAll"., null, null) Code sample <details open><summary>Code sample</summary> [code block] </details> Screenshots or Video <details open> <summary>Screenshots / Video demonstration</summary> [Upload media here] </details> Logs <details open><summary>Logs</summary> [code block] </details> Flutter Doctor output <details open><summary>Doctor output</summary> [code block] </details>

Confidence86%
86%
Candidate Fix
1 fixโœ“ 1 verified
๐Ÿ”Œ APIs & SDKsGoogle
Freshabout 19 hours ago

Firebase on React Native should import AsyncStorage from @react-native-community/async-storage

Describe your environment Operating System version: React Native 0.59 Browser version: iOS, Android Firebase SDK version: 6.1.0 Firebase Product: auth Describe the problem When using Firebase on React Native, it uses AsyncStorage from `react-native` under the hood to store the authentication session across app restarts. Starting from RN0.59 AsyncStorage is deprecated from `react-native` and moved into its own package `react-native-async-storage`. Steps to reproduce: Add Firebase to React Native app and observe how at the startup there's a warning: [code block] Relevant Code: https://github.com/firebase/firebase-js-sdk/blob/96ab56bac05ccaf506ed3a02ccad5ff7e01a07d0/packages/app/index.rn.ts#L27

Confidence85%
85%
Candidate Fix
1 fix
๐Ÿ”Œ APIs & SDKsGoogle
Freshover 3 years ago

Could not reach Cloud Firestore backend after upgrading to v9, but only in some projects

[REQUIRED] Describe your environment Operating System version: Windows 10 Browser version: Chrome 97 Firebase SDK version: 9.6.5 * Firebase Product: Firestore [REQUIRED] Describe the problem After upgrading to Firebase v9 from v8, I'm encountering the following error in 2 of 4 environments: [code block] Here are the environments and results: GCP Project ID | GCP Firestore Region | After upgrading to v9 -- | -- | -- Firebase Emulator | None (local) | Works fine {project}-dev | us-central | Works fine {project}-prod | us-central | Could not reach Cloud Firestore backend {project}-prod-ca | northamerica-northeast1 | Could not reach Cloud Firestore backend The code in all 4 environments are identical and the CI/CD pipeline for the 3 GCP projects are identical. It's particularly noteworthy that `{project}-dev` works fine while `{project}-prod` and `{project}-prod-ca` don't. Steps to reproduce: To see the results, I created these 2 test pages. They both use SDK v9: {project}-dev: https://student-dev.examind.io/firestore {project}-prod-ca: https://student-ca.examind.io/firestore You will notice that `{project}-dev` loads firestore data just fine, while `{project}-prod-ca` doesn't and outputs this to the console after 10 seconds: There are a couple of related issues (https://github.com/firebase/firebase-js-sdk/issues/5667, https://github.com/firebase/firebase-js-sdk/issues/5932), but seeing different results in different projects with the same codebase may be a

Confidence85%
85%
Candidate Fix
1 fixโœ“ 2 verified
๐Ÿ”Œ APIs & SDKsGoogle
Freshover 9 years ago

Refresh token automatically on HTTP 401 or 403 response?

I'm using the API (v1.0.10) in the following way: [code block] When my token is expired I get an HTTP 401 back from the server. However, I'd expect the library to automatically refresh my token and make the request again. It doesn't. I figured out that a workaround is to add the `expiry_date` when calling setCredentials, e.g. [code block] But this isn't mentioned in the docs. I'd expect `expiry_date` to be optional and the API to auto refresh the token.

Confidence85%
85%
Candidate Fix
1 fixโœ“ 2 verified
๐Ÿ”Œ APIs & SDKsGoogle
Fresh5 months ago

Kaspersky antivirus breaks Firestore ("Could not reach Cloud Firestore backend.")

UPDATE [by @mikelehen 2018/10/21]: This issue has morphed into specifically being about the Kaspersky antivirus software blocking Firestore. Please open a separate bug if you're encountering issues without Kaspersky. Environment Operating System version: Windows 10 Browser version: Chrome 68.0.3440.106 Firebase SDK version: 5.4.2 Firebase Product: store Problem Im using Firestore with Ionic (Angularfire2 package). Any collection or doc gives error but after ~10 seconds it gives data. Auth works without any problems. Error: [code block] Created new Firebase Project and new Ionic project, installed packages, tried to make collection, shows same error. [code block] The code im trying to run: [code block] And the console output: [code block]

Confidence84%
84%
โœ“ Verified Fix Available
1 fixโœ“ 3 verified
๐Ÿ“ฑ Mobile & Cross-PlatformGoogle
Freshover 6 years ago

Support APKs with 32-bit and 64-bit binaries within them

using `flutter build apk --release --flavor pro ` make apk file , but arm64-v8a do not include libflutter.so file.so app launch fail. when I add `--target-platform=android-arm64 `: `flutter build apk --release --flavor pro --target-platform=android-arm64`,apk file include so flie. But app launch fail on 32 bit cpu. what can i do, apk file can run on 64 and 32 cpu @mravn-google [code block] I create new project, debug or releas, work well. diffrece from new project from my project is that i add thrid party `so` file where is the problem ?

Confidence80%
80%
โœ“ Verified Fix Available
1 fixโœ“ 9 verified
๐Ÿ”Œ APIs & SDKsGoogle
Freshalmost 8 years ago

React Native: Error: @firebase/firestore: ", "Firestore(4.10.1): Could not reach Firestore backend "

[REQUIRED] Describe your environment Operating System version: IOS (React Native), Android (React Native) Firebase SDK version: 4.12.0 Firebase Product: Firestore > Error: @firebase/firestore: ", "Firestore(4.10.1): Could not reach Firestore backend " Steps to reproduce: Add npm install firebase@4.12.0 --save to the react native project Add the code below to the project Nothing is happening (collections and documents were not created) Relevant Code: [code block] <img width="421" alt="screen shot 2018-04-05 at 15 50 21" src="https://user-images.githubusercontent.com/10096433/38366636-1bed5338-38e9-11e8-8018-f4274cd01fe3.png">

Confidence80%
80%
โœ“ Verified Fix Available
1 fixโœ“ 4 verified
๐Ÿ”Œ APIs & SDKsGoogle
Freshabout 4 years ago

FR: Firestore offline persistence in web workers

Operating System version: n/a Browser version: n/a Firebase SDK version: n/a Firebase Product: firestore Are there any plans to make offline persistence available in web workers? Inspired by @davideast 's article I dropped 95% of my Firebase bundle size using this one weird trick to use firebase in a worker, I've noticed offline persistence isn't available in that context. Browsing the source, I suspect it's the reliance on (and absence in workers of) localStorage that's the issue - so I was wondering if there's any alternative to using synchronous storage in this case? Thanks.

Confidence80%
80%
โœ“ Verified Fix Available
1 fixโœ“ 4 verified
๐Ÿ“ฑ Mobile & Cross-PlatformGoogle
Freshover 7 years ago

Consider JSX-like syntax inside dart code

It would be great if aside from the current way of building widgets you could add JSX like capabilities. I mean add tiny syntactic sugar to enable XML like constructs inside dart code. It just makes code so much easier to read/develop/debug/maintain and also easier for powerful GUI builders to integrate with editable code. Looking for something like DSX: https://spark-heroku-dsx.herokuapp.com/index.html Carlos. --- The current issue with DSX is about proper integration with Flutter tools as to provide a great developer experience with debugger, auto-complete, etc. working on .dsx files. Telling users that they can use DSX but can't use debugger or enjoy auto-complete is a non starter for me. If anybody wants to help, what I need is to figure out a way to add full preprocessing support (with source map) to Dart Tools and VS Code Dart plug in. Once the tools support that DSX or any other transpiling language (any language that is a superset of Dart but compiles everything down to Dart) would just work. If you can and would like to help, let me know.

Confidence80%
80%
โœ“ Verified Fix Available
1 fixโœ“ 8 verified
๐Ÿ“ฑ Mobile & Cross-PlatformGoogle
Freshalmost 3 years ago

Screen flickering on iOS since Flutter 2.10.0

App screen flickers and freezes, when I restart it, it goes away. This happened after upgrading to flutter 2.10.0, it doesn't always happen. https://user-images.githubusercontent.com/19810700/159396407-ea553089-e4c3-4f0e-b709-d169cbefed7f.MOV [code block]

Confidence80%
80%
โœ“ Verified Fix Available
1 fixโœ“ 4 verified
๐Ÿ“ฑ Mobile & Cross-PlatformGoogle
Freshalmost 7 years ago

Android Platform Tools 29: Error retrieving device properties for ro.product.cpu.abi:

When I try to run my app in an emulator in Android Studio I get the following error. I have to say that it worked before and stopped working after some updates of SDK to v.29. Is there something I have to change now? Reinstall of android studio and flutter did not work, I tried to kill and restart adb server and disabling heap protection. nothing worked [code block] Steps to Reproduce 1. Install the latest version of android studio beta on windows (platform tools 29 will be installed) Logs [code block] [code block] This did not work: #16865

Confidence80%
80%
โœ“ Verified Fix Available
1 fixโœ“ 10 verified
๐Ÿ“ฑ Mobile & Cross-PlatformGoogle
Freshabout 1 year ago

โ˜‚๏ธ Intent to deprecate and remove the HTML renderer in Flutter Web

Document Link https://flutter.dev/go/deprecate-html-renderer What problem are you solving? The HTML renderer is complex, underperforming, and limited in graphical expressivity compared to WebGL-based CanvasKit and Skwasm renderers. Flutter Webโ€™s WebGL-based renderers matured to a point where the value provided by the HTML renderer no longer outweighs the maintenance costs, the developer-facing complexity (having to choose between multiple renderers and work around their limitations), and loss of focus on the WebGL renderers. See the document for an expanded problem statement. Tasks The following tasks need to be completed before we begin the deprecation process: - [x] https://github.com/flutter/flutter/issues/113713 - [x] https://github.com/flutter/flutter/issues/151911 - [x] optimized app loading (landed with the new bootstrap API) - [x] https://github.com/flutter/flutter/issues/149863 - [x] https://github.com/flutter/flutter/issues/149843 - [x] https://github.com/flutter/flutter/issues/154878 - [x] https://github.com/flutter/flutter/issues/154879

Confidence80%
80%
โœ“ Verified Fix Available
1 fixโœ“ 9 verified
๐Ÿ”Œ APIs & SDKsGoogle
Freshalmost 5 years ago

Publish packages for each individual API.

This is going to be done in several steps: - [x] Re-organize the directory structure to map to individual modules (#1167) - [x] Setup and publish a `googleapis-common` npm module that just contains shared bits that will be used by all packages - [x] Generate a package.json for all of the individual APIs - [ ] Script the `npm publish` process so that each individual package is published along with the larger meta-package These steps are of course subject to change as we discover things through the process :) --- UPDATE --- We're down to the last step of actually publishing the individual modules. @alexander-fenster, @jkwlui, and @JustinBeckwith last got together to chat about this, and came to a few conclusions: State of the world today - We decide when to run the generator in a somewhat ad-hoc fashion. As someone asks for a release, we cut it. - We run the generator by having a developer clone the repo, run `npm run generate`, and then submitting a PR with like 1344247584 changes. - After checking in that PR, someone has to submit a new release with releasetool. This will create a new tag. It is almost always semver major (see the fact that we're on v38). - The generator is somewhat monolithic. It works by blasting away the `src/apis` directory, and re-creating every API from scratch every time. This makes it easy to detect new APIs, and easy to detect removed APIs. Where we need to be - We want a bot that runs the generator(s) nightly. We should use `synthtoo

Confidence79%
79%
โœ“ Verified Fix Available
1 fixโœ“ 4 verified
๐Ÿ”Œ APIs & SDKsGoogle
Freshalmost 5 years ago

service account with owner rights has insufficient permissions

Hello, I finally managed to make a successful api call with this npm package; `publisher.inappproducts.list({ ...` returns the expected result and everything is great. But when I go for: [code block] It always returns the same error: The current user has insufficient permissions to perform the requested operation. Assuming that: - The current user is a service account with the highest possible permissions granted in both the developer console and the google play console. (including "view financial data") - The project in the google developer console is linked to the app in the google play console. - The `packageName`, `subscriptionId` and `token` parameters sent are valid. What could possibly be missing? Is a refresh_token needed with service accounts? Could there be discrepancy between the permissions shown in the UI and the actual permissions granted to the service account? Does the service account need to "accept" the invitation to be a "owner"? Is there a way to list the service account's permissions through the API? Here is the code I use for authentication: [code block] Environment details - OS: OSX 10.14 (Mojave) - Node.js version: 8.11.4 - npm version: 5.6.0 - `googleapis` version: 34.0.0 Thanks for making it down here.

Confidence79%
79%
โœ“ Verified Fix Available
1 fixโœ“ 8 verified
๐Ÿ”Œ APIs & SDKsGoogle
Freshabout 11 years ago

Batch Request Update

As mentioned in Issue #290 batch requests were removed with the idea to introduce a new updated way of performing batch requests. Any update on this? If not, what is the alternative? I potentially need to do 100s of calls via a service account to retrieve the activities of all the user's in our system.

Confidence79%
79%
โœ“ Verified Fix Available
1 fixโœ“ 3 verified
๐Ÿ”Œ APIs & SDKsGoogle
Freshover 6 years ago

Expose API to clear offline persistence (in IndexedDB).

Please expose a way to clear offline persistence (in IndexedDB). It would be useful to clean up when the user signs out.

Confidence79%
79%
โœ“ Verified Fix Available
1 fixโœ“ 4 verified
๐Ÿ“ฑ Mobile & Cross-PlatformGoogle
Freshabout 3 years ago

[webview_flutter] not working choose file (input type file)

Steps to Reproduce 1. Run simple index.html with tag `<input type="file">` in webview_flutter 2. Try to click to input (choose file) and nothing happens

Confidence79%
79%
โœ“ Verified Fix Available
1 fixโœ“ 6 verified
๐Ÿ“ฑ Mobile & Cross-PlatformGoogle
Freshover 2 years ago

[google_maps_flutter] App crashes with a java.lang.NullPointerException while popping a screen with a GoogleMaps widget

Internal: b/292548402 Steps to Reproduce I have reproduced it on a Pixel 3 in debug mode REAL (Android 12) and emulated (api level 30). 1. Execute `flutter run` on the code sample with `google_maps_flutter: ^2.1.7` dependency 2. Press the "Push map" button 3. Press the top right "x" IconButton or the back arrow to pop the screen 4. repeat from 2 until a crash occurs Expected results: No crash. Actual results: This ๐Ÿ‘‡ https://user-images.githubusercontent.com/13722041/173616129-4cce324d-3481-4ea7-bc16-5c52c0493f10.mp4 <details> <summary>Code sample</summary> [code block] </details> <details> <summary>Logs</summary> [code block] Flutter doctor -v [code block] </details>

Confidence78%
78%
โœ“ Verified Fix Available
1 fixโœ“ 6 verified
๐Ÿ”Œ APIs & SDKsGoogle
Fresh5 months ago

Unable to process request due to missing initial state.

[REQUIRED] Describe your environment Windows 10, Android 10 Google chrome firebase js sdk version: 7.24.0 firebase auth [REQUIRED] Describe the problem When trying to do sign with redirect (social login: google/facebook), many of our users are getting the following error: _Unable to process request due to missing initial state. This may happen if browser sessionStorage is inaccessible or accidentally cleared._ Steps to reproduce: Not able to reproduce this. But it occurs very frequently for many of our users.

Confidence78%
78%
โœ“ Verified Fix Available
1 fixโœ“ 6 verified
๐Ÿ”Œ APIs & SDKsGoogle
Freshabout 19 hours ago

auth/network-request-failed when debugging on react native

[REQUIRED] Describe your environment Operating System version: Mac 10.14.6 Browser version: Chrome Version 79.0.3945.130 Firebase SDK version: 6.6.2 Firebase Product: auth (auth, database, storage, etc) React Native version: 0.61.5 [REQUIRED] Describe the problem Getting an error when running on debug mode on the simulator (both for ios and android) [code block] Works fine on the simulator when I'm not debugging. Happens also for other teammates that work on the same project * Rebooting Chrome didn't help Steps to reproduce: Relevant Code: I created a small react native app to reproduce the bug: https://github.com/shirlev-wix/firebase-bug [code block] Thanks!

Confidence78%
78%
Candidate Fix
1 fix
๐Ÿ”Œ APIs & SDKsGoogle
Freshalmost 5 years ago

Please optimize the size of libs

Could you optimize the size of libs? We have limit ~ 50 KB per route on 3G mobile networks. :-/ Check out the video Measure Time to Interactive. The Cost Of JavaScript is high. - 27.8 KB / gz 9.3 KB https://cdn.jsdelivr.net/npm/firebase@4.6.2/firebase-app.min.js - 268 KB / gz 69.4 KB https://cdn.jsdelivr.net/npm/firebase@4.6.2/firebase-firestore.min.js - 178.3 KB / gz 46.4 KB https://cdn.jsdelivr.net/npm/firebase@4.6.2/firebase-database.min.js - 33.9 KB / gz 10.5 KB https://cdn.jsdelivr.net/npm/firebase@4.6.2/firebase-storage.min.js - 27,8 KB / gz 5.7 KB https://cdn.jsdelivr.net/npm/firebase@4.6.2/firebase-messaging.min.js - 137.5 KB / gz 43.8 KB https://cdn.jsdelivr.net/npm/firebase@4.6.2/firebase-auth.min.js

Confidence77%
77%
โœ“ Verified Fix Available
1 fixโœ“ 8 verified
๐Ÿ”Œ APIs & SDKsGoogle
Freshover 2 years ago

FR: please add function Auth.getCurrentUser() as a promise that will return current user or null

Firebase SDK version: 4.9.0 Firebase Product: auth `Auth.currentUser` object is unreliable to get user from persistence storage. If the authentication system could be pending and don't really have ensure finishing endpoint then you should have a promise for it So I want to have promise function `Auth.getCurrentUser()` in addition to `onAuthStateChange` that would eventually return user but would return null if no user exist in persistence storage or user require sign in from expired token

Confidence77%
77%
โœ“ Verified Fix Available
1 fixโœ“ 8 verified
๐Ÿ“ฑ Mobile & Cross-PlatformGoogle
Freshabout 6 years ago

Support integrating with C/C++ in plugin framework

It would be nice to have an example of calling C/C++ code, or at least how to build native code along with a Flutter app. This may purely a Gradle question, but its not clear to someone that's not an expert on Gradle (for example, me), how to pull this off. --- Admin comment: Please see https://github.com/dart-lang/sdk/issues/34452 for current status and additional information

Confidence77%
77%
โœ“ Verified Fix Available
1 fixโœ“ 9 verified
๐Ÿ”Œ APIs & SDKsGoogle
Freshover 5 years ago

auth: Failed to execute 'transaction' on 'IDBDatabase'

[REQUIRED] Describe your environment Operating System version: Android/Windows Browser version: Chrome Firebase SDK version: 6.2.2 Firebase Product: auth [REQUIRED] Describe the problem Migrating this issue on behalf of @alexplumb from #1533. We've seen this indexdb issue in Firestore on Safari 12.2 (both in #1533 and the canonical one for that issue, #1670). However, Alex doesn't seem to have persistence enabled, so firestore shouldn't even be looking at indexdb. The name of the indexdb in question is "firebaseLocalStorageDb" which looks like it's the auth db (https://github.com/firebase/firebase-js-sdk/blob/master/packages/auth/src/storage/indexeddb.js#L191) Steps to reproduce: Happens inconsistently; unable to reproduce. :(

Confidence77%
77%
โœ“ Verified Fix Available
1 fixโœ“ 6 verified
๐Ÿ”Œ APIs & SDKsGoogle
Freshalmost 7 years ago

Implement connection queueing to avoid nodejs connection limits

I sometimes get this error after doing some requests: [code block] Here is the last request I'm recording: [code block]

Confidence77%
77%
โœ“ Verified Fix Available
1 fixโœ“ 3 verified
๐Ÿ”Œ APIs & SDKsGoogle
Fresh5 months ago

firebase.messaging.getToken() edgecase when push notification is set back to default (ask)

[REQUIRED] Describe your environment Operating System version: macOS Mojave Version 10.14.6 Browser version: Google Chrome Version 78.0.3904.97 Firebase SDK version: 7.0.0 * Firebase Product: Firebase Cloud Messaging [REQUIRED] Describe the problem The issue I have identified was introduced in version 7.0.0 of the firebase-js-sdk. I do not run into this issue in versions previous to 7.0.0. The issue occurs when a use grants notification permissions, gets a FCM token, then updates the notification permissions in the browser back to Ask (default), reloads the page, grants notification permissions again in Chrome, and get an error when trying to getToken at this point. Note: subsequent calls to getToken don't face this issue. Steps to reproduce: The problem occurs after taking the following steps: - Call Notification.requestPermission() and user grants permissions - Call firebase.messaging.getToken() - Set notification permission in browser back to Ask (default) - Call Notification.requestPermission() and user grants permissions - call firebase.messaging.getToken() - get DELETE https://fcmregistrations.googleapis.com/v1/projects/{project_id}/regis.../{FCM_token} 500 error and this specific error from FCM: "FirebaseError: Messaging: A problem occured while unsubscribing the user from FCM: FirebaseError: Messaging: A problem occured while unsubscribing the user from FCM: Internal error encountered. (messaging/token-unsubscribe-failed). (messaging/token-unsubscribe

Confidence77%
77%
โœ“ Verified Fix Available
1 fixโœ“ 8 verified