You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Android App trying to open url returned from call to "https://api.stripe.com/v1/accounts" in a Webview fails. This is during a Connect account onboarding process.
Code to reproduce
Stacktrace from Chrome is given below:
Uncaught ReferenceError: globalThis is not defined
at getHostname (connect-flows.express_unified.023b9ffde252a582b993.min.js:5)
at isStripeInternalHostname (connect-flows.express_unified.023b9ffde252a582b993.min.js:5)
at isDevEnvironment (connect-flows.express_unified.023b9ffde252a582b993.min.js:5)
at getEnvironment (connect-flows.express_unified.023b9ffde252a582b993.min.js:5)
at Object. (connect-flows.express_unified.023b9ffde252a582b993.min.js:13)
at webpack_require (connect-flows.runtimeexpress_unified.2cf0bb060194f759fbd9.min.js:1)
at Object. (connect-flows.express_unified.023b9ffde252a582b993.min.js:14)
at webpack_require (connect-flows.runtimeexpress_unified.2cf0bb060194f759fbd9.min.js:1)
at Object. (connect-flows.express_unified.023b9ffde252a582b993.min.js:32)
at webpack_require (connect-flows.runtime~express_unified.2cf0bb060194f759fbd9.min.js:1)
It looks like it is looking for a variable that doesn't exist and crashes.
Android version
SDK Level 28
Impacted devices
Samsung S22 Android simulator running the above SDK.
This issue is simple; a JS script (see name in the stack trace) is referencing a variable without checking if it exist first. Please see the stack trace above from Chrome debugger. It works fine with simulator running SDK Level 29.
The text was updated successfully, but these errors were encountered:
Summary
Android App trying to open url returned from call to "https://api.stripe.com/v1/accounts" in a Webview fails. This is during a Connect account onboarding process.
Code to reproduce
Stacktrace from Chrome is given below:
Uncaught ReferenceError: globalThis is not defined
at getHostname (connect-flows.express_unified.023b9ffde252a582b993.min.js:5)
at isStripeInternalHostname (connect-flows.express_unified.023b9ffde252a582b993.min.js:5)
at isDevEnvironment (connect-flows.express_unified.023b9ffde252a582b993.min.js:5)
at getEnvironment (connect-flows.express_unified.023b9ffde252a582b993.min.js:5)
at Object. (connect-flows.express_unified.023b9ffde252a582b993.min.js:13)
at webpack_require (connect-flows.runtime
express_unified.2cf0bb060194f759fbd9.min.js:1)express_unified.2cf0bb060194f759fbd9.min.js:1)at Object. (connect-flows.express_unified.023b9ffde252a582b993.min.js:14)
at webpack_require (connect-flows.runtime
at Object. (connect-flows.express_unified.023b9ffde252a582b993.min.js:32)
at webpack_require (connect-flows.runtime~express_unified.2cf0bb060194f759fbd9.min.js:1)
Android version
SDK Level 28
Impacted devices
Samsung S22 Android simulator running the above SDK.
Installation method
Android Studio Running on MacOS Sonoma 14.1.1
Dependency Versions
kotlin:
stripe-android:
Android Gradle Plugin:
Gradle:
SDK classes
SDK Level 28
Video
Other information
This issue is simple; a JS script (see name in the stack trace) is referencing a variable without checking if it exist first. Please see the stack trace above from Chrome debugger. It works fine with simulator running SDK Level 29.
The text was updated successfully, but these errors were encountered: