Caleb Jasik
2b844d27dd
Add Flutter lint ( #253 )
...
* Enable `flutter_lints` linting
* Fix unmarked deps, we aren't on web so we don't need a URL strategy
* ` dart fix --apply --code=use_super_parameters`
* `dart fix --apply --code=use_key_in_widget_constructors`
* `dart fix --apply --code=use_function_type_syntax_for_parameters`
* Ignore code-generated `lib/services/theme.dart` file
* `dart fix --apply --code=unnecessary_this`
* `dart fix --apply --code=unnecessary_null_in_if_null_operators`
* `dart fix --apply --code=unnecessary_new`
* `dart fix --apply --code=sort_child_properties_last`
* `dart fix --apply --code=sized_box_for_whitespace`
* `dart fix --apply --code=prefer_typing_uninitialized_variables`
* `dart fix --apply --code=prefer_is_empty`
* `dart fix --apply --code=prefer_interpolation_to_compose_strings`
* `dart fix --apply --code=prefer_final_fields`
* `dart fix --apply --code=prefer_const_constructors_in_immutables`
* `dart fix --apply --code=prefer_collection_literals`
* `dart fix --apply --code=no_leading_underscores_for_local_identifiers`
* `dart fix --apply --code=curly_braces_in_flow_control_structures`
* `dart fix --apply --code=avoid_function_literals_in_foreach_calls`
* `dart fix --apply --code=annotate_overrides`
* Add CI for dart linting
* `dart format lib/`
* Re-enable the `usePathUrlStrategy` call, with proper deps
https://docs.flutter.dev/ui/navigation/url-strategies#configuring-the-url-strategy
2025-03-04 11:29:23 -06:00
Caleb Jasik
ed348ab126
Flutter formatting changes ( #252 )
...
* `flutter fmt lib/`
* Re-enable formatting in CI
2025-02-13 15:37:44 -06:00
Ian VanSchooten
88aab16b52
Fix ID used when listening to updates on new sites ( #193 )
...
This should avoid the errors we've been seeing in Sentry of:
```
MissingPluginException(No implementation found for method listen on channel net.defined.nebula/null)
```
To test, start up the mobile app in an android phone or emulator, tap the plus button to add a new site, and verify that no error log is shown.
Note: we still get a similar error when tapping the "Good Site" or "Bad Site" in debug, but I believe that is because it's being created too quickly before the EventChannel has a chance to be set up. Adding a site manually does not trigger the error.
2024-10-30 08:05:32 -04:00
John Maguire
470578865b
Update to support netip use in Nebula 1.9.4 ( #182 )
2024-10-16 17:02:28 -04:00
Ian VanSchooten
64d45f66c7
Update Flutter, target android SDK 34 ( #160 )
...
This updates flutter to 3.24.1, the latest stable version, and also updates our flutter dependencies to latest.
It targets the latest android sdk, 34, which is required if we want to publish a new version to the Google Play store.
I also needed to make a few adjustments to handle deprecations. The biggest change is that I needed to wrap the main widget in MaterialApp to avoid problems with AdaptiveSwitch in iOS.
2024-09-20 14:19:23 -04:00
John Maguire
c64577f42e
Remove cachedPackets from HostInfo ( #145 )
2023-12-07 15:11:50 -05:00
Nate Brown
bb457c7c83
Sometimes the list of remotes can be null ( #96 )
2022-11-21 13:31:58 -06:00
Nate Brown
6108bf801b
Ignore a nil message, nebula hasn't booted yet ( #90 )
2022-11-18 13:37:15 -06:00
John Maguire
c7a53c3905
Support DN host enrollment ( #86 )
...
Co-authored-by: Nate Brown <nbrown.us@gmail.com>
2022-11-17 16:43:16 -05:00
Nate Brown
dbe67c2f81
Upgrade to flutter 3 ( #70 )
...
Co-authored-by: John Maguire <contact@johnmaguire.me>
2022-09-21 15:27:35 -05:00
Nate Brown
9934f226e3
Ran flutter format -l 120 --suppress-analytics lib ( #38 )
2021-05-03 16:58:04 -05:00
Nate Brown
0bb2a30829
Support replacing certs ( #33 )
2021-05-03 15:16:00 -05:00
Nathan Brown
4c28cc196e
Rework ios ipc ( #28 )
2021-04-27 10:29:28 -05:00
Nathan Brown
1283ce30e9
IPV6 support ( #24 )
2021-04-23 16:23:06 -05:00
Nathan Brown
a5ca3f86af
Upgrade to flutter 2 ( #26 )
2021-04-23 12:33:28 -05:00
Nate Brown
d9f4b8b56d
Default hostmaps to []
2020-08-31 16:59:38 -05:00
Nate Brown
36a55e8b86
Minor tweaks on large screens, release with new icon
2020-08-07 11:38:16 -05:00
Nate Brown
b546dd1c9d
Initial commit
2020-07-27 15:43:58 -05:00