AIOHA + Flutter - Plugin - facing issues with web-app
Hello People on Hive,
AIOHA based flutter plugin for iOS & Android App is working fine but for web-app, it is giving me several errors & to be honest headache as well π₯Ί
Javascript won't load
At first, javascript it self won't load from plugin. If I add it directly into the project, it works fine. but If I do it via plugin, it simply won't work. On App side, script won't appear inside html as illustrated above.
Injection using iFrame
So, I managed to inject using iFrame from flutter-plugin & it would appear in the example application's web-app. However, js won't execute. javascript under that iFrame simply won't execute most probably due to safety reasons.
Injection using Div
After looking for options, I found div based injection. That to worked but javascript won't execute :(
Only if App uses JS directly
it works only in this scenario - Example app must update it's HTML & bring js inside it.
but that's not how plugin works. Manual drag & drop - isn't considered plugin
However, at the moment, this manual drag & drop / copy-paste works
As you can see in the screenshot above, manual copy-paste in html works well. But as I said, it's not the expected solution for a plugin.
Goal
My Goal is that, any developer, who uses this package, just specify the name of package & start using it & it shouldn't require any manual copy-paste. However, I am far from that goal, at least for web-app. I am trying to achieve it.
Next Steps
- β iOS - HiveAuth integration
- β Android - HiveAuth integration
- β Upvote, Comment, Reblog, Follow, Unfollow etc
- β³ Build a plugin so that we can use it in any internal application
β€οΈ Love the work I do, support & me β€οΈ
Vote sagarkothari88 as Hive Witness
Vote for 3Speak as Witness
Uploaded using 3Speak Mobile App
Leave AIOHA + Flutter - Plugin - facing issues with web-app to:
Read more #threespeak posts
Best Posts From Sagar Kothari
We have not curated any of sagarkothari88's posts yet. But you can encourage our curation team to review posts by visiting them regularly and by referring other readers. Because we give priority to frequently read content.
More Posts From Sagar Kothari
- Re-Snaps, Meme Maker & Twitter Embeds Land in HiveSuite π #opensource #hive
- HiveSuite Never Goes Down Now π Smart API Failover #opensource #hive
- HiveSuite Adds Inline Replies & Rich Notifications β‘ #opensource #hive
- HiveSuite Adds Inline Replies & Rich Notifications β‘ #opensource #hive
- HiveSuite Adds Inline Maps, Custom Nodes & Big UX Wins πΊοΈ #opensource #hive
- HiveSuite Update: Polls, Delegations & Smarter Notifications β‘ #hive #opensource
- HiveSuite Dev Update: Massive Design System Glow-Up π¨π
- HiveReactKit Dev Update: Post Experience Refinements, Rewards Redesign & WorldMappin Integration
- HiveReactKit Dev Update: Composer, Wallet, Polls & Snaps Improvement
- HiveReactKit Dev Update - 24-Jun-2026
- HiveSuite Dev Update: Tank Strike Joins the Games Collection
- HiveSuite Dev Update: Wallet Actions Broadcasting & Reward Claim Integration
- HiveReactKit Dev Update: Pending Rewards, Reliable Pagination & Wallet
- HiveReactKit Dev Update: Expanded Wallet Actions & Improved Balance Mgmt
- HiveSuite Dev Update: Governance Dashboard & In-App Profile Editing
- HiveSuite Dev Updates: Location-Aware Posts, Colored Code Blocks & In-App Changelog
- HiveSuite Dev Update: Snap Composer Reliability & Games Search Integration.
- HiveSuite Dev Update: Snap Composer Reliability & Games Search Integration.
- HiveSuite Development Update: Unified Feed Filters & Dedicated Search Experience
- HiveSuite Development Update: Wallet Approval UX, Progressive Web App Support & Hide Voted Filters