Comments (5)
Also, after this fails, Firebase no longer considers the user logged in, which seems correct.
from confetti.
I'll try to find the right place to catch it.
from confetti.
I think fix is
class DefaultUser(
override val name: String,
override val email: String?,
override val photoUrl: String?,
override val uid: String,
private val user_: FirebaseUser?
): User {
override suspend fun token(forceRefresh: Boolean): String? {
return try {
user_?.getIdToken(forceRefresh)
} catch (e: Exception) {
null
}
}
}
from confetti.
Interesting. The doc doesn't say anything about throwing and I was operating under the assumption that the idToken returned there was always valid and refreshed internally by Firebase. But looks like it's not the case?
from confetti.
Not sure, but
This is possible a peculiarity of a test account I'm using
from confetti.
Related Issues (20)
- Consider handling bottom nav (and NavRail) navigation as top-level destinations launched as singleTop who have their own backstack HOT 2
- Set correct mobile background for RNG tests on AndroidApp side
- Add possibility to use test permutation in RNG tests for mobile theme HOT 3
- Migrate current RNG wear tests to use BaseScreenshotTest HOT 1
- Wear UI changes
- Add / Remove bookmarks on Wear
- Fix the Wear complication for long titles
- Wear session card broken with many speakers
- Provide means to delete user
- [Improvement] Assist Injection in SessionsViewModel & SpeakersViewModel HOT 2
- Allow to copy/paste text from the app
- Random crash on Mac OS HOT 2
- Compose Design System
- [Android Auto] Add support for POI's (via Places template) HOT 1
- Add support for Android Automotive
- Theme toggle HOT 3
- Add Wear audio player HOT 3
- Issues handling breaks
- Android TV/Fire TV support HOT 7
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from confetti.