https://www.growthbook.io/ logo
#ask-questions
Title
# ask-questions
p

polite-solstice-25071

11/13/2023, 4:32 AM
Hi 👋 Whats the best approach for running AB tests using Client Side JS to modify a flutter app canvas?
r

rhythmic-agent-34208

11/13/2023, 4:32 AM
Our official support hours are 6:30am - 5pm Pacific Time, Monday through Friday. You may occasionally hear from us outside of these hours. Your support request has been logged in our system. Our support team will get back to you very soon!
f

fresh-football-47124

11/13/2023, 9:45 AM
Hi Shantelle - how do you mean best approach? Did you add the SDK and launch an experiment using feature flags?
p

polite-solstice-25071

11/13/2023, 11:15 PM
Can we get a guideline without using feature flags too because it still requires someone in the flutter app to code the experiment
r

rhythmic-agent-34208

11/14/2023, 9:32 PM
Hi Shantelle, I believe you are asking for help using the Visual Editor, is that right? Are you trying to find a way to use GrowthBook that doesn't involve writing code?
k

kind-salesmen-90944

11/15/2023, 1:22 AM
Hi @brief-honey-45610, We are trying to use the visual editor to write JS that can manipulate a flutter web app canvas to run a AB test without our Flutter app developers assistance. We can place things above and below the canvas HTML element. (JS SDK) But we cant touch the elements inside of it because they aren't technically DOM objects. We could setup up feature flags within the app (Flutter SDK) and have the flutter developer build the feature. Which from reading is the recommended approach. However there are pros and cons to this approach. Such as a successful or unsuccessful test the developer would have to rewrite the same code without the flag. Do you have any users that AB test flutter in this way? Perhaps having a JS interface to inject elements into the flutter canvas?
r

rhythmic-agent-34208

11/16/2023, 6:20 PM
Hi, sorry, currently we don't support canvas objects or anything non-DOM related with the visual editor. You'll have to take the code approach to render different graphical content via Flutter Canvas.
k

kind-salesmen-90944

11/17/2023, 3:52 AM
Thanks for confirming 🙂
youre welcome 1
13 Views