-
Notifications
You must be signed in to change notification settings - Fork 2
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
Notifications cleanup #3
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great, thanks for documenting comments
@@ -120,6 +124,7 @@ public static void registerSyncChannel(Context context) { | |||
public static NotificationChannel createServiceChannel(CharSequence name) { | |||
NotificationChannel channel = new NotificationChannel(SERVICE_CHANNEL_ID, name, android.app.NotificationManager.IMPORTANCE_LOW); | |||
channel.enableVibration(false); | |||
channel.setShowBadge(false); // avoid badge count due to background service notification |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🎉
Added a new commit to remove the permissions channel since it's not being used. |
How to test: 1- Clone locally https://github.com/Path-Check/react-native-background-geolocation
3- Change this line in https://github.com/Path-Check/covid-safe-paths/blob/develop/package.json to use the local dependency |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tested locally, LGTM!
Part of the solution proposed in this issue Path-Check/safeplaces-dct-app#1276
covid-safe-paths
project, however, we also added the fallback names in this package just in case. These names are generic and not project specific.