Skip to content

Add new remote params#1076

Merged
Jeasmine merged 4 commits intomajor_release_4.0.0from
feature/remote-params
Aug 4, 2020
Merged

Add new remote params#1076
Jeasmine merged 4 commits intomajor_release_4.0.0from
feature/remote-params

Conversation

@Jeasmine
Copy link
Copy Markdown
Contributor

@Jeasmine Jeasmine commented Jun 25, 2020

  • Add unsubscribeWhenNotificationAreDisable remote param
  • Add disableGMSMissingPrompt remote param
  • Add locationShared remote param
  • Add requiresUserPrivacyConcent remote param
  • Keep public method
  • Add tests for new getters

This change is Reviewable

@Jeasmine Jeasmine force-pushed the feature/remote-params branch from 1c71bdd to e1a2472 Compare June 25, 2020 04:44
@Jeasmine Jeasmine requested review from jkasten2 and mikechoch June 25, 2020 04:49
@Jeasmine Jeasmine force-pushed the feature/remote-params branch from e1a2472 to cbd417a Compare June 25, 2020 04:53
@Jeasmine Jeasmine force-pushed the feature/remote-params branch 4 times, most recently from 54cfba8 to 130a023 Compare July 6, 2020 14:59
Copy link
Copy Markdown
Contributor

@mikechoch mikechoch left a comment

Choose a reason for hiding this comment

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

I think this branch should be rebased to major_release_4.0.0, looks like we are avoiding breaking changes in this PR but there should be breaking changes because we are removing specific variables and methods and replacing them with the remote param methods and defaults.

@Jeasmine Jeasmine force-pushed the feature/remote-params branch from 130a023 to 4066139 Compare July 14, 2020 18:56
@Jeasmine Jeasmine changed the base branch from master to major_release_4.0.0 July 14, 2020 18:57
@Jeasmine Jeasmine force-pushed the feature/remote-params branch from 4066139 to c9eee53 Compare July 16, 2020 17:21
   * Add unsubscribeWhenNotificationAreDisable remote param
   * Add disableGMSMissingPrompt remote param
   * Add locationShared remote param
   * Add requiresUserPrivacyConcent remote param
   * Keep public method
   * Add tests for new getters
@Jeasmine Jeasmine force-pushed the feature/remote-params branch from c9eee53 to 736f3bb Compare July 28, 2020 17:57
Jeasmine added 2 commits July 30, 2020 16:54
   * Move task management to TaskController
   * Delay task until remote params and init is done
   * After task delayed, check again for user consent
   * Fix test, add tests
Comment thread OneSignalSDK/onesignal/src/main/java/com/onesignal/OneSignal.java Outdated
Comment thread OneSignalSDK/unittest/src/test/java/com/test/onesignal/RESTClientRunner.java Outdated
@Jeasmine Jeasmine force-pushed the feature/remote-params branch 2 times, most recently from ac30cb8 to b43e72b Compare August 3, 2020 18:26
Copy link
Copy Markdown
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.

Just one nit on an extra if statement.

Comment thread OneSignalSDK/onesignal/src/main/java/com/onesignal/OneSignal.java
@Jeasmine Jeasmine force-pushed the feature/remote-params branch from b43e72b to e7b5e3f Compare August 4, 2020 16:39
Copy link
Copy Markdown
Contributor

@mikechoch mikechoch left a comment

Choose a reason for hiding this comment

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

LGTM

@Jeasmine Jeasmine merged commit a30020e into major_release_4.0.0 Aug 4, 2020
@Jeasmine Jeasmine deleted the feature/remote-params branch August 4, 2020 18:03
mikechoch pushed a commit that referenced this pull request Aug 13, 2020
* Add new remote params

   * Add unsubscribeWhenNotificationAreDisable remote param
   * Add disableGMSMissingPrompt remote param
   * Add locationShared remote param
   * Add requiresUserPrivacyConcent remote param
   * Keep public method
   * Add tests for new getters

* Add task delay due to requiring consent from remote params

   * Move task management to TaskController
   * Delay task until remote params and init is done
   * After task delayed, check again for user consent
   * Fix test, add tests

* Remove extra check/schedule on pending tasks
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