#youhana-sheriff_code
1 messages ยท Page 1 of 1 (latest)
๐ Welcome to your new thread!
โฒ๏ธ We'll be here soon! Typically we respond in a few minutes, but sometimes we might take a bit longer if the server is busy or if you have a particularly tricky question.
โฑ๏ธ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can always start a new thread if you have another question.
๐ This thread will always be available, even after it's closed. You can find it again using Discord's search, or you can save this link: https://discord.com/channels/841573134531821608/1450915505845305548
๐ Have more to share? Add more details, code, screenshots, videos, etc. below.
So you're trying to use connect embedded components in a web view in a mobile app, right?
Yeah, exactly.
Additional context:
Platform: Flutter using flutter_stripe_connect 0.3.5
Package: https://pub.dev/packages/flutter_stripe_connect
Account type: Express
Account Sessions API: components[account_management][enabled]=true
Stripe Android SDK reference shows only 3 methods:
- createAccountOnboardingController() โ
- createPaymentsView() โ
- createPayoutsView() โ
- createAccountManagementView() โ (doesn't exist)
Android SDK docs: https://stripe.dev/stripe-android/connect/com.stripe.android.connect/-embedded-component-manager/index.html
iOS has full parity. Android missing AccountManagement natively, forcing WebView which requires login just to view.
Give me a few minutes
Got it.
It seems like we document the authentication piece of this pretty clearly here: https://docs.stripe.com/connect/get-started-connect-embedded-components?platform=android#components-requiring-authentication
In that we expect for authentication to be necessary.
Regarding accountManagementView, it looks like we're working on this but we don't have a definite ETA as far as I can tell
As it says we need to disable auth.
https://docs.stripe.com/api/account_sessions/create#create_account_session-components-account_onboarding-features-disable_stripe_user_authentication
But it also says if we do this, We will be responsible for liabilities. Would there be any other ways?
Understood
Is there any other way to view the account details with embedded components without authentication as we won't be needed to edit it.
looking
Going to ask a teammate who knows more about android as soon as they're available
Thanks
hi! i am getting caught up on this, but i'm spinning a few plates at the moment so my responses might be a little delayed
caught up and i've been doing a little bit of research - the short answer is that no, the method described above (displaying a webview with that component and the disable_stripe_user_authentication option enabled) is the only to get users into that specific UI without a login page
@warped lintel , I see. Got it Man.
May I ask what's the long answer?
i was looking into other options that might give you a similar experience, but i don't think they are equivalent enough to recommend ๐ sorry to give you false hope
i think for now the two options i would recommend are to use the method above and accept the liablilty that comes with it, or to use it with authentication required and accept the necessecity to log in