/gdg_2023

Sample projects for my talk in GDG 2023 Event Yangon 🦜

Primary LanguageC++

Sample Projects for GDG Yangon 2023


Server_side_ui Project 🔮

Server side ui project is written using Mirai plugin to demonstrate how to parse Mirai syntax to flutter widgets

Usage 🏗️

  • Just change JSON file name from assets folder in main.dart file and restart or re-run the project to see changes

Remote_banner 🔥

Remote banner project uses Firebase Remote Config to control UI from server and to make A/B testings

Usage 🏗️

  • To use this project, you'll have to add Firebase to your project

  • Then register your app to Firebase [for me I use FlutterFire for configuration]

  • Add firebase remote config conditions in your firebase console and enable firebase remote config api for this project (I know it's a lot of steps)

  • For adding remote config conditions, just scam remote_config_service.dart file. There are these two code snippets in it:

  bool get showMainBanner => _remoteConfig!.getBool(_Keys.showMainBanner);
  String get remoteAppTitle => _remoteConfig!.getString(_Keys.remoteAppTitle);
class _Keys {
  static String showMainBanner = "show_main_banner";
  static String remoteAppTitle = "app_title";
}

So, you'll have to add show_main_banner (boolean value) and app_title (string value) keys in firebase remote config console.

🎉 Bingo!😉 You can start running and testing your app.


GDG Yangon 2023 Powerpoint Slides

My slides for GDG Yangon 2023: https://speakerdeck.com/ye_lwin_oo/server-driven-ui-in-flutter

I'm also implementing a small web project for parsing Mirai JSON syntax to Flutter UI on the fly. Feel free to test at https://mirai-json-parser.vercel.app/