Okay, so it turns out we cannot just have a plugin right next to the actual app because then Flutter won't generate both the GeneratedPluginRegistrant and the correct links to the plugins. As such, we have to move the plugin code out of Moxxy into the new moxxy_native library. However, we need access to the activity to receive the notification tap events (at least on Android). To fix this, we have a quirk that checks if we have a notification event before finishing the handling of the PreStartDoneEvent.
18 lines
461 B
YAML
18 lines
461 B
YAML
include: package:very_good_analysis/analysis_options.yaml
|
|
linter:
|
|
rules:
|
|
public_member_api_docs: false
|
|
lines_longer_than_80_chars: false
|
|
use_setters_to_change_properties: false
|
|
avoid_positional_boolean_parameters: false
|
|
avoid_bool_literals_in_conditional_expressions: false
|
|
file_names: false
|
|
|
|
analyzer:
|
|
exclude:
|
|
- "**/*.g.dart"
|
|
- "**/*.freezed.dart"
|
|
- "**/*.moxxy.dart"
|
|
- "lib/i18n/*.dart"
|
|
- "pigeon/quirks.dart"
|