Skip to content

chore: Log when OneSignalInAppMessages module is missing#1690

Merged
nan-li merged 1 commit into
mainfrom
debug_log_no_iam
Jul 21, 2026
Merged

chore: Log when OneSignalInAppMessages module is missing#1690
nan-li merged 1 commit into
mainfrom
debug_log_no_iam

Conversation

@nan-li

@nan-li nan-li commented Jul 20, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Add a DEBUG log in startInAppMessages when the optional IAM module is not linked, instead of failing silently.
  • We already surface ERROR logs only when someone uses the OneSignal.InAppMessages API

Manual test

  • App without OneSignalInAppMessages: confirm DEBUG log appears at init
  • App with OneSignalInAppMessages: confirm no log and IAM still starts normally

Made with Cursor

Surfaces a DEBUG message during startInAppMessages so apps that omit
the optional IAM module get a clear signal instead of a silent no-op.
@nan-li
nan-li requested review from a team, fadi-george and sherwinski July 20, 2026 23:31
@nan-li
nan-li merged commit 64fd7b5 into main Jul 21, 2026
1 of 2 checks passed
@nan-li
nan-li deleted the debug_log_no_iam branch July 21, 2026 00: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.

2 participants