mapbox / mapbox/mapbox-plugins-android
The notificationOptions object is not optional as stated in the docs
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 242
- Forks
- 116
- PR merge metrics
- No merged PRs in 30d
Description
That documentation states that the notificationOptions object is optional.
https://www.mapbox.com/android-docs/plugins/overview/offline/#add-the-offline-plugin
When you run the application without notificationOptions, you see:
java.lang.IllegalStateException: Missing required properties: notificationOptions
It should be possible to use the plugin without displaying notifications.
cc @tobrun
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the offline plugin documentation at the linked URL and trace how the notificationOptions value is handled when omitted. Reproduce the reported IllegalStateException, then verify that the plugin can run without displaying notifications and that the documentation matches the resulting behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- mobile
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100