Skip to content

fix: export user.dart to expose OSUserChangedState#1054

Merged
nan-li merged 1 commit intomainfrom
fix/export_user_state
Sep 12, 2025
Merged

fix: export user.dart to expose OSUserChangedState#1054
nan-li merged 1 commit intomainfrom
fix/export_user_state

Conversation

@nan-li
Copy link
Copy Markdown
Contributor

@nan-li nan-li commented Jul 11, 2025

Description

One Line Summary

Export user.dart to expose OSUserChangedState.

Details

Motivation

Scope

Export user.dart

Testing

Unit testing

NA

Manual testing

Reproduced by adding typing of OSUserChangedState to our example app, which errors before changes in this PR.

Affected code checklist

  • Notifications
    • Display
    • Open
    • Push Processing
    • Confirm Deliveries
  • Outcomes
  • Sessions
  • In-App Messaging
  • REST API requests
  • Public API changes - only exposing a type meant to be public

Checklist

Overview

  • I have filled out all REQUIRED sections above
  • PR does one thing
  • Any Public API changes are explained in the PR details and conform to existing APIs

Testing

  • I have included test coverage for these changes, or explained why they are not needed
  • All automated tests pass, or I explained why that is not possible
  • I have personally tested this on my device, or explained why that is not possible

Final pass

  • Code is as readable as possible.
  • I have reviewed this PR myself, ensuring it meets each checklist item

This change is Reviewable

We missed exporting this file
@nan-li nan-li requested a review from fadi-george September 12, 2025 05:27
@nan-li nan-li merged commit ecdb0a3 into main Sep 12, 2025
2 checks passed
@nan-li nan-li deleted the fix/export_user_state branch September 12, 2025 19:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug]: OSUserChangedState is not publicly exported, preventing type-safe use of OneSignal.User.addObserver

2 participants