carp-dk / carp-dk/flutter-plugins

[<activity_recognition_flutter> <6.0.0>] iOS app crashes with an error "NSInternalInconsistencyException Sending a message before the FlutterEngine has been run.

Open
#1,291 0 comments 0 reactions 0 assignees View on GitHub
activity_recognition bugfix
Dominant language
Dart
Stars
608
Forks
735
Avg merge
1m
Merged PRs (30d)
3

Description

### Plugin Name

activity_recognition

### Plugin Version

6.0.0

### Device

Iphone

### Operating System

Some versions

### Describe the bug

Fatal Exception: NSInternalInconsistencyException
Sending a message before the FlutterEngine has been run.

### Steps to Reproduce

How I see, this issue as same as this: https://github.com/flutter/flutter/issues/166677

I don't know concrete steps to reproduce, just see this error in firebase crashlitycs.

### Expected Behavior

Crashlytics has no this issue

### Actual Behavior

Crashlytics has this issue

### Flutter Logs

```shell

```

### Screenshots

_No response_

### Flutter Doctor Output

```shell
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel stable, 3.41.3, on macOS 15.6.1 24G90 darwin-arm64, locale en-BY)
[!] Android toolchain - develop for Android devices (Android SDK version 35.0.1)
✗ cmdline-tools component is missing.
Try installing or updating Android Studio.
Alternatively, download the tools from https://developer.android.com/studio#command-line-tools-only and make sure to set the ANDROID_HOME environment variable.
See https://developer.android.com/studio/command-line for more details.
✗ Android license status unknown.
Run `flutter doctor --android-licenses` to accept the SDK licenses.
See https://flutter.dev/to/macos-android-setup for more details.
[✓] Xcode - develop for iOS and macOS (Xcode 26.1)
[✓] Chrome - develop for the web
[✓] Connected device (7 available)
[✓] Network resources
```

### Additional Information

How I see, it can be fixed as same as this PR: https://github.com/fluttercommunity/plus_plugins/pull/912/commits/dc8436b1be2e98b9b012717a5ab1a78268792176

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.