File tree Expand file tree Collapse file tree 4 files changed +31
-4
lines changed Expand file tree Collapse file tree 4 files changed +31
-4
lines changed Original file line number Diff line number Diff line change 1+ # Number of days of inactivity before an issue becomes stale
2+ daysUntilStale : 60
3+ # Number of days of inactivity before a stale issue is closed
4+ daysUntilClose : 7
5+ # Issues with these labels will never be considered stale
6+ exemptLabels :
7+ - pinned
8+ - security
9+ # Label to use when marking an issue as stale
10+ staleLabel : wontfix
11+ # Comment to post when marking an issue as stale. Set to `false` to disable
12+ markComment : >
13+ This issue has been automatically marked as stale because it has not had
14+ recent activity. It will be closed if no further activity occurs. Thank you
15+ for your contributions.
16+ # Comment to post when closing a stale issue. Set to `false` to disable
17+ closeComment : false
Original file line number Diff line number Diff line change 88function cleanup() {
99 echo " Cleanup project [$FLUTTER_APP_PROJECT_NAME ] files ..."
1010 cd $FLUTTER_APP_FOLDER
11- rm -rf android build * .iml ios pubspec.lock test .flutter-plugins .metadata .packages .idea macos web
11+ rm -rf android build * .iml ios pubspec.lock test .flutter-plugins .metadata .packages .idea macos web windows
1212}
1313
1414function create() {
@@ -17,7 +17,8 @@ function create() {
1717 echo " Create flutter project: name=$FLUTTER_APP_PROJECT_NAME , org=$FLUTTER_APP_ORG ..."
1818 flutter config --enable-macos-desktop
1919 flutter config --enable-web
20- flutter create --android-language java --androidx --ios-language objc --project-name $FLUTTER_APP_PROJECT_NAME --org $FLUTTER_APP_ORG .
20+ flutter config --enable-windows-desktop
21+ flutter create --android-language java --ios-language objc --project-name $FLUTTER_APP_PROJECT_NAME --org $FLUTTER_APP_ORG .
2122 add_permission_label
2223 else
2324 echo " Project [$FLUTTER_APP_PROJECT_NAME ] already exists!"
Original file line number Diff line number Diff line change @@ -577,6 +577,11 @@ class WebSocketSettings {
577577 /// Don‘t check the server certificate
578578 /// for self-signed certificate.
579579 bool allowBadCertificate = false ;
580+
581+ /// Custom transport scheme string to use.
582+ /// Otherwise the used protocol will be used (for example WS for ws://
583+ /// or WSS for wss://, based on the given web socket URL).
584+ String transport_scheme;
580585}
581586
582587enum DtmfMode {
Original file line number Diff line number Diff line change @@ -18,10 +18,14 @@ class WebSocketInterface implements Socket {
1818 logger.error ('invalid WebSocket URI scheme: ${parsed_url .scheme }' );
1919 throw AssertionError ('Invalid argument: $url ' );
2020 } else {
21+ String transport_scheme = webSocketSettings != null && webSocketSettings.transport_scheme != null
22+ ? webSocketSettings.transport_scheme.toLowerCase ()
23+ : parsed_url.scheme;
24+
2125 String port = parsed_url.port != null ? ':${parsed_url .port }' : '' ;
22- _sip_uri = 'sip:${parsed_url .host }$port ;transport=${ parsed_url . scheme } ' ;
26+ _sip_uri = 'sip:${parsed_url .host }$port ;transport=$transport_scheme ' ;
2327 logger.debug ('SIP URI: $_sip_uri ' );
24- _via_transport = parsed_url.scheme .toUpperCase ();
28+ _via_transport = transport_scheme .toUpperCase ();
2529 }
2630 _webSocketSettings = webSocketSettings ?? WebSocketSettings ();
2731 }
You can’t perform that action at this time.
0 commit comments