Skip to content

Ignore the warning message when 'start' method is called from the 'enablePushNotifications' method #114

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 4 commits into from
May 28, 2019

Conversation

lukabratos
Copy link
Contributor

What?

Do not print the warning message when the start method is called from Chatkit.

Why?

Chatkit customers can enable push notifications whenever it makes the most sense in their application flow. This means that there will be cases where enablePushNotifications method will not be called in the AppDelegate.


CC @pusher/mobile

@lukabratos lukabratos requested a review from luismfonseca May 28, 2019 13:11
@codecov-io
Copy link

codecov-io commented May 28, 2019

Codecov Report

Merging #114 into master will not change coverage.
The diff coverage is 100%.

Impacted file tree graph

@@           Coverage Diff           @@
##           master     #114   +/-   ##
=======================================
  Coverage   91.84%   91.84%           
=======================================
  Files          49       49           
  Lines        2439     2439           
=======================================
  Hits         2240     2240           
  Misses        199      199
Impacted Files Coverage Δ
Tests/SDKTests.swift 100% <100%> (ø) ⬆️
Sources/PushNotifications.swift 85.35% <100%> (ø) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update c827c46...7a3ae7c. Read the comment docs.

Copy link
Contributor

@luismfonseca luismfonseca left a comment

Choose a reason for hiding this comment

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

Make sense. I'd do those small tweaks in the Changelog to make it a bit more descriptive.

lukabratos and others added 2 commits May 28, 2019 14:23
Co-Authored-By: Luís Fonseca <ei10139@fe.up.pt>
Co-Authored-By: Luís Fonseca <ei10139@fe.up.pt>
@lukabratos lukabratos merged commit 81016d9 into master May 28, 2019
@lukabratos lukabratos deleted the add-additional-method branch May 28, 2019 13:45
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