Skip to content

Conversation

@nan-li
Copy link
Contributor

@nan-li nan-li commented Sep 14, 2023

Description

One Line Summary

A few fixes post 5.0.0-release, includes 1 bug fix.

Details

Motivation

A few fixes post 5.0.0-release, includes 1 bug fix.

1. Remove OutcomeEvent as no longer used

2. Export a few more types through index file

  • PushSubscriptionState
  • PushSubscriptionChangedState
  • InAppMessageClickResult

3. Add the SDK wrapper type

4. Fix permission boolean
The bridge passes a dictionary, not a single boolean. We need to extract the boolean to pass to permission listeners.

Testing

Manual testing

Test on Android emulator 33 and iPhone 13

Affected code checklist

  • Notifications
    • Display
    • Open
    • Push Processing
    • Confirm Deliveries
  • Outcomes
  • Sessions
  • In-App Messaging
  • REST API requests
  • Public API changes

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

nan-li added 4 commits August 21, 2023 15:17
No longer used
* Export:
- `PushSubscriptionState`
- `PushSubscriptionChangedState`
- `InAppMessageClickResult`
The bridge passes a dictionary, not a single boolean. We need to extract the boolean to pass to permission listeners.
@nan-li nan-li force-pushed the post_5.0.0_fixes_branch branch from 3bbf06b to 9069cb8 Compare September 14, 2023 20:36
@nan-li nan-li merged commit e0c6f4b into major_release_5.0.0 Sep 18, 2023
@nan-li nan-li mentioned this pull request Sep 27, 2023
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.

4 participants