Can someone help me with the source id for Jetpack...
# compose
g
Can someone help me with the source id for Jetpack Compose? I have an app in the play store where you have to login, so the prelaunch rapport won’t login to test the application. So when I enter an username and account I have to put source-id. But I dont know where to find it? Is it like findViewById(R.id.xxxx) but then for compose?
1
s
Adding “.testTag” modifier might be what they’re looking for, but you’re right that this is very vague for the compose use case. I am curious to know the answer too.
z
Test tag and view ID aren't interchangeable, they're different types (int and string) and use completely different mechanisms. Systems that use view id need to explicitly support compose. That said, I have no idea how to do what you're asking. The official docs say this, so I'm guessing compose isn't supported yet:
Credentials can only be automatically inserted into Android apps that use standard Android widgets. Credentials can't be used in apps that use OpenGL to render custom controls or apps that use a WebView for a web-based authentication flow.
😢 1
Update: We’re aware of this issue and working on it 🙂
google 3