issues
search
Shopify
/
checkout-sheet-kit-android
Shopify’s Checkout Sheet Kit makes it simple to perform a checkout inside your Android app.
MIT License
12
stars
3
forks
source link
Degrade to fallback WebView on error
#90
Closed
kiftio
closed
6 months ago
kiftio
commented
7 months ago
What are you trying to accomplish?
Work in progress
Fallback to a simple WebView onError. To avoid running into the same issue that caused the error in the main WebView, the fallback WebView will not:
add the sheet kit User-Agent
add a JavaScript interface / the bridge
override link clicks
send instrumentation
be cached
Allow client so disable the fallback behaviour via configuration
Allow clients to perform actions before fallback (e.g. cookie cleanup if deemed necessary)
Before you deploy
[ ] I have added tests to support my implementation
[ ] I have read and agree with the
contributing documentation
[ ] I have read and agree with the
code of conduct documentation
[ ] I have updated the
README
(if applicable).
What are you trying to accomplish?
Work in progress
Before you deploy