Skip to content
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

Add custom notification support #564

Merged
merged 9 commits into from
Dec 11, 2017
Merged

Add custom notification support #564

merged 9 commits into from
Dec 11, 2017

Conversation

danesfeder
Copy link
Contributor

@danesfeder danesfeder commented Dec 4, 2017

Closes #485

  • Because we use a ForegroundService while navigation is running, we must setup a notification for Android O and above (see ANR/Crash on Android 8 when notification is not enabled #485).
  • This means you won't be able to disable the notification, so this PR will allow developers to create their own notification and pass it to our SDK, updating it whenever they chose from their own code.

@danesfeder danesfeder added feature New feature request. ⚠️ DO NOT MERGE PR should not be merged! labels Dec 4, 2017
@danesfeder danesfeder self-assigned this Dec 4, 2017
@ericrwolfe ericrwolfe added this to the v0.8.0 milestone Dec 6, 2017
@danesfeder
Copy link
Contributor Author

Simple custom example added to the test app:

ezgif com-video-to-gif

@danesfeder
Copy link
Contributor Author

Seeing an issue with custom notifications in Android O - still need to investigate

@danesfeder danesfeder added ⚠️ DO NOT MERGE PR should not be merged! and removed ✓ ready for review labels Dec 8, 2017
@danesfeder danesfeder removed the ⚠️ DO NOT MERGE PR should not be merged! label Dec 11, 2017
@danesfeder
Copy link
Contributor Author

Resolved the issue above in f95a016

Custom notifications in Android O will need to either create a custom channel before passing to the SDK or will need to use the channel we create. This will be outlined in the notification docs

@danesfeder danesfeder merged commit b343ac5 into master Dec 11, 2017
@danesfeder danesfeder deleted the dan-custom-notification branch December 11, 2017 15:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature request.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants