Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
69 commits
Select commit Hold shift + click to select a range
c20e1db
feat: add plugin functions
tlserver Jul 12, 2024
55ecf4e
chore: bump version to 0.1.0
tlserver Jul 24, 2024
be589ad
chore: bump simple_3d_renderer from 19.1.0 to 20.0.2 in /example
dependabot[bot] Aug 26, 2024
6600328
chore: bump org.jetbrains.kotlin.android in /example/android
dependabot[bot] Sep 1, 2024
13013f0
chore: bump com.android.application in /example/android
dependabot[bot] Sep 3, 2024
d40f5f7
chore: bump org.jetbrains.kotlin:kotlin-gradle-plugin in /android
dependabot[bot] Sep 1, 2024
a29e39d
chore: bump com.android.tools.build:gradle in /android
dependabot[bot] Sep 3, 2024
d6bb985
chore: bump org.mockito:mockito-core from 5.12.0 to 5.13.0 in /android
dependabot[bot] Sep 1, 2024
7cf9989
chore: idea
tlserver Sep 4, 2024
3a2f079
chore: bump flutter_lints from 4.0.0 to 5.0.0 in /example
dependabot[bot] Sep 30, 2024
8af2925
chore: bump flutter_lints from 4.0.0 to 5.0.0
dependabot[bot] Sep 30, 2024
df643a7
chore: bump com.android.application in /example/android
dependabot[bot] Oct 1, 2024
311c3ae
chore: bump com.android.tools.build:gradle in /android
dependabot[bot] Oct 1, 2024
34b8a1c
chore: bump org.mockito:mockito-core from 5.13.0 to 5.14.1 in /android
dependabot[bot] Oct 1, 2024
753a7b5
fix: FlutterRotationSensorPlugin typo
tlserver Oct 21, 2024
c047633
chore: idea
tlserver Oct 21, 2024
2da7c3c
chore: ios files
tlserver Oct 21, 2024
983155a
chore: fix readme typo
tlserver Oct 21, 2024
1c449db
chore: bump version to 0.1.1
tlserver Oct 21, 2024
190b4e2
chore: bump com.android.application in /example/android
dependabot[bot] Nov 1, 2024
2fb4735
chore: bump org.mockito:mockito-core from 5.14.1 to 5.14.2 in /android
dependabot[bot] Nov 1, 2024
82fd8fc
chore: bump com.android.tools.build:gradle in /android
dependabot[bot] Nov 1, 2024
b2dd61a
chore: bump simple_3d_renderer from 20.0.2 to 21.0.0 in /example
dependabot[bot] Dec 2, 2024
1b23631
chore: bump org.jetbrains.kotlin:kotlin-gradle-plugin in /android
dependabot[bot] Dec 17, 2024
91d35ae
chore: bump org.jetbrains.kotlin.android in /example/android
dependabot[bot] Dec 17, 2024
1844b4d
chore: bump org.jetbrains.kotlin.android in /example/android
dependabot[bot] Feb 1, 2025
3e4ef8e
chore: bump org.jetbrains.kotlin:kotlin-gradle-plugin in /android
dependabot[bot] Feb 1, 2025
d33ea8a
chore: bump org.mockito:mockito-core from 5.14.2 to 5.15.2 in /android
dependabot[bot] Feb 1, 2025
7233ee0
chore: bump simple_3d_renderer from 21.0.0 to 22.0.0 in /example
dependabot[bot] Mar 3, 2025
3eb4ec5
chore: bump com.android.application in /example/android
dependabot[bot] Mar 6, 2025
7038a38
chore: bump com.android.tools.build:gradle in /android
dependabot[bot] Mar 6, 2025
8acc980
chore: bump simple_3d_renderer from 22.0.0 to 22.0.1 in /example
dependabot[bot] Mar 24, 2025
ee97639
chore: bump org.jetbrains.kotlin.android in /example/android
dependabot[bot] Apr 1, 2025
2377f81
chore: bump org.jetbrains.kotlin:kotlin-gradle-plugin in /android
dependabot[bot] Apr 1, 2025
c640fae
chore: bump com.android.application in /example/android
dependabot[bot] Apr 16, 2025
a9dbc0e
chore: bump com.android.tools.build:gradle in /android
dependabot[bot] Apr 16, 2025
03ed924
chore: bump org.mockito:mockito-core from 5.15.2 to 5.16.1 in /android
dependabot[bot] Apr 1, 2025
09f1a00
chore: bump com.android.application in /example/android
dependabot[bot] May 1, 2025
1f08b0e
chore: bump com.android.tools.build:gradle in /android
dependabot[bot] May 1, 2025
729c814
chore: bump org.mockito:mockito-core from 5.16.1 to 5.17.0 in /android
dependabot[bot] May 1, 2025
f0d0623
chore: recreate flutter project by 3.29.2 - rename gradle files
tlserver May 1, 2025
08559cb
chore: recreate flutter project by 3.29.2
tlserver May 1, 2025
15a0337
chore: bump org.mockito:mockito-core from 5.17.0 to 5.18.0 in /android
dependabot[bot] Jun 1, 2025
d2ee481
chore: bump flutter_lints from 5.0.0 to 6.0.0
dependabot[bot] Jun 2, 2025
63b6de6
chore: bump flutter_lints from 5.0.0 to 6.0.0 in /example
dependabot[bot] Jun 2, 2025
f0bf81a
chore: bump org.jetbrains.kotlin:kotlin-gradle-plugin in /android
dependabot[bot] Jul 1, 2025
3e49501
chore: bump org.jetbrains.kotlin.android in /example/android
dependabot[bot] Jul 1, 2025
176f957
chore: bump com.android.tools.build:gradle in /android
dependabot[bot] Jul 8, 2025
b90c047
chore: bump com.android.application in /example/android
dependabot[bot] Jul 8, 2025
a5856b9
docs: Fix incorrect class reference in README (OrientationEvent) #62
eaglebk Aug 7, 2025
07da946
chore: bump simple_3d_renderer from 22.0.1 to 22.0.2 in /example
dependabot[bot] Oct 10, 2025
1e1132c
chore: bump org.jetbrains.kotlin:kotlin-gradle-plugin from 2.2.0 to 2…
dependabot[bot] Oct 10, 2025
a90c6e4
chore: bump org.jetbrains.kotlin.android from 2.2.0 to 2.2.20 in /exa…
dependabot[bot] Oct 10, 2025
34ae646
chore: bump com.android.tools.build:gradle from 8.11.0 to 8.13.0 in /…
dependabot[bot] Oct 10, 2025
8f874dc
chore: bump com.android.application from 8.11.0 to 8.13.0 in /example…
dependabot[bot] Oct 10, 2025
69f321a
chore: bump org.mockito:mockito-core from 5.18.0 to 5.20.0 in /android
dependabot[bot] Oct 10, 2025
f97ab7f
chore: ignore one_member_abstracts warning in CoordinateSystem
tlserver Oct 10, 2025
afe1110
style: format matrix
tlserver Oct 17, 2025
d5adcab
style: dart fmt
tlserver Oct 17, 2025
456c774
feat: add an indicator for platform support
tlserver Oct 20, 2025
74742b6
chore: bump gradle from 8.10.2 to 9.1.0 in /example/android
tlserver Oct 20, 2025
9808e47
chore: bump dart from 3.7.2 to 3.8.0 in /example/android
tlserver Oct 20, 2025
60e57fc
chore: bump native_device_orientation from 2.0.3 to 2.0.4
tlserver Oct 20, 2025
3deb9d2
style: format FlutterRotationSensorPlugin.kt
tlserver Oct 20, 2025
8c1ccd1
refactor: delay SensorManager.getDefaultSensor() call
tlserver Oct 20, 2025
b60168f
style: format change log
tlserver Oct 21, 2025
05c4675
chore: bump version to 0.2.0
tlserver Oct 21, 2025
fb64d68
feat: add configurable reference frame for north-referenced azimuth
camilleRiquet Jun 16, 2026
e7aa8f1
fix: add tests and update readme
camilleRiquet Jun 16, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .github/FUNDING.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
github: tlserver
118 changes: 118 additions & 0 deletions .github/ISSUE_TEMPLATE/Bug.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,118 @@
name: Bug Report
description: File a report if you've encountered a bug with FlutterRotationSensor.
title: "[Bug]: "
labels: ["bug"]
body:
- type: markdown
attributes:
value: |
# 🐛 Bug Report

Thank you for using FlutterRotationSensor! Before you submit your bug report, please:

- Review the [documentation](https://pub.dev/documentation/flutter_map_location_marker/latest/).
- Search for similar issues in both [open and closed tickets](https://github.com/tlserver/flutter_rotation_sensor/issues?q=is%3Aissue).
- Discuss non-bug-related questions on [GitHub discussions](https://github.com/tlserver/flutter_rotation_sensor/discussions) or [Stack Overflow](https://stackoverflow.com/).

If you're certain the issue you're experiencing is a bug, please provide as much detail as possible in this report so we can help you resolve it.

**Note:** Bug reports not adhering to this template may be closed for incomplete information.

- type: checkboxes
id: self-checks
attributes:
label: Preliminary Bug Check
description: Ensure you've taken these steps before submitting a bug.
options:
- label: I've searched the issue tracker for similar bug reports.
required: true
- label: I've checked Google and Stack Overflow for solutions.
required: true
- label: I've read the plugin's documentation.
required: true
- label: I'm using the latest plugin version and all dependencies are updated with `flutter pub upgrade`.
required: true
- label: I've executed `flutter clean`.
required: true
- label: I've tried running the example project.
required: true

- type: input
id: version
attributes:
label: Plugin Version
description: What version of the plugin are you using?
placeholder: e.g., 1.0.0
validations:
required: true

- type: textarea
id: expected
attributes:
label: Expected Behavior
description: What did you expect to happen?
validations:
required: true

- type: textarea
id: actual
attributes:
label: Actual Behavior
description: What actually happened? Please include as much detail as possible.
validations:
required: true

- type: textarea
id: code
attributes:
label: Code Sample
render: dart
description: |
Provide a minimal code sample or a link to a gist that reproduces the error. Ideally, share a main.dart file that we can run to see the issue.
validations:
required: false

- type: textarea
id: steps
attributes:
label: Steps to Reproduce
description: Detail the exact steps to reproduce the bug.
validations:
required: true

- type: input
id: platform
attributes:
label: Platform Details
description: Which platform and version did the issue occur on (e.g., Android, iOS)?
placeholder: e.g., Android 12, iOS 14
validations:
required: true

- type: input
id: sdk
attributes:
label: Flutter SDK Version
description: Provide the version of the Flutter SDK you are using.
placeholder: e.g., 3.0.0
validations:
required: true

- type: textarea
id: logs
attributes:
label: Logs
render: shell
description: |
Attach the full output of `flutter run --verbose`. If there's an exception, ensure the log includes enough detail to diagnose the issue.
validations:
required: true

- type: textarea
id: doctor
attributes:
label: Flutter Doctor Output
render: shell
description: What is the output of `flutter doctor -v`? This provides us with your development environment details.
validations:
required: true
77 changes: 77 additions & 0 deletions .github/ISSUE_TEMPLATE/FeatureRequest.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,77 @@
name: Feature Request
description: Suggest an idea or enhancement for the FlutterRotationSensor plugin.
title: "[Feature Request]: "
labels: ["enhancement"]
body:
- type: markdown
attributes:
value: |
# ✨ Feature Request

Thank you for taking the time to suggest a feature for FlutterRotationSensor!

Before submitting your feature request, please consider the following:
- Check if a similar feature request [has already been submitted](https://github.com/tlserver/flutter_rotation_sensor/issues?q=is%3Aissue+label%3Aenhancement).
- Review the [documentation](https://pub.dev/documentation/flutter_map_location_marker/latest/) to ensure your feature doesn't already exist.

If you have a specific idea in mind, fill out the template below. Detailed proposals have a higher chance of being considered.

- type: input
id: feature-summary
attributes:
label: Feature Summary
description: A short, descriptive title for your feature request.
placeholder: e.g., Support for XYZ sensor data
validations:
required: true

- type: textarea
id: feature-description
attributes:
label: Detailed Description
description: Provide a detailed description of your feature request. What problem does it solve or functionality does it add?
validations:
required: true

- type: textarea
id: potential-benefits
attributes:
label: Potential Benefits
description: Explain the benefits this feature would provide to users or developers.
validations:
required: true

- type: textarea
id: possible-solutions
attributes:
label: Possible Solutions
description: If you have ideas on how to implement this feature, please share them here.
validations:
required: false

- type: textarea
id: alternatives
attributes:
label: Alternatives Considered
description: Describe any alternative solutions or features you've considered.
validations:
required: false

- type: textarea
id: additional-context
attributes:
label: Additional Context
description: Add any other context, links, or screenshots about the feature request here.
validations:
required: false

- type: checkboxes
id: additional-checks
attributes:
label: Preliminary Checks
description: Ensure you've considered what's necessary before we proceed with this feature request.
options:
- label: I've checked if this feature request does not already exist.
required: true
- label: I've considered and outlined any potential impact on existing functionality.
required: true
34 changes: 34 additions & 0 deletions .github/dependabot.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
version: 2
updates:

- package-ecosystem: "pub"
directory: "/"
schedule:
interval: "weekly"
rebase-strategy: "disabled"
commit-message:
prefix: "chore"

- package-ecosystem: "pub"
directory: "/example"
schedule:
interval: "weekly"
rebase-strategy: "disabled"
commit-message:
prefix: "chore"

- package-ecosystem: "gradle"
directory: "/android"
schedule:
interval: "monthly"
rebase-strategy: "disabled"
commit-message:
prefix: "chore"

- package-ecosystem: "gradle"
directory: "/example/android"
schedule:
interval: "monthly"
rebase-strategy: "disabled"
commit-message:
prefix: "chore"
21 changes: 21 additions & 0 deletions .github/workflows/stale.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: 'Stale'
on:
schedule:
- cron: '16 10 * * *'

jobs:
stale:
runs-on: ubuntu-latest
steps:
- uses: actions/stale@v5
with:
repo-token: ${{ github.token }}
stale-issue-message: 'This issue is stale because it has been open for 30 days with no activity. Remove stale label or comment or this will be closed in 7 days.'
stale-pr-message: 'This PR is stale because it has been open for 60 days with no activity. Remove stale label or comment or this will be closed in 14 days.'
close-issue-message: 'This issue was closed because it has been stalled for 7 days with no activity.'
close-pr-message: 'This PR was closed because it has been stalled for 14 days with no activity.'
close-issue-reason: 'not_planned'
days-before-issue-stale: 30
days-before-issue-close: 7
days-before-pr-stale: 60
days-before-pr-close: 14
8 changes: 5 additions & 3 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
.dart_tool/
.flutter-plugins
.flutter-plugins-dependencies
.fvm/flutter_sdk
.packages
.pub-cache/
.pub/
Expand All @@ -17,7 +16,7 @@ lib/generated_plugin_registrant.dart
# For library packages, don’t commit the pubspec.lock file.
# Regenerating the pubspec.lock file lets you test your package against the latest compatible versions of its dependencies.
# See https://dart.dev/guides/libraries/private-files#pubspeclock
pubspec.lock
/pubspec.lock

# Android related
**/android/**/gradle-wrapper.jar
Expand Down Expand Up @@ -178,4 +177,7 @@ fabric.properties
# https://plugins.jetbrains.com/plugin/8053-azure-toolkit-for-intellij
.idea/**/azureSettings.xml

# End of https://www.toptal.com/developers/gitignore/api/jetbrains,flutter
# End of https://www.toptal.com/developers/gitignore/api/jetbrains,flutter

# FVM Version Cache
.fvm/
5 changes: 5 additions & 0 deletions .idea/.gitignore

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions .idea/.name

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 6 additions & 0 deletions .idea/appInsightsSettings.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

12 changes: 12 additions & 0 deletions .idea/material_theme_project_new.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 10 additions & 0 deletions .idea/misc.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

9 changes: 9 additions & 0 deletions .idea/modules.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

17 changes: 17 additions & 0 deletions .idea/runConfigurations/dart_format.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 6 additions & 0 deletions .idea/runConfigurations/example.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

17 changes: 17 additions & 0 deletions .idea/runConfigurations/flutter_analyze.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading