Skip to content

Sample projects for my talk in GDG 2023 Event Yangon ๐Ÿฆœ

Notifications You must be signed in to change notification settings

YeLwinOo-Steve/gdg_2023

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

6 Commits
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

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/

About

Sample projects for my talk in GDG 2023 Event Yangon ๐Ÿฆœ

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published