File tree Expand file tree Collapse file tree 2 files changed +7
-0
lines changed
Expand file tree Collapse file tree 2 files changed +7
-0
lines changed Original file line number Diff line number Diff line change @@ -1035,6 +1035,9 @@ class FlutterPlugin implements Plugin<Project> {
10351035 if (shorebirdYaml. containsKey(' base_url' )) {
10361036 content + = ' base_url: ' + shorebirdYaml[' base_url' ] + ' \n ' ;
10371037 }
1038+ if (shorebirdYaml. containsKey(' auto_update' )) {
1039+ content + = ' auto_update: ' + shorebirdYaml[' auto_update' ] + ' \n ' ;
1040+ }
10381041 shorebirdYamlFile. write(content)
10391042 }
10401043 }
Original file line number Diff line number Diff line change @@ -542,10 +542,14 @@ Please file an issue at: https://github.com/shorebirdtech/shorebird/issues/new
542542 }
543543 final StringBuffer yamlContent = StringBuffer ();
544544 final String ? baseUrl = yamlMap['base_url' ] as String ? ;
545+ final bool ? autoUpdate = yamlMap['auto_update' ] as bool ? ;
545546 yamlContent.writeln ('app_id: $appId ' );
546547 if (baseUrl != null ) {
547548 yamlContent.writeln ('base_url: $baseUrl ' );
548549 }
550+ if (autoUpdate != null ) {
551+ yamlContent.writeln ('auto_update: $autoUpdate ' );
552+ }
549553 shorebirdYaml.writeAsStringSync (yamlContent.toString (), flush: true );
550554}
551555
You can’t perform that action at this time.
0 commit comments