Skip to content

Rename properties to isSubscribed and isPushDisabled #463

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Aug 20, 2021

Conversation

nan-li
Copy link
Contributor

@nan-li nan-li commented Aug 14, 2021

Renaming Subscription State properties from:

  • subscribed to isSubscribed
  • userSubscriptionSetting to isPushDisabled
  • This was not issue on latest 2.x.x Flutter SDK (2.6.4 at time of writing, using Android SDK 3.16.0) which uses the old key names
  • This is needed because those are used in the JSON sent from the DeviceState after Android SDK 4.x.x

This change is Reviewable

Renaming Subscription State properties from:
- `subscribed` to `isSubscribed`
- `userSubscriptionSetting` to `isPushDisabled`
@emawby emawby requested review from jkasten2 and emawby August 16, 2021 16:17
@emawby
Copy link
Contributor

emawby commented Aug 16, 2021

Tests pass locally for me. I am not sure why Travis is failing to find setMockMethodCallHandler

Copy link
Contributor

@emawby emawby left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reviewed 3 of 4 files at r1, all commit messages.
Reviewable status: 3 of 4 files reviewed, all discussions resolved (waiting on @jkasten2)

Copy link
Member

@jkasten2 jkasten2 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reviewed 4 of 4 files at r1, all commit messages.
Reviewable status: :shipit: complete! all files reviewed, all discussions resolved (waiting on @nan-li)

@nan-li nan-li merged commit bcb7a83 into main Aug 20, 2021
@nan-li nan-li deleted the fix/rename-Subscription-State-properties branch August 20, 2021 20:50
@emawby emawby mentioned this pull request Aug 24, 2021
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.

3 participants