fix: web build
Changes
- Updated Flutter web loading strategy
- Package Version fixes
- Added
createUniversalSockethelper functions for web and io compatibility. - Implemented
OmiFilefile wrapper abstractions for web and IO compatibility. It uses Index db under the hood on the web and IO file on native platforms. - Removed all
dart:iousage. - Added conditional execution for Analytics and Support packages that do not or partially support web.
- Updated file uploading to utilize the
httppackage, and modified other client code to also usehttpin place of IO.
fixes #2008 /claim #2008
Please check comments, the PR should be clean for merge in prod.
Please also add demo video and instructions how to run it for local tests.
Sure, once I complete File handling then I will let you know and update the video demo as well
https://github.com/user-attachments/assets/1dc436eb-d2bb-4e4c-84d1-12c5dac0eb2d
@skywinder Here is the working video of the PR Here is how to test the PR
- Setup CORS proxy
npm i local-cors-proxy
lcp --proxyUrl=https://backend-dt5lrfkkoa-uc.a.run.app/ --credentials
- Change env
API_BASE_URL=http://localhost:8010/proxy/
- Run app
flutter run -d chrome
Note: Due to CORS, images do not fetch
@skywinder I have made the changes you asked for. please review
@Rutik7066 man, sorry, we don’t have plans to support omi on the web anymore, as it’s been too long without a viable implementation.
if we ever plan to revisit web support, we’ll ping you - along with feedback to help you finalize your PR.
i'd like to send you coffee($) as a thank-you for your time here. please ping me on discord.
/ close
@beastoin Please check discord dm sir
/tip $500 @Rutik7066
Please visit Algora to complete your tip via Stripe.
@Rutik7066 man, please send an email to [email protected] so the omi team can proceed with the next steps.
that’s all i can help with.
thank you.
@beastoin You need to complete tipping process via algora's dashboard
@Rutik7066 man, please send an email to [email protected] so the omi team can proceed with the next steps.
that’s all i can help with.
thank you.
man, did you send the email ?
sorry, but i don’t have the algora account, so please just send an email to the team, request completing tipping via algora, and follow the instruction to claim your tips.
ah, please don’t spam my voice box - i need to focus on building things. thank you.
@Rutik7066
@Rutik7066 man, please send an email to [email protected] so the omi team can proceed with the next steps.
that’s all i can help with.
thank you.
man, did you send the email ?
sorry, but i don’t have the algora account, so please just send an email to the team, request completing tipping via algora, and follow the instruction to claim your tips.
ah, please don’t spam my voice box - i need to focus on building things. thank you.
@Rutik7066
Yes I did sent an email.
The amount has been sent @Rutik7066
cc: @beastoin